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