Lines Matching refs:pWidget
255 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)widgets.GetAt(i); in UpdateFormField() local
256 ASSERT(pWidget != NULL); in UpdateFormField()
259 CFX_WideString sValue = pWidget->OnFormat(0, bFormated); in UpdateFormField()
261 pWidget->ResetAppearance(sValue.c_str(), FALSE); in UpdateFormField()
263 pWidget->ResetAppearance(NULL, FALSE); in UpdateFormField()
270 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)widgets.GetAt(i); in UpdateFormField() local
271 ASSERT(pWidget != NULL); in UpdateFormField()
273 pWidget->ResetAppearance(NULL, FALSE); in UpdateFormField()
282 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)widgets.GetAt(i); in UpdateFormField() local
283 ASSERT(pWidget != NULL); in UpdateFormField()
285 CPDFSDK_InterForm * pInterForm = pWidget->GetInterForm(); in UpdateFormField()
289 pDoc->UpdateAllViews(NULL, pWidget); in UpdateFormField()
306 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); in UpdateFormControl() local
308 if (pWidget) in UpdateFormControl()
312 int nFieldType = pWidget->GetFieldType(); in UpdateFormControl()
316 CFX_WideString sValue = pWidget->OnFormat(0, bFormated); in UpdateFormControl()
318 pWidget->ResetAppearance(sValue.c_str(), FALSE); in UpdateFormControl()
320 pWidget->ResetAppearance(NULL, FALSE); in UpdateFormControl()
324 pWidget->ResetAppearance(NULL, FALSE); in UpdateFormControl()
330 CPDFSDK_InterForm * pInterForm = pWidget->GetInterForm(); in UpdateFormControl()
333 pDoc->UpdateAllViews(NULL, pWidget); in UpdateFormControl()
468 CPDFSDK_Widget* pWidget = GetWidget(m_pDocument, GetSmartFieldControl(pFormField)); in borderStyle() local
469 if (!pWidget) return FALSE; in borderStyle()
471 int nBorderstyle = pWidget->GetBorderStyle(); in borderStyle()
531 if (CPDFSDK_Widget* pWidget = GetWidget(pDocument, pFormField->GetControl(j))) in SetBorderStyle() local
533 if (pWidget->GetBorderStyle() != nBorderStyle) in SetBorderStyle()
535 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
547 if (CPDFSDK_Widget* pWidget = GetWidget(pDocument, pFormControl)) in SetBorderStyle() local
549 if (pWidget->GetBorderStyle() != nBorderStyle) in SetBorderStyle()
551 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
1361 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in display() local
1362 if (!pWidget)return FALSE; in display()
1364 FX_DWORD dwFlag = pWidget->GetFlags(); in display()
1416 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetDisplay() local
1418 FX_DWORD dwFlag = pWidget->GetFlags(); in SetDisplay()
1445 if (dwFlag != pWidget->GetFlags()) in SetDisplay()
1447 pWidget->SetFlags(dwFlag); in SetDisplay()
1460 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetDisplay() local
1463 FX_DWORD dwFlag = pWidget->GetFlags(); in SetDisplay()
1489 if (dwFlag != pWidget->GetFlags()) in SetDisplay()
1491 pWidget->SetFlags(dwFlag); in SetDisplay()
1732 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in hidden() local
1733 if (!pWidget) return FALSE; in hidden()
1735 FX_DWORD dwFlags = pWidget->GetFlags(); in hidden()
1768 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormField->GetControl(j))) in SetHidden() local
1770 FX_DWORD dwFlags = pWidget->GetFlags(); in SetHidden()
1786 if (dwFlags != pWidget->GetFlags()) in SetHidden()
1788 pWidget->SetFlags(dwFlags); in SetHidden()
1802 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetHidden() local
1804 FX_DWORD dwFlags = pWidget->GetFlags(); in SetHidden()
1820 if (dwFlags != pWidget->GetFlags()) in SetHidden()
1822 pWidget->SetFlags(dwFlags); in SetHidden()
1932 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in lineWidth() local
1933 if (!pWidget) return FALSE; in lineWidth()
1935 vp << (FX_INT32)pWidget->GetBorderWidth(); in lineWidth()
1964 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetLineWidth() local
1966 if (number != pWidget->GetBorderWidth()) in SetLineWidth()
1968 pWidget->SetBorderWidth(number); in SetLineWidth()
1980 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetLineWidth() local
1982 if (number != pWidget->GetBorderWidth()) in SetLineWidth()
1984 pWidget->SetBorderWidth(number); in SetLineWidth()
2143 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)widgetArray.GetAt(i); in page() local
2144 ASSERT(pWidget != NULL); in page()
2146 CPDFSDK_PageView* pPageView = pWidget->GetPageView(); in page()
2237 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormField->GetControl(j))) in print() local
2239 FX_DWORD dwFlags = pWidget->GetFlags(); in print()
2245 if (dwFlags != pWidget->GetFlags()) in print()
2247 pWidget->SetFlags(dwFlags); in print()
2261 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in print() local
2263 FX_DWORD dwFlags = pWidget->GetFlags(); in print()
2269 if (dwFlags != pWidget->GetFlags()) in print()
2271 pWidget->SetFlags(dwFlags); in print()
2284 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in print() local
2285 if (!pWidget) return FALSE; in print()
2287 if (pWidget->GetFlags() & ANNOTFLAG_PRINT) in print()
2405 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in rect() local
2406 if (!pWidget) return FALSE; in rect()
2408 CFX_FloatRect crRect = pWidget->GetRect(); in rect()
2450 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetRect() local
2454 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
2464 CPDF_Rect rcOld = pWidget->GetRect(); in SetRect()
2470 pWidget->SetRect(crRect); in SetRect()
2484 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) in SetRect() local
2488 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
2498 CPDF_Rect rcOld = pWidget->GetRect(); in SetRect()
2504 pWidget->SetRect(crRect); in SetRect()
3801 CPDFSDK_Widget* pWidget = NULL; in setFocus() local
3804 pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in setFocus()
3821 pWidget = pTempWidget; in setFocus()
3829 if (pWidget) in setFocus()
3831 m_pDocument->SetFocusAnnot(pWidget); in setFocus()