/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() 83 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) { 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() [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() 94 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 101 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in PerformLayout() 118 CXFA_Para* para = m_pNode->GetParaIfExists(); in PerformLayout() [all …]
|
D | cxfa_ffdatetimeedit.cpp | 53 m_pNode->GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Display); in LoadWidget() 56 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in LoadWidget() 61 CXFA_LocaleValue lcValue = XFA_GetLocaleValue(m_pNode.Get()); in LoadWidget() 88 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty() 93 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty() 95 if (!m_pNode->GetWidgetAcc()->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty() 102 CXFA_Para* para = m_pNode->GetParaIfExists(); in GetAlignment() 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() [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() 84 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) { in UpdateWidgetProperty() 91 std::tie(eType, iMaxChars) = m_pNode->GetWidgetAcc()->GetMaxChars(); in UpdateWidgetProperty() 95 Optional<int32_t> numCells = m_pNode->GetWidgetAcc()->GetNumberOfCells(); in UpdateWidgetProperty() 130 if (!m_pNode->IsOpenAccess()) in OnRButtonDown() 187 if (m_pNode->GetWidgetAcc()->SetValue(XFA_VALUEPICTURE_Edit, wsText)) { in CommitData() 188 m_pNode->GetWidgetAcc()->UpdateUIDisplay(GetDoc()->GetDocView(), this); in CommitData() [all …]
|
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() 78 CXFA_Para* para = m_pNode->GetParaIfExists(); in RenderWidget() 85 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 94 m_pNode->GetWidgetAcc()->GetImageEditDpi(iImageXDpi, iImageYDpi); in RenderWidget() 101 if (!m_pNode->IsOpenAccess()) in OnLButtonDown() 120 CFX_RectF rtUIMargin = m_pNode->GetWidgetAcc()->GetUIMargin(); in SetFWLRect() 132 m_pNode->GetWidgetAcc()->SetImageEditImage(nullptr); in UpdateFWLData() [all …]
|
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() 63 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty() 80 m_pNode->GetWidgetAcc()->GetPictureContent(XFA_VALUEPICTURE_Edit); in OnValidate() 85 CXFA_LocaleValue widgetValue = XFA_GetLocaleValue(m_pNode.Get()); in OnValidate() 87 m_pNode->GetWidgetAcc()->GetLeadDigits(), in OnValidate() 88 m_pNode->GetWidgetAcc()->GetFracDigits()); in OnValidate() 90 m_pNode->GetLocale()); 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() 88 if (!(dwStatus & XFA_WidgetStatus_Highlight) || !m_pNode->IsOpenAccess()) in DrawHighlight() 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() 173 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in CapPlacement() 194 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in CapPlacement() 218 m_pNode->GetWidgetAcc()->GetCaptionTextLayout(); in CapPlacement() 270 CXFA_Border* borderUI = m_pNode->GetWidgetAcc()->GetUIBorder(); in CapPlacement() [all …]
|
D | cxfa_widgetacc.cpp | 520 m_pNode(pNode) {} in CXFA_WidgetAcc() 529 CXFA_Value* imageValue = m_pNode->GetDefaultValueIfExists(); in ResetData() 541 CXFA_Node* pNextChild = m_pNode->GetFirstContainerChild(); in ResetData() 580 CXFA_Value* defValue = m_pNode->GetDefaultValueIfExists(); in ResetData() 593 CXFA_Value* formValue = m_pNode->GetFormValueIfExists(); in SetImageEdit() 600 m_pNode->JSObject()->SetContent(wsData, GetFormatDataValue(wsData), true, in SetImageEdit() 603 CXFA_Node* pBind = m_pNode->GetBindData(); in SetImageEdit() 627 CXFA_FFWidget* pWidget = docView->GetWidgetForNode(m_pNode); in UpdateUIDisplay() 639 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in CalcCaptionSize() 668 CXFA_Font* widgetfont = m_pNode->GetFontIfExists(); in CalcCaptionSize() [all …]
|
D | cxfa_ffpushbutton.cpp | 74 switch (m_pNode->GetWidgetAcc()->GetButtonHighlight()) { in UpdateWidgetProperty() 103 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 109 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in PerformLayout() 123 CXFA_Border* border = m_pNode->GetBorderIfExists(); in GetLineWidth() 140 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in LoadHighlightCaption() 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() [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() 108 CXFA_Para* para = m_pNode->GetParaIfExists(); in GetAlignment() 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() 163 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::Change, &eParam); in OnSelectChanged()
|
D | cxfa_fftext.cpp | 38 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in RenderWidget() 44 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget() 69 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in IsLoaded() 75 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in PerformLayout() 89 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 142 CXFA_TextLayout* pTextLayout = m_pNode->GetWidgetAcc()->GetTextLayout(); in GetLinkURLAtPoint()
|
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() 57 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty()
|
D | cxfa_ffimage.cpp | 58 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget() 64 CXFA_Para* para = m_pNode->GetParaIfExists(); in RenderWidget() 72 m_pNode->GetWidgetAcc()->GetImageDpi(iImageXDpi, iImageYDpi); in RenderWidget() 74 auto* value = m_pNode->GetFormValueIfExists(); in RenderWidget()
|
D | cxfa_ffwidget.cpp | 234 : CXFA_ContentLayoutItem(node), m_pNode(node) {} in CXFA_FFWidget() 257 switch (m_pNode->GetRotate()) { in GetRectWithoutRotate() 298 CXFA_Border* border = m_pNode->GetBorderIfExists(); in RenderWidget() 406 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in OnSetFocus() 407 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::Enter, &eParam); in OnSetFocus() 524 int32_t iRotate = m_pNode->GetRotate(); in GetRotateMatrix() 565 CXFA_Node* pParentNode = m_pNode->GetParent(); in GetParent() 584 if (pChildNode == m_pNode) in IsAncestorOf() 627 eParam.m_pTarget = m_pNode->GetWidgetAcc(); in EventKillFocus() 628 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeEnum::Exit, &eParam); in EventKillFocus()
|
D | cxfa_ffrectangle.cpp | 22 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 27 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
D | cxfa_ffarc.cpp | 22 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 27 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
D | cxfa_ffline.cpp | 90 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 117 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
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() 229 if (!m_pNode->IsOpenAccess()) in OnLButtonDown()
|
D | cxfa_loadercontext.cpp | 19 m_pNode(nullptr) {} in CXFA_LoaderContext()
|
D | cxfa_ffwidget.h | 130 CXFA_Node* GetNode() { return m_pNode.Get(); } in GetNode() 167 UnownedPtr<CXFA_Node> const m_pNode; variable
|
D | cxfa_loadercontext.h | 33 CXFA_Node* m_pNode; variable
|
D | cxfa_widgetacc.h | 94 CXFA_Node* GetNode() const { return m_pNode; } in GetNode() 226 CXFA_Node* m_pNode; variable
|
D | cxfa_ffsignature.cpp | 34 DrawBorder(pGS, m_pNode->GetWidgetAcc()->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_saxreader.cpp | 650 pItem->m_pNode, in NotifyData() 665 pItem->m_pNode = m_pHandler->OnTagEnter(ByteStringView(m_Data), in NotifyEnter() 680 m_pHandler->OnTagAttribute(pItem->m_pNode, ByteStringView(m_Name), in NotifyAttribute() 694 m_pHandler->OnTagBreak(pItem->m_pNode); in NotifyBreak() 707 m_pHandler->OnTagClose(pItem->m_pNode, m_dwNodePos); in NotifyClose() 720 m_pHandler->OnTagEnd(pItem->m_pNode, ByteStringView(m_Data), m_dwNodePos); in NotifyEnd() 732 m_pHandler->OnTargetData(pItem->m_pNode, pItem->m_eNode, in NotifyTargetData() 735 m_pHandler->OnTargetData(pItem->m_pNode, pItem->m_eNode, in NotifyTargetData()
|
D | cfx_saxreader.h | 35 : m_pNode(nullptr), m_eNode(Type::Unknown), m_dwID(id), m_bSkip(false) {} in CFX_SAXItem() 37 CFX_SAXContext* m_pNode; variable
|