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

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

Issue 2045013004: Fix GetPageIndex() for dynamic XFA documents. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Remove redundant CXFA_FFPageView::GetPageViewIndex Created 4 years, 6 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/app/xfa_ffpageview.cpp ('k') | no next file » | 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;
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
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_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffpageview.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698