Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Side by Side Diff: xfa/fxfa/include/xfa_ffpageview.h

Issue 1986503002: XFA_WIDGETSTATUS, LAYOUTSTATUS and WIDGETFILTER cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/include/fxfa.h ('k') | xfa/fxfa/parser/xfa_doclayout.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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; 21 int32_t GetPageViewIndex() const;
22 void GetPageViewRect(CFX_RectF& rtPage) const; 22 void GetPageViewRect(CFX_RectF& rtPage) const;
23 void GetDisplayMatrix(CFX_Matrix& mt, 23 void GetDisplayMatrix(CFX_Matrix& mt,
24 const CFX_Rect& rtDisp, 24 const CFX_Rect& rtDisp,
25 int32_t iRotate) const; 25 int32_t iRotate) const;
26 IXFA_WidgetIterator* CreateWidgetIterator( 26 IXFA_WidgetIterator* CreateWidgetIterator(
27 uint32_t dwTraverseWay = XFA_TRAVERSEWAY_Form, 27 uint32_t dwTraverseWay = XFA_TRAVERSEWAY_Form,
28 uint32_t dwWidgetFilter = XFA_WIDGETFILTER_Visible | 28 uint32_t dwWidgetFilter = XFA_WidgetStatus_Visible |
29 XFA_WIDGETFILTER_Viewable | 29 XFA_WidgetStatus_Viewable);
30 XFA_WIDGETFILTER_AllType);
31 30
32 protected: 31 protected:
33 CXFA_FFDocView* const m_pDocView; 32 CXFA_FFDocView* const m_pDocView;
34 }; 33 };
35 34
36 typedef CXFA_NodeIteratorTemplate<CXFA_LayoutItem, 35 typedef CXFA_NodeIteratorTemplate<CXFA_LayoutItem,
37 CXFA_TraverseStrategy_LayoutItem> 36 CXFA_TraverseStrategy_LayoutItem>
38 CXFA_LayoutItemIterator; 37 CXFA_LayoutItemIterator;
39 38
40 class CXFA_FFPageWidgetIterator : public IXFA_WidgetIterator { 39 class CXFA_FFPageWidgetIterator : public IXFA_WidgetIterator {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 FX_BOOL bMarsterPage = FALSE); 96 FX_BOOL bMarsterPage = FALSE);
98 97
99 CXFA_WidgetArray m_TabOrderWidgetArray; 98 CXFA_WidgetArray m_TabOrderWidgetArray;
100 CXFA_FFPageView* m_pPageView; 99 CXFA_FFPageView* m_pPageView;
101 uint32_t m_dwFilter; 100 uint32_t m_dwFilter;
102 int32_t m_iCurWidget; 101 int32_t m_iCurWidget;
103 FX_BOOL m_bIgnorerelevant; 102 FX_BOOL m_bIgnorerelevant;
104 }; 103 };
105 104
106 #endif // XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_ 105 #endif // XFA_FXFA_INCLUDE_XFA_FFPAGEVIEW_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/fxfa.h ('k') | xfa/fxfa/parser/xfa_doclayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698