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

Side by Side Diff: xfa/fxfa/parser/xfa_doclayout.h

Issue 1878963004: Cleanup CPDFXFA_Page. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: and a little more Created 4 years, 8 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/xfa_ffpageview.h ('k') | xfa/fxfa/parser/xfa_document_layout_imp.cpp » ('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_PARSER_XFA_DOCLAYOUT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ 8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
9 9
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/xfa_document.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 FX_BOOL m_bIsContentLayoutItem; 51 FX_BOOL m_bIsContentLayoutItem;
52 }; 52 };
53 53
54 class CXFA_ContainerLayoutItem : public CXFA_LayoutItem { 54 class CXFA_ContainerLayoutItem : public CXFA_LayoutItem {
55 public: 55 public:
56 CXFA_ContainerLayoutItem(CXFA_Node* pNode); 56 CXFA_ContainerLayoutItem(CXFA_Node* pNode);
57 57
58 CXFA_LayoutProcessor* GetLayout() const; 58 CXFA_LayoutProcessor* GetLayout() const;
59 int32_t GetPageIndex() const; 59 int32_t GetPageIndex() const;
60 void GetPageSize(CFX_SizeF& size); 60 void GetPageSize(CFX_SizeF& size) const;
61 CXFA_Node* GetMasterPage() const; 61 CXFA_Node* GetMasterPage() const;
62 62
63 CXFA_Node* m_pOldSubform; 63 CXFA_Node* m_pOldSubform;
64 }; 64 };
65 65
66 #define XFA_WIDGETSTATUS_Access 0x80000000 66 #define XFA_WIDGETSTATUS_Access 0x80000000
67 #define XFA_WIDGETSTATUS_Disabled 0x40000000 67 #define XFA_WIDGETSTATUS_Disabled 0x40000000
68 #define XFA_WIDGETSTATUS_RectCached 0x20000000 68 #define XFA_WIDGETSTATUS_RectCached 0x20000000
69 #define XFA_WIDGETSTATUS_ButtonDown 0x10000000 69 #define XFA_WIDGETSTATUS_ButtonDown 0x10000000
70 #define XFA_WIDGETSTATUS_Highlight 0x08000000 70 #define XFA_WIDGETSTATUS_Highlight 0x08000000
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 } 104 }
105 static inline CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) { 105 static inline CXFA_LayoutItem* GetNextSibling(CXFA_LayoutItem* pLayoutItem) {
106 return pLayoutItem->m_pNextSibling; 106 return pLayoutItem->m_pNextSibling;
107 } 107 }
108 static inline CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) { 108 static inline CXFA_LayoutItem* GetParent(CXFA_LayoutItem* pLayoutItem) {
109 return pLayoutItem->m_pParent; 109 return pLayoutItem->m_pParent;
110 } 110 }
111 }; 111 };
112 112
113 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ 113 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/xfa_ffpageview.h ('k') | xfa/fxfa/parser/xfa_document_layout_imp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698