Home
last modified time | relevance | path

Searched refs:GetWidgetAcc (Results 1 – 25 of 37) sorted by relevance

12

/external/pdfium/xfa/fxfa/
Dcxfa_ffcombobox.cpp55 for (const auto& label : m_pNode->GetWidgetAcc()->GetChoiceListItems(false)) in LoadWidget()
58 std::vector<int32_t> iSelArray = m_pNode->GetWidgetAcc()->GetSelectedItems(); in LoadWidget()
61 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw)); in LoadWidget()
79 if (m_pNode->GetWidgetAcc()->IsChoiceListAllowTextEntry()) { in UpdateWidgetProperty()
90 if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty()
117 return m_pNode->GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Raw, m_wsNewValue); in CommitData()
127 wsText = m_pNode->GetWidgetAcc() in IsDataChanged()
131 if (m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw) == wsText) in IsDataChanged()
140 pParam->m_pTarget = m_pNode->GetWidgetAcc(); in FWLEventSelChange()
190 std::vector<int32_t> iSelArray = m_pNode->GetWidgetAcc()->GetSelectedItems(); in UpdateFWLData()
[all …]
Dcxfa_ffcheckbutton.cpp43 if (m_pNode->GetWidgetAcc()->IsRadioButton()) in LoadWidget()
48 SetFWLCheckState(m_pNode->GetWidgetAcc()->GetCheckState()); in LoadWidget()
58 pCheckBox->SetBoxSize(m_pNode->GetWidgetAcc()->GetCheckButtonSize()); in UpdateWidgetProperty()
60 switch (m_pNode->GetWidgetAcc()->GetCheckButtonMark()) { in UpdateWidgetProperty()
79 if (m_pNode->GetWidgetAcc()->IsCheckButtonRound()) in UpdateWidgetProperty()
83 if (m_pNode->GetWidgetAcc()->IsAllowNeutral()) in UpdateWidgetProperty()
93 float fCheckSize = m_pNode->GetWidgetAcc()->GetCheckButtonSize(); in PerformLayout()
176 CXFA_Border* borderUI = m_pNode->GetWidgetAcc()->GetUIBorder(); in PerformLayout()
204 CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in AddUIMargin()
237 DrawBorderWithFlag(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, in RenderWidget()
[all …]
Dcxfa_fftextedit.cpp61 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget()
75 if (m_pNode->GetWidgetAcc()->IsMultiLine()) { in UpdateWidgetProperty()
77 if (!m_pNode->GetWidgetAcc()->IsVerticalScrollPolicyOff()) { in UpdateWidgetProperty()
81 } else if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) { in UpdateWidgetProperty()
91 std::tie(eType, iMaxChars) = m_pNode->GetWidgetAcc()->GetMaxChars(); in UpdateWidgetProperty()
95 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty()
187 if (m_pNode->GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Edit, wsText)) { in CommitData()
188 m_pNode->GetWidgetAcc()->UpdateUIDisplay(GetDoc()->GetDocView(), this); in CommitData()
196 CXFA_WidgetAcc* pAcc = GetNode()->GetWidgetAcc(); in ValidateNumberField()
263 if (m_pNode->GetWidgetAcc()->GetUIType() == XFA_Element::TextEdit && in UpdateFWLData()
[all …]
Dcxfa_ffdatetimeedit.cpp53 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display); in LoadWidget()
88 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty()
95 if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty()
141 if (!m_pNode->GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Edit, in CommitData()
146 m_pNode->GetWidgetAcc()->UpdateUIDisplay(GetDoc()->GetDocView(), this); in CommitData()
158 WideString wsText = m_pNode->GetWidgetAcc()->GetValue(eType); in UpdateFWLData()
179 return m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Edit) != wsText; in IsDataChanged()
187 m_pNode->GetWidgetAcc()->GetPictureContent(XFA_VALUEPICTURE_Edit); in OnSelectChanged()
203 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in OnSelectChanged()
204 eParam.m_wsNewText = m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw); in OnSelectChanged()
Dcxfa_ffimageedit.cpp47 if (!m_pNode->GetWidgetAcc()->GetImageEditImage()) in LoadWidget()
54 m_pNode->GetWidgetAcc()->SetImageEditImage(nullptr); in UnloadWidget()
68 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
71 m_pNode->GetWidgetAcc()->GetImageEditImage(); in RenderWidget()
94 m_pNode->GetWidgetAcc()->GetImageEditDpi(iImageXDpi, iImageYDpi); in RenderWidget()
120 CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in SetFWLRect()
132 m_pNode->GetWidgetAcc()->SetImageEditImage(nullptr); in UpdateFWLData()
133 m_pNode->GetWidgetAcc()->LoadImageEditImage(GetDoc()); in UpdateFWLData()
Dcxfa_ffimage.cpp25 return !!GetNode()->GetWidgetAcc()->GetImageImage(); in IsLoaded()
29 if (GetNode()->GetWidgetAcc()->GetImageImage()) in LoadWidget()
32 return GetNode()->GetWidgetAcc()->LoadImageImage(GetDoc()) in LoadWidget()
38 GetNode()->GetWidgetAcc()->SetImageImage(nullptr); in UnloadWidget()
53 GetNode()->GetWidgetAcc()->GetImageImage(); in RenderWidget()
72 m_pNode->GetWidgetAcc()->GetImageDpi(iImageXDpi, iImageYDpi); in RenderWidget()
Dcxfa_ffnumericedit.cpp39 pWidget->SetText(m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget()
54 if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty()
57 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty()
80 m_pNode->GetWidgetAcc()->GetPictureContent(XFA_VALUEPICTURE_Edit); in OnValidate()
87 m_pNode->GetWidgetAcc()->GetLeadDigits(), in OnValidate()
88 m_pNode->GetWidgetAcc()->GetFracDigits()); in OnValidate()
Dcxfa_fffield.cpp52 XFA_Element type = m_pNode->GetWidgetAcc()->GetUIType(); in GetBBox()
72 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
129 m_pNode->GetWidgetAcc()->LoadCaption(GetDoc()); in LoadWidget()
139 XFA_Element eType = m_pNode->GetWidgetAcc()->GetUIType(); in SetEditScrollOffset()
148 CFX_RectF rtMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in SetEditScrollOffset()
218 m_pNode->GetWidgetAcc()->GetCaptionTextLayout(); in CapPlacement()
270 CXFA_Border* borderUI = m_pNode->GetWidgetAcc()->GetUIBorder(); in CapPlacement()
282 CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in CapTopBottomPlacement()
308 CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in CapLeftRightPlacement()
339 CXFA_Node* pUiNode = m_pNode->GetWidgetAcc()->GetUIChild(); in UpdateUIProperty()
[all …]
Dcxfa_fflistbox.cpp56 for (const auto& label : m_pNode->GetWidgetAcc()->GetChoiceListItems(false)) in LoadWidget()
60 if (m_pNode->GetWidgetAcc()->IsChoiceListMultiSelect()) in LoadWidget()
65 for (int32_t selected : m_pNode->GetWidgetAcc()->GetSelectedItems()) in LoadWidget()
87 m_pNode->GetWidgetAcc()->SetSelectedItems(iSelArray, true, false, true); in CommitData()
92 std::vector<int32_t> iSelArray = m_pNode->GetWidgetAcc()->GetSelectedItems(); in IsDataChanged()
138 std::vector<int32_t> iSelArray = m_pNode->GetWidgetAcc()->GetSelectedItems(); in UpdateFWLData()
154 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in OnSelectChanged()
155 eParam.m_wsPrevText = m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw); in OnSelectChanged()
Dcxfa_ffnotify.cpp124 switch (pNode->GetWidgetAcc()->GetUIType()) { in OnCreateContentLayoutItem()
135 if (pNode->GetWidgetAcc()->IsListBox()) in OnCreateContentLayoutItem()
198 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in StartFieldDrawLayout()
208 CXFA_WidgetAcc* pAcc = pItem->GetWidgetAcc(); in FindSplitPos()
245 CXFA_WidgetAcc* pWidgetAcc = pNode->GetWidgetAcc(); in AddCalcValidate()
275 if (hWidget->GetNode()->GetWidgetAcc()->GetUIType() != in OpenDropDownList()
337 CXFA_WidgetAcc* pAcc = pNode ? pNode->GetWidgetAcc() : nullptr; in SetFocusWidgetNode()
377 CXFA_WidgetAcc* pWidgetAcc = pSender->GetWidgetAcc(); in OnValueChanging()
405 CXFA_WidgetAcc* pWidgetAcc = pWidgetNode->GetWidgetAcc(); in OnValueChanged()
507 pWidget, pWidget->GetNode()->GetWidgetAcc()); in OnLayoutItemAdded()
[all …]
Dcxfa_ffpushbutton.cpp74 switch (m_pNode->GetWidgetAcc()->GetButtonHighlight()) { in UpdateWidgetProperty()
144 if (m_pNode->GetWidgetAcc()->HasButtonRollover()) { in LoadHighlightCaption()
147 m_pNode->GetWidgetAcc(), XFA_TEXTPROVIDERTYPE_Rollover); in LoadHighlightCaption()
153 if (m_pNode->GetWidgetAcc()->HasButtonDown()) { in LoadHighlightCaption()
156 m_pNode->GetWidgetAcc(), XFA_TEXTPROVIDERTYPE_Down); in LoadHighlightCaption()
175 m_pNode->GetWidgetAcc()->GetCaptionTextLayout(); in RenderHighlightCaption()
Dcxfa_ffpasswordedit.cpp36 pWidget->SetText(m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget()
52 WideString password = m_pNode->GetWidgetAcc()->GetPasswordChar(); in UpdateWidgetProperty()
55 if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty()
Dcxfa_fftext.cpp38 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in RenderWidget()
69 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in IsLoaded()
75 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in PerformLayout()
142 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in GetLinkURLAtPoint()
Dcxfa_ffdocview.cpp377 m_pFocusAcc = pNewFocus ? pNewFocus->GetNode()->GetWidgetAcc() : nullptr; in SetFocus()
458 CXFA_WidgetAcc* pWidgetAcc = pFormNode->GetWidgetAcc(); in ExecEventActivityByDeepFirst()
481 CXFA_WidgetAcc* pWidgetAcc = pFormNode->GetWidgetAcc(); in ExecEventActivityByDeepFirst()
497 pRefWidget ? pRefWidget->GetNode()->GetWidgetAcc() : nullptr; in GetWidgetByName()
531 return pNode->GetWidgetAcc(); in GetWidgetAccByName()
587 if (!pSubformNode->GetWidgetAcc()) in RunSubformIndexChange()
592 eParam.m_pTarget = pSubformNode->GetWidgetAcc(); in RunSubformIndexChange()
641 AddCalculateWidgetAcc(pResult->GetWidgetAcc()); in AddCalculateNodeNotify()
655 AddValidateWidget(node->GetWidgetAcc()); in RunCalculateRecursive()
732 CXFA_WidgetAcc* pAcc = pWidgetNode->GetWidgetAcc(); in RunBindItems()
Dcxfa_fwltheme.cpp136 m_pTextOut->SetFont(pNode->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc())); in DrawText()
156 CXFA_WidgetAcc* pWidgetAcc = pWidget->GetNode()->GetWidgetAcc(); in GetUIMargin()
193 return pWidget->GetNode()->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc()); in GetFont()
244 m_pTextOut->SetFont(pNode->GetWidgetAcc()->GetFDEFont(pWidget->GetDoc())); in CalcTextRect()
Dcxfa_widgetacciterator.cpp20 m_pCurWidgetAcc = pItem->GetWidgetAcc(); in MoveToNext()
Dcxfa_ffbarcode.cpp133 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget()
149 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
Dcxfa_ffwidget.cpp406 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in OnSetFocus()
568 static_cast<CXFA_WidgetAcc*>(pParentNode->GetWidgetAcc()); in GetParent()
627 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in EventKillFocus()
Dcxfa_ffsignature.cpp34 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
/external/pdfium/fxjs/xfa/
Dcjx_field.cpp44 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in clearItems()
85 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in deleteItem()
103 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in getSaveItem()
120 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in boundItem()
135 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in getItemState()
167 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in getDisplayItem()
184 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in setItemState()
204 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in addItem()
239 CXFA_WidgetAcc* pWidgetAcc = xfaNode->GetWidgetAcc(); in defaultValue()
300 CXFA_WidgetAcc* pWidgetAcc = GetXFANode()->GetWidgetAcc(); in editValue()
[all …]
Dcjx_template.cpp54 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execInitialize()
71 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execCalculate()
80 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execValidate()
Dcjx_manifest.cpp31 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in evaluate()
Dcjx_exclgroup.cpp88 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in selectedMember()
113 CXFA_WidgetAcc* pWidgetAcc = GetXFANode()->GetWidgetAcc(); in defaultValue()
/external/pdfium/fpdfsdk/
Dcpdfsdk_widget.cpp211 if (pXFAWidgetHandler->HasEvent(hGroupWidget->GetNode()->GetWidgetAcc(), in HasXFAAAction()
218 return pXFAWidgetHandler->HasEvent(hWidget->GetNode()->GetWidgetAcc(), in HasXFAAAction()
260 CXFA_WidgetAcc* pAcc = hGroupWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction()
268 CXFA_WidgetAcc* pAcc = hWidget->GetNode()->GetWidgetAcc(); in OnXFAAAction()
283 CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc(); in Synchronize()
366 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue()
376 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue()
384 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue()
393 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue()
407 if (CXFA_WidgetAcc* pWidgetAcc = hWidget->GetNode()->GetWidgetAcc()) { in SynchronizeXFAValue()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp571 CXFA_WidgetAcc* pFieldWidgetAcc = GetWidgetAcc(); in GetContainerWidgetAcc()
589 pFieldWidgetAcc = pFormNode->GetWidgetAcc(); in GetContainerWidgetAcc()
1671 std::vector<CXFA_Event*> eventArray = GetWidgetAcc()->GetEventByActivity( in ProcessEvent()
1727 GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Raw, EventParam.m_wsResult); in ProcessCalculate()
1728 GetWidgetAcc()->UpdateUIDisplay(docView, nullptr); in ProcessCalculate()
1825 if (!GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw).IsEmpty()) in ProcessNullTestValidate()
1827 if (GetWidgetAcc()->IsNull() && GetWidgetAcc()->IsPreNull()) in ProcessNullTestValidate()
1909 eParam.m_pTarget = GetWidgetAcc(); in ProcessValidate()
2035 GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Raw, in ExecuteBoolScript()
2037 docView->AddValidateWidget(GetWidgetAcc()); in ExecuteBoolScript()
[all …]

12