| 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_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ |
| 8 #define XFA_SRC_FXFA_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ | 8 #define XFA_SRC_FXFA_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ |
| 9 | 9 |
| 10 #include "xfa/src/fxfa/src/common/xfa_doclayout.h" |
| 11 |
| 10 class CXFA_ItemLayoutProcessor; | 12 class CXFA_ItemLayoutProcessor; |
| 11 class CXFA_LayoutPageMgr; | 13 class CXFA_LayoutPageMgr; |
| 12 class CXFA_ContainerLayoutItem; | 14 class CXFA_ContainerLayoutItem; |
| 15 |
| 13 class CXFA_LayoutProcessor : public IXFA_DocLayout { | 16 class CXFA_LayoutProcessor : public IXFA_DocLayout { |
| 14 public: | 17 public: |
| 15 CXFA_LayoutProcessor(CXFA_Document* pDocument); | 18 CXFA_LayoutProcessor(CXFA_Document* pDocument); |
| 16 ~CXFA_LayoutProcessor(); | 19 ~CXFA_LayoutProcessor(); |
| 17 virtual CXFA_Document* GetDocument() const; | 20 virtual CXFA_Document* GetDocument() const; |
| 18 virtual int32_t StartLayout(FX_BOOL bForceRestart = FALSE); | 21 virtual int32_t StartLayout(FX_BOOL bForceRestart = FALSE); |
| 19 virtual int32_t DoLayout(IFX_Pause* pPause = NULL); | 22 virtual int32_t DoLayout(IFX_Pause* pPause = NULL); |
| 20 virtual FX_BOOL IncrementLayout(); | 23 virtual FX_BOOL IncrementLayout(); |
| 21 virtual int32_t CountPages() const; | 24 virtual int32_t CountPages() const; |
| 22 virtual IXFA_LayoutPage* GetPage(int32_t index) const; | 25 virtual IXFA_LayoutPage* GetPage(int32_t index) const; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 | 40 |
| 38 CXFA_Document* m_pDocument; | 41 CXFA_Document* m_pDocument; |
| 39 CXFA_ItemLayoutProcessor* m_pRootItemLayoutProcessor; | 42 CXFA_ItemLayoutProcessor* m_pRootItemLayoutProcessor; |
| 40 CXFA_LayoutPageMgr* m_pLayoutPageMgr; | 43 CXFA_LayoutPageMgr* m_pLayoutPageMgr; |
| 41 CXFA_NodeArray m_rgChangedContainers; | 44 CXFA_NodeArray m_rgChangedContainers; |
| 42 uint32_t m_nProgressCounter; | 45 uint32_t m_nProgressCounter; |
| 43 FX_BOOL m_bNeeLayout; | 46 FX_BOOL m_bNeeLayout; |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 #endif // XFA_SRC_FXFA_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ | 49 #endif // XFA_SRC_FXFA_SRC_PARSER_XFA_DOCUMENT_LAYOUT_IMP_H_ |
| OLD | NEW |