Home
last modified time | relevance | path

Searched refs:pAcc (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/xfa/fxfa/app/
Dxfa_ffnotify.cpp98 CXFA_WidgetAcc* pAcc = static_cast<CXFA_WidgetAcc*>(pNode->GetWidgetData()); in OnCreateLayoutItem() local
99 if (!pAcc) in OnCreateLayoutItem()
103 switch (pAcc->GetUIType()) { in OnCreateLayoutItem()
105 pWidget = new CXFA_FFBarcode(pAcc); in OnCreateLayoutItem()
108 pWidget = new CXFA_FFPushButton(pAcc); in OnCreateLayoutItem()
111 pWidget = new CXFA_FFCheckButton(pAcc); in OnCreateLayoutItem()
114 if (pAcc->IsListBox()) { in OnCreateLayoutItem()
115 pWidget = new CXFA_FFListBox(pAcc); in OnCreateLayoutItem()
117 pWidget = new CXFA_FFComboBox(pAcc); in OnCreateLayoutItem()
121 pWidget = new CXFA_FFDateTimeEdit(pAcc); in OnCreateLayoutItem()
[all …]
Dxfa_ffbarcode.cpp175 CXFA_WidgetAcc* pAcc = GetDataAcc(); in UpdateWidgetProperty() local
180 if (pAcc->GetBarcodeAttribute_CharEncoding(intVal)) { in UpdateWidgetProperty()
183 if (pAcc->GetBarcodeAttribute_Checksum(boolVal)) { in UpdateWidgetProperty()
186 if (pAcc->GetBarcodeAttribute_DataLength(intVal)) { in UpdateWidgetProperty()
189 if (pAcc->GetBarcodeAttribute_StartChar(charVal)) { in UpdateWidgetProperty()
192 if (pAcc->GetBarcodeAttribute_EndChar(charVal)) { in UpdateWidgetProperty()
195 if (pAcc->GetBarcodeAttribute_ECLevel(intVal)) { in UpdateWidgetProperty()
198 if (pAcc->GetBarcodeAttribute_ModuleWidth(intVal)) { in UpdateWidgetProperty()
201 if (pAcc->GetBarcodeAttribute_ModuleHeight(intVal)) { in UpdateWidgetProperty()
204 if (pAcc->GetBarcodeAttribute_PrintChecksum(boolVal)) { in UpdateWidgetProperty()
[all …]
Dxfa_fwltheme.cpp128 CXFA_WidgetAcc* pAcc = pWidget->GetDataAcc(); in DrawText() local
137 m_pTextOut->SetFont(pAcc->GetFDEFont()); in DrawText()
138 m_pTextOut->SetFontSize(pAcc->GetFontSize()); in DrawText()
139 m_pTextOut->SetTextColor(pAcc->GetTextColor()); in DrawText()
244 CXFA_WidgetAcc* pAcc = pWidget->GetDataAcc(); in CalcTextRect() local
245 m_pTextOut->SetFont(pAcc->GetFDEFont()); in CalcTextRect()
246 m_pTextOut->SetFontSize(pAcc->GetFontSize()); in CalcTextRect()
247 m_pTextOut->SetTextColor(pAcc->GetTextColor()); in CalcTextRect()
Dxfa_ffdocview.cpp244 while (CXFA_WidgetAcc* pAcc = Iterator.MoveToNext()) { in ResetWidgetData() local
245 bChanged |= ResetSingleWidgetAccData(pAcc); in ResetWidgetData()
246 if (pAcc->GetNode()->GetElementType() == XFA_Element::ExclGroup) { in ResetWidgetData()
489 CXFA_WidgetAcc* pAcc = GetWidgetAccByName(wsName, pRefAcc); in GetWidgetByName() local
490 return pAcc ? pAcc->GetNextWidget(nullptr) : nullptr; in GetWidgetByName()
707 for (CXFA_WidgetAcc* pAcc : m_ValidateAccs) { in RunValidate()
708 if (!pAcc->GetNode()->HasRemovedChildren()) in RunValidate()
709 pAcc->ProcessValidate(); in RunValidate()
731 CXFA_WidgetAcc* pAcc = in RunBindItems() local
733 if (!pAcc) in RunBindItems()
[all …]
Dxfa_fffield.cpp612 CXFA_WidgetAcc* pAcc = m_pDataAcc->GetExclGroup(); in CalculateOverride() local
613 if (!pAcc) { in CalculateOverride()
616 if (CalculateWidgetAcc(pAcc) == 0) { in CalculateOverride()
619 CXFA_Node* pNode = pAcc->GetExclGroupFirstMember(); in CalculateOverride()
636 int32_t CXFA_FFField::CalculateWidgetAcc(CXFA_WidgetAcc* pAcc) { in CalculateWidgetAcc() argument
637 CXFA_Calculate calc = pAcc->GetCalculate(); in CalculateWidgetAcc()
641 XFA_VERSION version = pAcc->GetDoc()->GetXFADoc()->GetCurVersionMode(); in CalculateWidgetAcc()
669 if (pAcc->GetNode()->IsUserInteractive()) in CalculateWidgetAcc()
682 pAcc->GetNode()->SetFlag(XFA_NodeFlag_UserInteractive, false); in CalculateWidgetAcc()
691 pAcc->GetNode()->SetFlag(XFA_NodeFlag_UserInteractive, false); in CalculateWidgetAcc()
Dxfa_ffwidgetacc.cpp59 void LoadText(CXFA_WidgetAcc* pAcc) { in LoadText() argument
64 pdfium::MakeUnique<CXFA_TextProvider>(pAcc, XFA_TEXTPROVIDERTYPE_Text); in LoadText()
86 bool LoadImageData(CXFA_WidgetAcc* pAcc) { in LoadImageData() argument
90 CXFA_Value value = pAcc->GetFormValue(); in LoadImageData()
98 CXFA_FFDoc* pFFDoc = pAcc->GetDoc(); in LoadImageData()
99 pAcc->SetImageImage(XFA_LoadImageData(pFFDoc, &imageObj, m_bNamedImage, in LoadImageData()
115 bool LoadCaption(CXFA_WidgetAcc* pAcc) { in LoadCaption() argument
118 CXFA_Caption caption = pAcc->GetCaption(); in LoadCaption()
122 new CXFA_TextProvider(pAcc, XFA_TEXTPROVIDERTYPE_Caption)); in LoadCaption()
151 bool LoadImageData(CXFA_WidgetAcc* pAcc) { in LoadImageData() argument
[all …]
Dxfa_fftextedit.cpp187 CXFA_WidgetAcc* pAcc = GetDataAcc(); in ValidateNumberField() local
188 if (pAcc && pAcc->GetUIType() == XFA_Element::NumericEdit) { in ValidateNumberField()
192 pAcc->GetNode()->GetSOMExpression(wsSomField); in ValidateNumberField()
Dxfa_fffield.h73 int32_t CalculateWidgetAcc(CXFA_WidgetAcc* pAcc);
Dxfa_ffpageview.cpp298 CXFA_WidgetAcc* pAcc = pWidget->GetDataAcc(); in GetTraverseWidget() local
299 CXFA_Node* pTraversal = pAcc->GetNode()->GetChild(0, XFA_Element::Traversal); in GetTraverseWidget()
/external/pdfium/fpdfsdk/
Dcpdfsdk_widget.cpp208 CXFA_WidgetAcc* pAcc; in HasXFAAAction() local
212 pAcc = hGroupWidget->GetDataAcc(); in HasXFAAAction()
213 if (pXFAWidgetHandler->HasEvent(pAcc, eEventType)) in HasXFAAAction()
218 pAcc = hWidget->GetDataAcc(); in HasXFAAAction()
219 return pXFAWidgetHandler->HasEvent(pAcc, eEventType); in HasXFAAAction()
260 CXFA_WidgetAcc* pAcc = hGroupWidget->GetDataAcc(); in OnXFAAAction() local
261 param.m_pTarget = pAcc; in OnXFAAAction()
262 if (pXFAWidgetHandler->ProcessEvent(pAcc, &param) != in OnXFAAAction()
268 CXFA_WidgetAcc* pAcc = hWidget->GetDataAcc(); in OnXFAAAction() local
269 param.m_pTarget = pAcc; in OnXFAAAction()
[all …]
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp500 std::unique_ptr<CPDF_StreamAcc> pAcc(new CPDF_StreamAcc); in ExportData() local
501 pAcc->LoadAllData(pStream); in ExportData()
502 fileWrite->WriteBlock(pAcc->GetData(), fileWrite->GetSize(), in ExportData()
503 pAcc->GetSize()); in ExportData()