/external/pdfium/xfa/fxfa/ |
D | cxfa_ffcombobox.cpp | 65 for (const auto& label : m_pNode->GetChoiceListItems(false)) in LoadWidget() 68 std::vector<int32_t> iSelArray = m_pNode->GetSelectedItems(); in LoadWidget() 70 pComboBox->SetEditText(m_pNode->GetValue(XFA_VALUEPICTURE_Raw)); in LoadWidget() 88 if (m_pNode->IsChoiceListAllowTextEntry()) { in UpdateWidgetProperty() 92 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) { in UpdateWidgetProperty() 99 if (!m_pNode->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty() 128 return m_pNode->SetValue(XFA_VALUEPICTURE_Raw, m_wsNewValue); in CommitData() 133 if (m_pNode->GetValue(XFA_VALUEPICTURE_Raw) == wsText) in IsDataChanged() 142 pParam->m_pTarget = m_pNode.Get(); in FWLEventSelChange() 144 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeValue::Change, pParam); in FWLEventSelChange() [all …]
|
D | cxfa_textprovider.cpp | 43 m_pNode->GetChild<CXFA_Value>(0, XFA_Element::Value, false); in GetTextNode() 60 CXFA_Node* pBind = m_pNode->GetBindData(); in GetTextNode() 75 m_pNode->GetChild<CXFA_Caption>(0, XFA_Element::Caption, false); in GetTextNode() 97 m_pNode->GetChild<CXFA_Items>(0, XFA_Element::Items, false); in GetTextNode() 118 return m_pNode->GetParaIfExists(); in GetParaIfExists() 121 m_pNode->GetChild<CXFA_Caption>(0, XFA_Element::Caption, false); in GetParaIfExists() 127 return m_pNode->GetFontIfExists(); in GetFontIfExists() 130 m_pNode->GetChild<CXFA_Caption>(0, XFA_Element::Caption, false); in GetFontIfExists() 132 return font ? font : m_pNode->GetFontIfExists(); in GetFontIfExists() 136 if (m_pNode->GetFFWidgetType() != XFA_FFWidgetType::kCheckButton) in IsCheckButtonAndAutoWidth() [all …]
|
D | cxfa_ffdatetimeedit.cpp | 58 WideString wsText = m_pNode->GetValue(XFA_VALUEPICTURE_Display); in LoadWidget() 61 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in LoadWidget() 66 CXFA_LocaleValue lcValue = XFA_GetLocaleValue(m_pNode.Get()); in LoadWidget() 94 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() 99 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty() 101 if (!m_pNode->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty() 108 CXFA_Para* para = m_pNode->GetParaIfExists(); in GetAlignment() 147 if (!m_pNode->SetValue(XFA_VALUEPICTURE_Edit, pPicker->GetEditText())) in CommitData() 150 GetDoc()->GetDocView()->UpdateUIDisplay(m_pNode.Get(), this); in CommitData() 162 WideString wsText = m_pNode->GetValue(eType); in UpdateFWLData() [all …]
|
D | cxfa_ffcheckbutton.cpp | 44 if (m_pNode->IsRadioButton()) in LoadWidget() 50 SetFWLCheckState(m_pNode->GetCheckState()); in LoadWidget() 61 pCheckBox->SetBoxSize(m_pNode->GetCheckButtonSize()); in UpdateWidgetProperty() 96 float fCheckSize = m_pNode->GetCheckButtonSize(); in PerformLayout() 97 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 103 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in PerformLayout() 120 CXFA_Para* para = m_pNode->GetParaIfExists(); in PerformLayout() 178 CXFA_Border* borderUI = m_pNode->GetUIBorder(); in PerformLayout() 205 CFX_RectF rtUIMargin = m_pNode->GetUIMargin(); in AddUIMargin() 238 DrawBorderWithFlag(pGS, m_pNode->GetUIBorder(), m_rtUI, mtRotate, in RenderWidget() [all …]
|
D | cxfa_ffimageedit.cpp | 30 m_pNode->SetImageEditImage(nullptr); in ~CXFA_FFImageEdit() 46 if (!m_pNode->GetImageEditImage()) in LoadWidget() 62 DrawBorder(pGS, m_pNode->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget() 64 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pNode->GetImageEditImage(); in RenderWidget() 71 CXFA_Para* para = m_pNode->GetParaIfExists(); in RenderWidget() 78 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 86 m_pNode->GetImageEditDpi(), iHorzAlign, iVertAlign); in RenderWidget() 95 if (!m_pNode->IsOpenAccess()) in AcceptsFocusOnButtonDown() 118 CFX_RectF rtUIMargin = m_pNode->GetUIMargin(); in SetFWLRect() 130 m_pNode->SetImageEditImage(nullptr); in UpdateFWLData() [all …]
|
D | cxfa_ffnumericedit.cpp | 40 pWidget->SetText(m_pNode->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget() 56 if (!m_pNode->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty() 59 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() 65 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty() 81 WideString wsPattern = m_pNode->GetPictureContent(XFA_VALUEPICTURE_Edit); in OnValidate() 86 CXFA_LocaleValue widgetValue = XFA_GetLocaleValue(m_pNode.Get()); in OnValidate() 87 widgetValue.GetNumericFormat(wsFormat, m_pNode->GetLeadDigits(), in OnValidate() 88 m_pNode->GetFracDigits()); in OnValidate() 90 m_pNode->GetLocale()); in OnValidate()
|
D | cxfa_fftextedit.cpp | 61 pFWLEdit->SetText(m_pNode->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget() 76 if (m_pNode->IsMultiLine()) { in UpdateWidgetProperty() 78 if (!m_pNode->IsVerticalScrollPolicyOff()) { in UpdateWidgetProperty() 82 } else if (!m_pNode->IsHorizontalScrollPolicyOff()) { in UpdateWidgetProperty() 85 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) { in UpdateWidgetProperty() 92 std::tie(eType, iMaxChars) = m_pNode->GetMaxChars(); in UpdateWidgetProperty() 96 Optional<int32_t> numCells = m_pNode->GetNumberOfCells(); in UpdateWidgetProperty() 115 if (command == FWL_MouseCommand::RightButtonDown && !m_pNode->IsOpenAccess()) in AcceptsFocusOnButtonDown() 216 if (m_pNode->SetValue(XFA_VALUEPICTURE_Edit, wsText)) { in CommitData() 217 GetDoc()->GetDocView()->UpdateUIDisplay(m_pNode.Get(), this); in CommitData() [all …]
|
D | cxfa_fffield.cpp | 56 switch (m_pNode->GetFFWidgetType()) { in GetBBox() 78 DrawBorder(pGS, m_pNode->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget() 96 !m_pNode->IsOpenAccess()) { in DrawHighlight() 149 m_pNode->LoadCaption(GetDoc()); in LoadWidget() 155 XFA_FFWidgetType eType = m_pNode->GetFFWidgetType(); in SetEditScrollOffset() 166 fScrollOffset = -(m_pNode->GetUIMargin().top); in SetEditScrollOffset() 189 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in CapPlacement() 210 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in CapPlacement() 240 CXFA_TextLayout* pCapTextLayout = m_pNode->GetCaptionTextLayout(); in CapPlacement() 292 CXFA_Border* borderUI = m_pNode->GetUIBorder(); in CapPlacement() [all …]
|
D | cxfa_fflistbox.cpp | 57 for (const auto& label : m_pNode->GetChoiceListItems(false)) in LoadWidget() 61 if (m_pNode->IsChoiceListMultiSelect()) in LoadWidget() 66 for (int32_t selected : m_pNode->GetSelectedItems()) in LoadWidget() 90 m_pNode->SetSelectedItems(iSelArray, true, false, true); in CommitData() 95 std::vector<int32_t> iSelArray = m_pNode->GetSelectedItems(); in IsDataChanged() 111 CXFA_Para* para = m_pNode->GetParaIfExists(); in GetAlignment() 141 std::vector<int32_t> iSelArray = m_pNode->GetSelectedItems(); in UpdateFWLData() 157 eParam.m_pTarget = m_pNode.Get(); in OnSelectChanged() 158 eParam.m_wsPrevText = m_pNode->GetValue(XFA_VALUEPICTURE_Raw); in OnSelectChanged() 159 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeValue::Change, &eParam); in OnSelectChanged()
|
D | cxfa_ffpushbutton.cpp | 96 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 101 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in PerformLayout() 114 CXFA_Border* border = m_pNode->GetBorderIfExists(); in GetLineWidth() 131 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in LoadHighlightCaption() 135 if (m_pNode->HasButtonRollover()) { in LoadHighlightCaption() 138 m_pNode.Get(), XFA_TEXTPROVIDERTYPE_Rollover); in LoadHighlightCaption() 144 if (m_pNode->HasButtonDown()) { in LoadHighlightCaption() 147 m_pNode.Get(), XFA_TEXTPROVIDERTYPE_Down); in LoadHighlightCaption() 165 CXFA_TextLayout* pCapTextLayout = m_pNode->GetCaptionTextLayout(); in RenderHighlightCaption() 166 CXFA_Caption* caption = m_pNode->GetCaptionIfExists(); in RenderHighlightCaption()
|
D | cxfa_fftext.cpp | 36 CXFA_TextLayout* pTextLayout = m_pNode->GetTextLayout(); in RenderWidget() 42 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget() 68 CXFA_TextLayout* pTextLayout = m_pNode->GetTextLayout(); in IsLoaded() 74 CXFA_TextLayout* pTextLayout = m_pNode->GetTextLayout(); in PerformLayout() 88 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in PerformLayout() 150 CXFA_TextLayout* pTextLayout = m_pNode->GetTextLayout(); in GetLinkURLAtPoint()
|
D | cxfa_ffimage.cpp | 51 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget() 56 CXFA_Para* para = m_pNode->GetParaIfExists(); in RenderWidget() 62 auto* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 66 m_pNode->GetImageDpi(), iHorzAlign, iVertAlign); in RenderWidget()
|
D | cxfa_textprovider.h | 29 : m_pNode(pNode), m_eType(eType) { in CXFA_TextProvider() 30 ASSERT(m_pNode); in CXFA_TextProvider() 41 CXFA_Node* m_pNode; // Raw, this class owned by tree node.
|
D | cxfa_ffpasswordedit.cpp | 39 pWidget->SetText(m_pNode->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget() 59 if (!m_pNode->IsHorizontalScrollPolicyOff()) in UpdateWidgetProperty() 61 if (!m_pNode->IsOpenAccess() || !GetDoc()->GetXFADoc()->IsInteractive()) in UpdateWidgetProperty()
|
D | cxfa_ffwidget.cpp | 238 CXFA_FFWidget::CXFA_FFWidget(CXFA_Node* node) : m_pNode(node) {} in CXFA_FFWidget() 265 switch (m_pNode->GetRotate()) { in GetRectWithoutRotate() 307 CXFA_Border* border = m_pNode->GetBorderIfExists(); in RenderWidget() 440 eParam.m_pTarget = m_pNode.Get(); in OnSetFocus() 441 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeValue::Enter, &eParam); in OnSetFocus() 565 int32_t iRotate = m_pNode->GetRotate(); in GetRotateMatrix() 628 CXFA_Node* pParentNode = m_pNode->GetParent(); in GetParent() 642 if (pChildNode == m_pNode) in IsAncestorOf() 678 eParam.m_pTarget = m_pNode.Get(); in EventKillFocus() 679 m_pNode->ProcessEvent(GetDocView(), XFA_AttributeValue::Exit, &eParam); in EventKillFocus()
|
D | cxfa_ffarc.cpp | 22 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 27 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
D | cxfa_ffrectangle.cpp | 22 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 27 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
D | cxfa_ffline.cpp | 91 CXFA_Value* value = m_pNode->GetFormValueIfExists(); in RenderWidget() 117 CXFA_Margin* margin = m_pNode->GetMarginIfExists(); in RenderWidget()
|
D | cxfa_ffbarcode.cpp | 155 pFWLBarcode->SetText(m_pNode->GetValue(XFA_VALUEPICTURE_Display)); in LoadWidget() 172 DrawBorder(pGS, m_pNode->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget() 257 if (command == FWL_MouseCommand::LeftButtonDown && !m_pNode->IsOpenAccess()) in AcceptsFocusOnButtonDown()
|
D | cxfa_ffwidget.h | 145 CXFA_Node* GetNode() const { return m_pNode.Get(); } in GetNode() 198 UnownedPtr<CXFA_Node> const m_pNode; variable
|
D | cxfa_ffsignature.cpp | 35 DrawBorder(pGS, m_pNode->GetUIBorder(), m_rtUI, mtRotate); in RenderWidget()
|