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_DOCLAYOUT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ |
8 #define XFA_SRC_FXFA_PARSER_XFA_DOCLAYOUT_H_ | 8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/parser/xfa_document.h" | 10 #include "xfa/fxfa/parser/xfa_document.h" |
11 | 11 |
12 class CXFA_ContainerLayoutItem; | 12 class CXFA_ContainerLayoutItem; |
13 class CXFA_ContentLayoutItem; | 13 class CXFA_ContentLayoutItem; |
14 class IXFA_DocLayout; | 14 class IXFA_DocLayout; |
15 | 15 |
16 class IXFA_LayoutPage { | 16 class IXFA_LayoutPage { |
17 public: | 17 public: |
18 virtual ~IXFA_LayoutPage() {} | 18 virtual ~IXFA_LayoutPage() {} |
19 virtual IXFA_DocLayout* GetLayout() const = 0; | 19 virtual IXFA_DocLayout* GetLayout() const = 0; |
20 virtual int32_t GetPageIndex() const = 0; | 20 virtual int32_t GetPageIndex() const = 0; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual ~IXFA_DocLayout() {} | 126 virtual ~IXFA_DocLayout() {} |
127 virtual CXFA_Document* GetDocument() const = 0; | 127 virtual CXFA_Document* GetDocument() const = 0; |
128 virtual int32_t StartLayout(FX_BOOL bForceRestart = FALSE) = 0; | 128 virtual int32_t StartLayout(FX_BOOL bForceRestart = FALSE) = 0; |
129 virtual int32_t DoLayout(IFX_Pause* pPause = NULL) = 0; | 129 virtual int32_t DoLayout(IFX_Pause* pPause = NULL) = 0; |
130 virtual FX_BOOL IncrementLayout() = 0; | 130 virtual FX_BOOL IncrementLayout() = 0; |
131 virtual int32_t CountPages() const = 0; | 131 virtual int32_t CountPages() const = 0; |
132 virtual IXFA_LayoutPage* GetPage(int32_t index) const = 0; | 132 virtual IXFA_LayoutPage* GetPage(int32_t index) const = 0; |
133 virtual CXFA_LayoutItem* GetLayoutItem(CXFA_Node* pFormItem) = 0; | 133 virtual CXFA_LayoutItem* GetLayoutItem(CXFA_Node* pFormItem) = 0; |
134 }; | 134 }; |
135 | 135 |
136 #endif // XFA_SRC_FXFA_PARSER_XFA_DOCLAYOUT_H_ | 136 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ |
OLD | NEW |