Home
last modified time | relevance | path

Searched refs:CXFA_FFWidget (Results 1 – 25 of 57) sorted by relevance

123

/external/pdfium/xfa/fxfa/
Dcxfa_ffwidget.cpp227 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem) { in XFA_GetWidgetFromLayoutItem()
238 CXFA_FFWidget::CXFA_FFWidget(CXFA_Node* node) : m_pNode(node) {} in CXFA_FFWidget() function in CXFA_FFWidget
240 CXFA_FFWidget::~CXFA_FFWidget() = default;
242 const CFWL_App* CXFA_FFWidget::GetFWLApp() { in GetFWLApp()
246 CXFA_FFWidget* CXFA_FFWidget::GetNextFFWidget() const { in GetNextFFWidget()
250 const CFX_RectF& CXFA_FFWidget::GetWidgetRect() const { in GetWidgetRect()
256 const CFX_RectF& CXFA_FFWidget::RecacheWidgetRect() const { in RecacheWidgetRect()
262 CFX_RectF CXFA_FFWidget::GetRectWithoutRotate() { in GetRectWithoutRotate()
286 void CXFA_FFWidget::ModifyStatus(uint32_t dwAdded, uint32_t dwRemoved) { in ModifyStatus()
291 CXFA_FFField* CXFA_FFWidget::AsField() { in AsField()
[all …]
Dcxfa_ffpageview.h18 class CXFA_FFWidget; variable
51 CXFA_FFWidget* MoveToFirst() override;
52 CXFA_FFWidget* MoveToLast() override;
53 CXFA_FFWidget* MoveToNext() override;
54 CXFA_FFWidget* MoveToPrevious() override;
55 CXFA_FFWidget* GetCurrentWidget() override;
56 bool SetCurrentWidget(CXFA_FFWidget* hWidget) override;
59 CXFA_FFWidget* GetWidget(CXFA_LayoutItem* pLayoutItem);
62 UnownedPtr<CXFA_FFWidget> m_hCurWidget;
70 explicit CXFA_TabParam(CXFA_FFWidget* pWidget);
[all …]
Dcxfa_ffwidgethandler.h24 bool OnMouseEnter(CXFA_FFWidget* hWidget);
25 bool OnMouseExit(CXFA_FFWidget* hWidget);
26 bool OnLButtonDown(CXFA_FFWidget* hWidget,
29 bool OnLButtonUp(CXFA_FFWidget* hWidget,
32 bool OnLButtonDblClk(CXFA_FFWidget* hWidget,
35 bool OnMouseMove(CXFA_FFWidget* hWidget,
38 bool OnMouseWheel(CXFA_FFWidget* hWidget,
42 bool OnRButtonDown(CXFA_FFWidget* hWidget,
45 bool OnRButtonUp(CXFA_FFWidget* hWidget,
48 bool OnRButtonDblClk(CXFA_FFWidget* hWidget,
[all …]
Dcxfa_ffwidgethandler.cpp30 bool CXFA_FFWidgetHandler::OnMouseEnter(CXFA_FFWidget* hWidget) { in OnMouseEnter()
38 bool CXFA_FFWidgetHandler::OnMouseExit(CXFA_FFWidget* hWidget) { in OnMouseExit()
46 bool CXFA_FFWidgetHandler::OnLButtonDown(CXFA_FFWidget* hWidget, in OnLButtonDown()
64 bool CXFA_FFWidgetHandler::OnLButtonUp(CXFA_FFWidget* hWidget, in OnLButtonUp()
75 bool CXFA_FFWidgetHandler::OnLButtonDblClk(CXFA_FFWidget* hWidget, in OnLButtonDblClk()
82 bool CXFA_FFWidgetHandler::OnMouseMove(CXFA_FFWidget* hWidget, in OnMouseMove()
89 bool CXFA_FFWidgetHandler::OnMouseWheel(CXFA_FFWidget* hWidget, in OnMouseWheel()
98 bool CXFA_FFWidgetHandler::OnRButtonDown(CXFA_FFWidget* hWidget, in OnRButtonDown()
114 bool CXFA_FFWidgetHandler::OnRButtonUp(CXFA_FFWidget* hWidget, in OnRButtonUp()
121 bool CXFA_FFWidgetHandler::OnRButtonDblClk(CXFA_FFWidget* hWidget, in OnRButtonDblClk()
[all …]
Dcxfa_ffpageview.cpp71 bool PageWidgetFilter(CXFA_FFWidget* pWidget, in PageWidgetFilter()
159 CXFA_FFWidget* CXFA_FFPageWidgetIterator::MoveToFirst() { in MoveToFirst()
163 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToFirst()
170 CXFA_FFWidget* CXFA_FFPageWidgetIterator::MoveToLast() { in MoveToLast()
175 CXFA_FFWidget* CXFA_FFPageWidgetIterator::MoveToNext() { in MoveToNext()
178 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToNext()
185 CXFA_FFWidget* CXFA_FFPageWidgetIterator::MoveToPrevious() { in MoveToPrevious()
188 if (CXFA_FFWidget* hWidget = GetWidget(pLayoutItem)) { in MoveToPrevious()
195 CXFA_FFWidget* CXFA_FFPageWidgetIterator::GetCurrentWidget() { in GetCurrentWidget()
200 bool CXFA_FFPageWidgetIterator::SetCurrentWidget(CXFA_FFWidget* pWidget) { in SetCurrentWidget()
[all …]
Dfxfa.h20 class CXFA_FFWidget; variable
204 virtual void DisplayCaret(CXFA_FFWidget* hWidget,
208 virtual bool GetPopupPos(CXFA_FFWidget* hWidget,
213 virtual bool PopupMenu(CXFA_FFWidget* hWidget, const CFX_PointF& ptPopup) = 0;
218 virtual void WidgetPostAdd(CXFA_FFWidget* hWidget) = 0;
219 virtual void WidgetPreRemove(CXFA_FFWidget* hWidget) = 0;
233 virtual void SetFocusWidget(CXFA_FFDoc* hDoc, CXFA_FFWidget* hWidget) = 0;
254 virtual CXFA_FFWidget* MoveToFirst() = 0;
255 virtual CXFA_FFWidget* MoveToLast() = 0;
256 virtual CXFA_FFWidget* MoveToNext() = 0;
[all …]
Dcxfa_ffdocview.h59 void UpdateUIDisplay(CXFA_Node* pNode, CXFA_FFWidget* pExcept);
67 CXFA_FFWidget* GetFocusWidget() const { return m_pFocusWidget.Get(); } in GetFocusWidget()
68 bool SetFocus(CXFA_FFWidget* pNewFocus);
69 CXFA_FFWidget* GetWidgetForNode(CXFA_Node* node);
70 CXFA_FFWidget* GetWidgetByName(const WideString& wsName,
71 CXFA_FFWidget* pRefWidget);
92 void DeleteLayoutItem(CXFA_FFWidget* pWidget);
126 ObservedPtr<CXFA_FFWidget> m_pFocusWidget;
Dcxfa_fwltheme.cpp40 CXFA_FFWidget* XFA_ThemeGetOuterWidget(CFWL_Widget* pWidget) { in XFA_ThemeGetOuterWidget()
42 return pOuter ? static_cast<CXFA_FFWidget*>(pOuter->GetAdapterIface()) in XFA_ThemeGetOuterWidget()
96 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams.m_pWidget); in DrawText()
126 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams.m_pWidget); in DrawText()
149 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget); in GetUIMargin()
183 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetFontSize()
190 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetFont()
196 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetLineHeight()
207 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) in GetTextColor()
215 if (CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pThemePart.m_pWidget)) { in GetSpaceAboveBelow()
[all …]
Dcxfa_ffwidget.h58 CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
68 class CXFA_FFWidget : public Observable, public CFWL_Widget::AdapterIface {
73 explicit CXFA_FFWidget(CXFA_Node* pNode);
74 ~CXFA_FFWidget() override;
117 virtual bool OnSetFocus(CXFA_FFWidget* pOldWidget) WARN_UNUSED_RESULT;
118 virtual bool OnKillFocus(CXFA_FFWidget* pNewWidget) WARN_UNUSED_RESULT;
153 CXFA_FFWidget* GetNextFFWidget() const;
168 bool IsAncestorOf(CXFA_FFWidget* pWidget);
202 inline CXFA_FFField* ToField(CXFA_FFWidget* widget) { in ToField()
Dcxfa_ffnotify.cpp63 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnWidgetListItemAdded()
75 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnWidgetListItemRemoved()
92 std::unique_ptr<CXFA_FFWidget> CXFA_FFNotify::OnCreateContentLayoutItem( in OnCreateContentLayoutItem()
101 std::unique_ptr<CXFA_FFWidget> pWidget; in OnCreateContentLayoutItem()
177 pWidget = pdfium::MakeUnique<CXFA_FFWidget>(pNode); in OnCreateContentLayoutItem()
246 CXFA_FFWidget* hWidget = XFA_GetWidgetFromLayoutItem(pLayoutItem); in OpenDropDownList()
251 ObservedPtr<CXFA_FFWidget> pObservedWidget(hWidget); in OpenDropDownList()
352 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pSender); in OnValueChanging()
411 CXFA_FFWidget* pWidget = m_pDoc->GetDocView()->GetWidgetForNode(pWidgetNode); in OnValueChanged()
462 CXFA_FFWidget* pWidget = XFA_GetWidgetFromLayoutItem(pSender); in OnLayoutItemAdded()
[all …]
Dcxfa_ffimage.cpp18 CXFA_FFImage::CXFA_FFImage(CXFA_Node* pNode) : CXFA_FFWidget(pNode) {} in CXFA_FFImage()
32 return GetNode()->LoadImageImage(GetDoc()) && CXFA_FFWidget::LoadWidget(); in LoadWidget()
44 CXFA_FFWidget::RenderWidget(pGS, mtRotate, highlight); in RenderWidget()
Dcxfa_ffdocview.cpp196 void CXFA_FFDocView::UpdateUIDisplay(CXFA_Node* pNode, CXFA_FFWidget* pExcept) { in UpdateUIDisplay()
197 CXFA_FFWidget* pWidget = GetWidgetForNode(pNode); in UpdateUIDisplay()
198 CXFA_FFWidget* pNext = nullptr; in UpdateUIDisplay()
206 ObservedPtr<CXFA_FFWidget> pWatched(pWidget); in UpdateUIDisplay()
207 ObservedPtr<CXFA_FFWidget> pWatchedNext(pNext); in UpdateUIDisplay()
273 CXFA_FFWidget* CXFA_FFDocView::GetWidgetForNode(CXFA_Node* node) { in GetWidgetForNode()
290 bool CXFA_FFDocView::SetFocus(CXFA_FFWidget* pNewFocus) { in SetFocus()
294 ObservedPtr<CXFA_FFWidget> pNewWatched(pNewFocus); in SetFocus()
332 CXFA_FFWidget* pNewFocus = node ? GetWidgetForNode(node) : nullptr; in SetFocusNode()
344 void CXFA_FFDocView::DeleteLayoutItem(CXFA_FFWidget* pWidget) { in DeleteLayoutItem()
[all …]
Dcxfa_fftextedit.h19 class CXFA_FFWidget; variable
36 bool OnSetFocus(CXFA_FFWidget* pOldWidget) override WARN_UNUSED_RESULT;
37 bool OnKillFocus(CXFA_FFWidget* pNewWidget) override WARN_UNUSED_RESULT;
Dcxfa_fftextedit.cpp166 bool CXFA_FFTextEdit::OnSetFocus(CXFA_FFWidget* pOldWidget) { in OnSetFocus()
168 ObservedPtr<CXFA_FFWidget> pOldWatched(pOldWidget); in OnSetFocus()
178 if (!CXFA_FFWidget::OnSetFocus(pOldWatched.Get())) in OnSetFocus()
187 bool CXFA_FFTextEdit::OnKillFocus(CXFA_FFWidget* pNewWidget) { in OnKillFocus()
188 ObservedPtr<CXFA_FFWidget> pWatched(this); in OnKillFocus()
189 ObservedPtr<CXFA_FFWidget> pNewWatched(pNewWidget); in OnKillFocus()
204 if (!CXFA_FFWidget::OnKillFocus(pNewWatched.Get())) in OnKillFocus()
Dcxfa_ffexclgroup.cpp14 CXFA_FFExclGroup::CXFA_FFExclGroup(CXFA_Node* pNode) : CXFA_FFWidget(pNode) {} in CXFA_FFExclGroup()
27 CXFA_FFWidget::RenderWidget(pGS, mtRotate, highlight); in RenderWidget()
Dcxfa_rendercontext.h17 class CXFA_FFWidget; variable
31 UnownedPtr<CXFA_FFWidget> m_pWidget;
Dcxfa_fwladapterwidgetmgr.cpp20 auto* pFFWidget = static_cast<CXFA_FFWidget*>(pWidget->GetAdapterIface()); in RepaintWidget()
32 auto* pFFWidget = static_cast<CXFA_FFWidget*>(pWidget->GetAdapterIface()); in GetPopupPos()
Dcxfa_rendercontext.cpp25 CFX_RectF rtWidgetBox = m_pWidget->GetBBox(CXFA_FFWidget::kDoNotDrawFocus); in DoRender()
29 m_pWidget->RenderWidget(gs, m_matrix, CXFA_FFWidget::kHighlight); in DoRender()
Dcxfa_fffield.h23 class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate {
56 bool OnSetFocus(CXFA_FFWidget* pOldWidget) override WARN_UNUSED_RESULT;
57 bool OnKillFocus(CXFA_FFWidget* pNewWidget) override WARN_UNUSED_RESULT;
Dcxfa_fftext.cpp21 CXFA_FFText::CXFA_FFText(CXFA_Node* pNode) : CXFA_FFWidget(pNode) {} in CXFA_FFText()
34 CXFA_FFWidget::RenderWidget(pGS, mtRotate, highlight); in RenderWidget()
73 CXFA_FFWidget::PerformLayout(); in PerformLayout()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_contentlayoutitem.h16 class CXFA_FFWidget; variable
25 CXFA_FFWidget* GetFFWidget() { return m_pFFWidget.get(); } in GetFFWidget()
47 std::unique_ptr<CXFA_FFWidget> pFFWidget);
54 std::unique_ptr<CXFA_FFWidget> const m_pFFWidget;
57 inline CXFA_FFWidget* GetFFWidget(CXFA_ContentLayoutItem* item) { in GetFFWidget()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.h26 void DisplayCaret(CXFA_FFWidget* hWidget,
29 bool GetPopupPos(CXFA_FFWidget* hWidget,
34 bool PopupMenu(CXFA_FFWidget* hWidget, const CFX_PointF& ptPopup) override;
36 void WidgetPostAdd(CXFA_FFWidget* hWidget) override;
37 void WidgetPreRemove(CXFA_FFWidget* hWidget) override;
51 void SetFocusWidget(CXFA_FFDoc* hDoc, CXFA_FFWidget* hWidget) override;
Dcpdfxfa_widget.h22 CPDFXFA_Widget(CXFA_FFWidget* pXFAFFWidget,
32 CXFA_FFWidget* GetXFAFFWidget() const { return m_pXFAFFWidget.Get(); } in GetXFAFFWidget()
39 ObservedPtr<CXFA_FFWidget> const m_pXFAFFWidget;
/external/pdfium/fpdfsdk/
Dcpdfsdk_widget.cpp54 CXFA_FFWidget* CPDFSDK_Widget::GetMixXFAWidget() const { in GetMixXFAWidget()
80 CXFA_FFWidget* CPDFSDK_Widget::GetGroupMixXFAWidget() const { in GetGroupMixXFAWidget()
186 ObservedPtr<CXFA_FFWidget> pWidget(GetMixXFAWidget()); in HasXFAAAction()
197 CXFA_FFWidget* hGroupWidget = GetGroupMixXFAWidget(); in HasXFAAAction()
217 ObservedPtr<CXFA_FFWidget> pWidget(GetMixXFAWidget()); in OnXFAAAction()
242 CXFA_FFWidget* hGroupWidget = GetGroupMixXFAWidget(); in OnXFAAAction()
261 CXFA_FFWidget* hWidget = GetMixXFAWidget(); in Synchronize()
438 if (CXFA_FFWidget* hWidget = GetMixXFAWidget()) { in GetSelectedIndex()
452 if (CXFA_FFWidget* hWidget = GetMixXFAWidget()) { in GetValue()
479 if (CXFA_FFWidget* hWidget = GetMixXFAWidget()) { in IsOptionSelected()
[all …]
Dcpdfsdk_widget.h33 class CXFA_FFWidget; variable
47 CXFA_FFWidget* GetMixXFAWidget() const;
139 CXFA_FFWidget* GetGroupMixXFAWidget() const;

123