Home
last modified time | relevance | path

Searched refs:pWidget (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/fpdfsdk/src/formfiller/
DFFL_IFormFiller.cpp81 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDraw() local
83 if (IsVisible(pWidget)) in OnDraw()
130 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); in OnDraw()
132 if (!IsReadOnly(pWidget) && IsFillingAllowed(pWidget)) in OnDraw()
134 pWidget->DrawShadow(pDevice, pPageView); in OnDraw()
173 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnMouseEnter() local
174 if (pWidget->GetAAction(CPDF_AAction::CursorEnter)) in OnMouseEnter()
178 int nValueAge = pWidget->GetValueAge(); in OnMouseEnter()
180 pWidget->ClearAppModified(); in OnMouseEnter()
189 pWidget->OnAAction(CPDF_AAction::CursorEnter, fa, pPageView ); in OnMouseEnter()
[all …]
DFFL_FormFiller.cpp107 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDraw() local
108 if (CFFL_IFormFiller::IsVisible(pWidget)) in OnDraw()
109 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); in OnDraw()
119 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnDrawDeactive() local
121 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); in OnDrawDeactive()
293 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnSetFocus() local
295 CPDF_Page * pPage = pWidget->GetPDFPage(); in OnSetFocus()
458 pPrivateData->pWidget = m_pWidget; in GetPDFWindow()
812 CFFL_Button::CFFL_Button(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget) : in CFFL_Button() argument
813 CFFL_FormFiller(pApp, pWidget), in CFFL_Button()
[all …]
DFFL_CheckBox.cpp14 CFFL_CheckBox::CFFL_CheckBox(CPDFDoc_Environment* pApp, CPDFSDK_Widget* pWidget) : in CFFL_CheckBox() argument
15 CFFL_Button(pApp, pWidget) in CFFL_CheckBox()
87 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in OnLButtonUp() local
88 pWnd->SetCheck(!pWidget->IsChecked()); in OnLButtonUp()
DFFL_RadioButton.cpp14 CFFL_RadioButton::CFFL_RadioButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget) : in CFFL_RadioButton() argument
15 CFFL_Button(pApp, pWidget) in CFFL_RadioButton()
DFFL_ListBox.cpp21 CFFL_ListBox::CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget) : in CFFL_ListBox() argument
22 CFFL_FormFiller(pApp, pWidget), in CFFL_ListBox()
/external/pdfium/fpdfsdk/include/formfiller/
DFFL_IFormFiller.h100 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget);
101 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget);
102 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget);
105 …void OnKeyStrokeCommit(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bRC, FX…
106 …void OnValidate(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bRC, FX_BOOL& …
108 …void OnCalculate(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bExit, FX_DWO…
109 …void OnFormat(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bExit, FX_DWORD …
110 …void OnButtonUp(CPDFSDK_Widget* pWidget, CPDFSDK_PageView* pPageView, FX_BOOL& bReset, FX_BOO…
127 void SetFocusAnnotTab(CPDFSDK_Annot* pWidget, FX_BOOL bSameField, FX_BOOL bNext);
138 CPDFSDK_Widget* pWidget;
DFFL_CheckBox.h15 CFFL_CheckBox(CPDFDoc_Environment* pApp, CPDFSDK_Widget* pWidget);
DFFL_ListBox.h17 CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget);
DFFL_ComboBox.h27 CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget);
DFFL_FormFiller.h156 CFFL_Button(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget);
/external/pdfium/fpdfsdk/src/javascript/
DField.cpp255 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()
[all …]
DDocument.cpp538 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)widgets[i]; in removeField() local
539 ASSERT(pWidget != NULL); in removeField()
541 CPDF_Rect rcAnnot = pWidget->GetRect(); in removeField()
550 CPDF_Page* pPage = pWidget->GetPDFPage(); in removeField()
554 pPageView->DeleteAnnot(pWidget); in removeField()
/external/pdfium/fpdfsdk/src/
Dfsdk_annothandler.cpp369 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; in CanAnswer() local
370 if (!pWidget->IsVisible()) return FALSE; in CanAnswer()
372 int nFieldFlags = pWidget->GetFieldFlags(); in CanAnswer()
374 if (pWidget->GetFieldType() == FIELDTYPE_PUSHBUTTON) in CanAnswer()
378 CPDF_Page* pPage = pWidget->GetPDFPage(); in CanAnswer()
404 CPDFSDK_Widget* pWidget = NULL; in NewAnnot() local
407 pWidget = new CPDFSDK_Widget(pAnnot, pPage, pInterForm); in NewAnnot()
408 pInterForm->AddMap(pCtrl, pWidget); in NewAnnot()
411 pWidget->ResetAppearance(NULL,FALSE); in NewAnnot()
414 return pWidget; in NewAnnot()
[all …]
Dfsdk_baseform.cpp1729 CPDFSDK_Widget* CPDFSDK_InterForm::GetSibling(CPDFSDK_Widget* pWidget, FX_BOOL bNext) const in GetSibling() argument
1732 new CBA_AnnotIterator(pWidget->GetPageView(), "Widget", "")); in GetSibling()
1735 return (CPDFSDK_Widget*)pIterator->GetNextAnnot(pWidget); in GetSibling()
1737 return (CPDFSDK_Widget*)pIterator->GetPrevAnnot(pWidget); in GetSibling()
1744 CPDFSDK_Widget* pWidget = NULL; in GetWidget() local
1745 m_Map.Lookup(pControl, pWidget); in GetWidget()
1747 if (pWidget) return pWidget; in GetWidget()
1803 CPDFSDK_Widget* pWidget = GetWidget(pFormCtrl); in GetWidgets() local
1805 if (pWidget) in GetWidgets()
1806 widgets.Add(pWidget); in GetWidgets()
[all …]
Dfsdk_mgr.cpp551 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pFocusAnnot; in KillFocusAnnot() local
552 int nFieldType = pWidget->GetFieldType(); in KillFocusAnnot()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseform.h183 CPDFSDK_Widget* GetSibling(CPDFSDK_Widget* pWidget, FX_BOOL bNext) const;
188 void AddMap(CPDF_FormControl* pControl, CPDFSDK_Widget* pWidget);
Dfsdk_mgr.h465 void PageView_OnHighlightFormFields(CFX_RenderDevice* pDevice, CPDFSDK_Widget* pWidget);