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" | 10 #include "xfa/fxfa/parser/xfa_doclayout.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 m_pCurrentContainerRecord)); | 71 m_pCurrentContainerRecord)); |
72 ASSERT(result); | 72 ASSERT(result); |
73 return result; | 73 return result; |
74 } | 74 } |
75 CXFA_ContainerRecord* CreateContainerRecord(CXFA_Node* pPageNode = NULL, | 75 CXFA_ContainerRecord* CreateContainerRecord(CXFA_Node* pPageNode = NULL, |
76 FX_BOOL bCreateNew = FALSE); | 76 FX_BOOL bCreateNew = FALSE); |
77 void AddPageAreaLayoutItem(CXFA_ContainerRecord* pNewRecord, | 77 void AddPageAreaLayoutItem(CXFA_ContainerRecord* pNewRecord, |
78 CXFA_Node* pNewPageArea); | 78 CXFA_Node* pNewPageArea); |
79 void AddContentAreaLayoutItem(CXFA_ContainerRecord* pNewRecord, | 79 void AddContentAreaLayoutItem(CXFA_ContainerRecord* pNewRecord, |
80 CXFA_Node* pContentArea); | 80 CXFA_Node* pContentArea); |
81 FX_BOOL RunBreak(XFA_ELEMENT eBreakType, | 81 FX_BOOL RunBreak(XFA_Element eBreakType, |
82 XFA_ATTRIBUTEENUM eTargetType, | 82 XFA_ATTRIBUTEENUM eTargetType, |
83 CXFA_Node* pTarget, | 83 CXFA_Node* pTarget, |
84 FX_BOOL bStartNew); | 84 FX_BOOL bStartNew); |
85 CXFA_Node* BreakOverflow(CXFA_Node* pOverflowNode, | 85 CXFA_Node* BreakOverflow(CXFA_Node* pOverflowNode, |
86 CXFA_Node*& pLeaderTemplate, | 86 CXFA_Node*& pLeaderTemplate, |
87 CXFA_Node*& pTrailerTemplate, | 87 CXFA_Node*& pTrailerTemplate, |
88 FX_BOOL bCreatePage = TRUE); | 88 FX_BOOL bCreatePage = TRUE); |
89 FX_BOOL ResolveBookendLeaderOrTrailer(CXFA_Node* pBookendNode, | 89 FX_BOOL ResolveBookendLeaderOrTrailer(CXFA_Node* pBookendNode, |
90 FX_BOOL bLeader, | 90 FX_BOOL bLeader, |
91 CXFA_Node*& pBookendAppendTemplate); | 91 CXFA_Node*& pBookendAppendTemplate); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 CXFA_Node* m_pCurPageArea; | 145 CXFA_Node* m_pCurPageArea; |
146 int32_t m_nAvailPages; | 146 int32_t m_nAvailPages; |
147 int32_t m_nCurPageCount; | 147 int32_t m_nCurPageCount; |
148 XFA_ATTRIBUTEENUM m_ePageSetMode; | 148 XFA_ATTRIBUTEENUM m_ePageSetMode; |
149 FX_BOOL m_bCreateOverFlowPage; | 149 FX_BOOL m_bCreateOverFlowPage; |
150 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap; | 150 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap; |
151 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray; | 151 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray; |
152 }; | 152 }; |
153 | 153 |
154 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ | 154 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ |
OLD | NEW |