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_SRC_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ | 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/parser/xfa_doclayout.h" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
11 #include "xfa/src/fxfa/parser/xfa_layout_itemlayout.h" | 11 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h" |
12 | 12 |
13 class CXFA_ContainerRecord { | 13 class CXFA_ContainerRecord { |
14 public: | 14 public: |
15 CXFA_ContainerRecord(CXFA_ContainerLayoutItem* pPageSet = NULL, | 15 CXFA_ContainerRecord(CXFA_ContainerLayoutItem* pPageSet = NULL, |
16 CXFA_ContainerLayoutItem* pPageArea = NULL, | 16 CXFA_ContainerLayoutItem* pPageArea = NULL, |
17 CXFA_ContainerLayoutItem* pContentArea = NULL) | 17 CXFA_ContainerLayoutItem* pContentArea = NULL) |
18 : pCurPageSet(pPageSet), | 18 : pCurPageSet(pPageSet), |
19 pCurPageArea(pPageArea), | 19 pCurPageArea(pPageArea), |
20 pCurContentArea(pContentArea) {} | 20 pCurContentArea(pContentArea) {} |
21 CXFA_ContainerLayoutItem* pCurPageSet; | 21 CXFA_ContainerLayoutItem* pCurPageSet; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 CFX_PtrList m_rgProposedContainerRecord; | 142 CFX_PtrList m_rgProposedContainerRecord; |
143 CXFA_Node* m_pCurPageArea; | 143 CXFA_Node* m_pCurPageArea; |
144 int32_t m_nAvailPages; | 144 int32_t m_nAvailPages; |
145 int32_t m_nCurPageCount; | 145 int32_t m_nCurPageCount; |
146 XFA_ATTRIBUTEENUM m_ePageSetMode; | 146 XFA_ATTRIBUTEENUM m_ePageSetMode; |
147 FX_BOOL m_bCreateOverFlowPage; | 147 FX_BOOL m_bCreateOverFlowPage; |
148 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap; | 148 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap; |
149 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray; | 149 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray; |
150 }; | 150 }; |
151 | 151 |
152 #endif // XFA_SRC_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ | 152 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ |
OLD | NEW |