OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ | 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ |
9 | 9 |
10 #include "xfa/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
11 | 11 |
12 class CXFA_FFWidget; | 12 class CXFA_FFWidget; |
13 class CXFA_FFDocView; | 13 class CXFA_FFDocView; |
14 | 14 |
15 class CXFA_FFPageView : public CXFA_ContainerLayoutItem { | 15 class CXFA_FFPageView : public CXFA_ContainerLayoutItem { |
16 public: | 16 public: |
17 CXFA_FFPageView(CXFA_FFDocView* pDocView, CXFA_Node* pPageArea); | 17 CXFA_FFPageView(CXFA_FFDocView* pDocView, CXFA_Node* pPageArea); |
18 ~CXFA_FFPageView() override; | 18 ~CXFA_FFPageView() override; |
19 | 19 |
20 CXFA_FFDocView* GetDocView() const; | 20 CXFA_FFDocView* GetDocView() const; |
21 int32_t GetPageViewIndex() const; | |
22 void GetPageViewRect(CFX_RectF& rtPage) const; | 21 void GetPageViewRect(CFX_RectF& rtPage) const; |
23 void GetDisplayMatrix(CFX_Matrix& mt, | 22 void GetDisplayMatrix(CFX_Matrix& mt, |
24 const CFX_Rect& rtDisp, | 23 const CFX_Rect& rtDisp, |
25 int32_t iRotate) const; | 24 int32_t iRotate) const; |
26 IXFA_WidgetIterator* CreateWidgetIterator( | 25 IXFA_WidgetIterator* CreateWidgetIterator( |
27 uint32_t dwTraverseWay = XFA_TRAVERSEWAY_Form, | 26 uint32_t dwTraverseWay = XFA_TRAVERSEWAY_Form, |
28 uint32_t dwWidgetFilter = XFA_WidgetStatus_Visible | | 27 uint32_t dwWidgetFilter = XFA_WidgetStatus_Visible | |
29 XFA_WidgetStatus_Viewable); | 28 XFA_WidgetStatus_Viewable); |
30 | 29 |
31 protected: | 30 protected: |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 FX_BOOL bMarsterPage = FALSE); | 95 FX_BOOL bMarsterPage = FALSE); |
97 | 96 |
98 CXFA_WidgetArray m_TabOrderWidgetArray; | 97 CXFA_WidgetArray m_TabOrderWidgetArray; |
99 CXFA_FFPageView* m_pPageView; | 98 CXFA_FFPageView* m_pPageView; |
100 uint32_t m_dwFilter; | 99 uint32_t m_dwFilter; |
101 int32_t m_iCurWidget; | 100 int32_t m_iCurWidget; |
102 FX_BOOL m_bIgnorerelevant; | 101 FX_BOOL m_bIgnorerelevant; |
103 }; | 102 }; |
104 | 103 |
105 #endif // XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ | 104 #endif // XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ |
OLD | NEW |