/external/pdfium/fpdfsdk/include/formfiller/ |
FFL_IFormFiller.h | 90 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget); 91 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget); 92 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget); 96 void OnKeyStrokeCommit(CPDFSDK_Widget* pWidget, 101 void OnValidate(CPDFSDK_Widget* pWidget, 107 void OnCalculate(CPDFSDK_Widget* pWidget, 111 void OnFormat(CPDFSDK_Widget* pWidget, 115 void OnButtonUp(CPDFSDK_Widget* pWidget, 121 void OnClick(CPDFSDK_Widget* pWidget, 126 void OnFull(CPDFSDK_Widget* pWidget, [all...] |
/external/pdfium/xfa/src/fxfa/src/app/ |
xfa_rendercontext.cpp | 53 CXFA_FFWidget* pWidget = (CXFA_FFWidget*)m_pWidget;
55 pWidget->GetBBox(rtWidgetBox, XFA_WIDGETSTATUS_Visible);
59 pWidget->RenderWidget(m_pGS, &m_matrix, m_dwStatus);
|
xfa_ffpageview.cpp | 65 CXFA_FFWidget* pWidget = nullptr;
66 while ((pWidget = static_cast<CXFA_FFWidget*>(pIterator->MoveToNext()))) {
67 if (!(pWidget->GetStatus() & XFA_WIDGETSTATUS_Visible)) {
70 CXFA_WidgetAcc* pAcc = pWidget->GetDataAcc();
77 pWidget->Rotate2Normal(fWidgetx, fWidgety);
78 FX_DWORD dwFlag = pWidget->OnHitTest(fWidgetx, fWidgety);
85 return pWidget;
98 static FX_BOOL XFA_PageWidgetFilter(CXFA_FFWidget* pWidget,
102 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetDataAcc();
108 FX_DWORD dwStatus = pWidget->GetStatus(); [all...] |
xfa_ffbarcode.cpp | 27 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
28 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
30 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
|
xfa_ffpushbutton.cpp | 57 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
58 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
60 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
|
xfa_fwltheme.cpp | 12 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
13 IFWL_Widget* pOuter = pWidget;
91 FX_BOOL CXFA_FWLTheme::IsValidWidget(IFWL_Widget* pWidget) {
94 FX_DWORD CXFA_FWLTheme::GetThemeID(IFWL_Widget* pWidget) {
97 FX_DWORD CXFA_FWLTheme::SetThemeID(IFWL_Widget* pWidget,
110 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget);
111 if (!pWidget) {
147 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget);
148 if (!pWidget) {
151 CXFA_WidgetAcc* pAcc = pWidget->GetDataAcc(); [all...] |
xfa_ffcheckbutton.cpp | 27 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
28 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
30 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
|
xfa_ffimageedit.cpp | 27 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
28 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
30 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
|
xfa_ffchoicelist.cpp | 21 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
23 pNoteDriver->UnregisterEventTarget(pWidget);
32 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
33 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
35 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
143 void CXFA_FFListBox::OnSelectChanged(IFWL_Widget* pWidget,
238 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
239 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
241 pNoteDriver->RegisterEventTarget(pWidget, pWidget); [all...] |
xfa_ffnotify.cpp | 86 CXFA_FFWidget* pWidget = pWidgetAcc->GetNextWidget(NULL);
87 if (!pWidget) {
90 pWidget, pWidgetAcc, XFA_WIDGETEVENT_ListItemAdded, pParam,
95 while (pWidget) {
96 if (pWidget->IsLoaded()) {
98 static_cast<CXFA_FFListBox*>(pWidget)
102 static_cast<CXFA_FFComboBox*>(pWidget)
109 pWidget, pWidgetAcc, XFA_WIDGETEVENT_ListItemAdded, pParam,
112 pWidget = pWidgetAcc->GetNextWidget(pWidget);
[all...] |
xfa_fftextedit.cpp | 23 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
25 pNoteDriver->UnregisterEventTarget(pWidget);
32 IFWL_Widget* pWidget = m_pNormalWidget->GetWidget();
33 m_pNormalWidget->SetPrivateData(pWidget, this, NULL);
35 pNoteDriver->RegisterEventTarget(pWidget, pWidget);
46 CFWL_Edit* pWidget = (CFWL_Edit*)m_pNormalWidget;
47 if (!pWidget) {
77 pWidget->SetLimit(iMaxChars > 0 ? iMaxChars : 1);
80 pWidget->SetLimit(iNumCells); [all...] |
xfa_ffwidgethandler.cpp | 394 CXFA_Node* pWidget = pUi->GetFirstChildByClass(XFA_ELEMENT_CheckButton);
395 pWidget->SetEnum(XFA_ATTRIBUTE_Shape, XFA_ATTRIBUTEENUM_Round);
|
/external/pdfium/fpdfsdk/src/formfiller/ |
FFL_CheckBox.cpp | 14 CFFL_CheckBox::CFFL_CheckBox(CPDFDoc_Environment* pApp, CPDFSDK_Widget* pWidget) 15 : CFFL_Button(pApp, pWidget) {} 81 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 82 pWnd->SetCheck(!pWidget->IsChecked());
|
FFL_IFormFiller.cpp | 60 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 62 if (IsVisible(pWidget)) { 97 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); 99 if (!IsReadOnly(pWidget) && IsFillingAllowed(pWidget)) 100 pWidget->DrawShadow(pDevice, pPageView); 130 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 131 if (pWidget->GetAAction(CPDF_AAction::CursorEnter)) { 134 int nValueAge = pWidget->GetValueAge(); 136 pWidget->ClearAppModified() [all...] |
FFL_FormFiller.cpp | 88 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 89 if (CFFL_IFormFiller::IsVisible(pWidget)) 90 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); 99 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 100 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); 248 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 249 UnderlyingPageType* pPage = pWidget->GetUnderlyingPage(); 378 pPrivateData->pWidget = m_pWidget; 628 CFFL_Button::CFFL_Button(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget) 629 : CFFL_FormFiller(pApp, pWidget), m_bMouseIn(FALSE), m_bMouseDown(FALSE) { [all...] |
/external/pdfium/xfa/src/fwl/src/core/include/ |
fwl_widgetmgrimp.h | 24 pWidget(NULL),
44 IFWL_Widget* pWidget;
60 IFWL_Widget* GetWidget(IFWL_Widget* pWidget,
62 int32_t GetWidgetIndex(IFWL_Widget* pWidget) override;
63 FX_BOOL SetWidgetIndex(IFWL_Widget* pWidget, int32_t nIndex) override;
64 FWL_ERR RepaintWidget(IFWL_Widget* pWidget,
68 void AddWidget(IFWL_Widget* pWidget);
72 void RemoveWidget(IFWL_Widget* pWidget);
76 FWL_ERR CreateWidget_Native(IFWL_Widget* pWidget);
77 FWL_ERR DestroyWidget_Native(IFWL_Widget* pWidget);
[all...] |
/external/pdfium/fpdfsdk/src/ |
fsdk_annothandler.cpp | 401 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot; 402 if (!pWidget->IsVisible()) 405 int nFieldFlags = pWidget->GetFieldFlags(); 409 if (pWidget->GetFieldType() == FIELDTYPE_PUSHBUTTON) 412 CPDF_Page* pPage = pWidget->GetPDFPage(); 428 CPDFSDK_Widget* pWidget = new CPDFSDK_Widget(pAnnot, pPage, pInterForm); 429 pInterForm->AddMap(pCtrl, pWidget); 432 pWidget->ResetAppearance(nullptr, FALSE); 434 return pWidget; 450 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot [all...] |
fsdk_mgr.cpp | 581 CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pFocusAnnot; 582 int nFieldType = pWidget->GetFieldType(); [all...] |
fsdk_baseform.cpp | [all...] |
/external/pdfium/xfa/src/fwl/src/core/ |
fwl_gridimp.cpp | 68 int32_t IFWL_Grid::GetWidgetPos(IFWL_Widget* pWidget, FX_BOOL bColumn) {
69 return static_cast<CFWL_GridImp*>(GetImpl())->GetWidgetPos(pWidget, bColumn);
71 FWL_ERR IFWL_Grid::SetWidgetPos(IFWL_Widget* pWidget,
75 ->SetWidgetPos(pWidget, iPos, bColumn);
77 int32_t IFWL_Grid::GetWidgetSpan(IFWL_Widget* pWidget, FX_BOOL bColumn) {
78 return static_cast<CFWL_GridImp*>(GetImpl())->GetWidgetSpan(pWidget, bColumn);
80 FWL_ERR IFWL_Grid::SetWidgetSpan(IFWL_Widget* pWidget,
84 ->SetWidgetSpan(pWidget, iSpan, bColumn);
86 FX_FLOAT IFWL_Grid::GetWidgetSize(IFWL_Widget* pWidget,
90 ->GetWidgetSize(pWidget, eSize, eUnit); [all...] |
fwl_noteimp.cpp | 238 IFWL_Widget* pWidget =
241 pWidget ? static_cast<CFWL_FormImp*>(pWidget->GetImpl()) : nullptr;
561 IFWL_Widget* pWidget = pMsg->m_pDstTarget;
563 pWidget ? static_cast<CFWL_FormImp*>(pWidget->GetImpl()) : nullptr;
586 IFWL_Widget* pWidget = pMsg->m_pDstTarget;
588 pWidget ? static_cast<CFWL_FormImp*>(pWidget->GetImpl()) : nullptr;
803 FWL_ERR GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption); [all...] |
fwl_widgetmgrimp.cpp | 14 FX_BOOL FWL_UseOffscreen(IFWL_Widget* pWidget) {
18 return pWidget->GetStyles() & FWL_WGTSTYLE_Offscreen;
48 void* pWidget;
50 m_mapWidgetItem.GetNextAssoc(ps, pWidget, (void*&)pItem);
65 IFWL_Widget* pWidget = NULL;
66 TravelWidgetMgr(pParentItem, &nIndex, NULL, &pWidget);
67 return pWidget;
69 IFWL_Widget* CFWL_WidgetMgr::GetWidget(IFWL_Widget* pWidget,
71 CFWL_WidgetMgrItem* pItem = GetWidgetMgrItem(pWidget);
78 pRet = pItem->pParent ? pItem->pParent->pWidget : NULL; [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
Field.cpp | 216 for (CPDFSDK_Widget* pWidget : widgets) { 218 CFX_WideString sValue = pWidget->OnFormat(bFormatted); 219 pWidget->ResetAppearance(bFormatted ? sValue.c_str() : nullptr, FALSE); 222 for (CPDFSDK_Widget* pWidget : widgets) { 223 pWidget->ResetAppearance(nullptr, FALSE); 229 for (CPDFSDK_Widget* pWidget : widgets) { 230 CPDFSDK_Document* pDoc = pWidget->GetInterForm()->GetDocument(); 231 pDoc->UpdateAllViews(nullptr, pWidget); 247 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); 249 if (pWidget) { [all...] |