/external/pdfium/xfa/fxfa/ |
D | cxfa_ffcombobox.cpp | 55 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 …]
|
D | cxfa_ffcheckbutton.cpp | 43 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 …]
|
D | cxfa_fftextedit.cpp | 61 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 …]
|
D | cxfa_ffdatetimeedit.cpp | 53 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()
|
D | cxfa_ffimageedit.cpp | 47 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()
|
D | cxfa_ffimage.cpp | 25 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()
|
D | cxfa_ffnumericedit.cpp | 39 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()
|
D | cxfa_fffield.cpp | 52 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 …]
|
D | cxfa_fflistbox.cpp | 56 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()
|
D | cxfa_ffnotify.cpp | 124 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 …]
|
D | cxfa_ffpushbutton.cpp | 74 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()
|
D | cxfa_ffpasswordedit.cpp | 36 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()
|
D | cxfa_fftext.cpp | 38 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()
|
D | cxfa_ffdocview.cpp | 377 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()
|
D | cxfa_fwltheme.cpp | 136 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()
|
D | cxfa_widgetacciterator.cpp | 20 m_pCurWidgetAcc = pItem->GetWidgetAcc(); in MoveToNext()
|
D | cxfa_ffbarcode.cpp | 133 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget() 149 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
|
D | cxfa_ffwidget.cpp | 406 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()
|
D | cxfa_ffsignature.cpp | 34 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_field.cpp | 44 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 …]
|
D | cjx_template.cpp | 54 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execInitialize() 71 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execCalculate() 80 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in execValidate()
|
D | cjx_manifest.cpp | 31 runtime->NewBoolean(!!ToNode(GetXFAObject())->GetWidgetAcc())); in evaluate()
|
D | cjx_exclgroup.cpp | 88 CXFA_WidgetAcc* pWidgetAcc = ToNode(GetXFAObject())->GetWidgetAcc(); in selectedMember() 113 CXFA_WidgetAcc* pWidgetAcc = GetXFANode()->GetWidgetAcc(); in defaultValue()
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_widget.cpp | 211 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/ |
D | cxfa_node.cpp | 571 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 …]
|