Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: xfa/fxfa/parser/xfa_layout_pagemgr_new.h

Issue 1846993002: Remove IXFA_* interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_itemlayout.cpp ('k') | xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 17 matching lines...) Expand all
28 ~CXFA_LayoutPageMgr(); 28 ~CXFA_LayoutPageMgr();
29 FX_BOOL InitLayoutPage(CXFA_Node* pFormNode); 29 FX_BOOL InitLayoutPage(CXFA_Node* pFormNode);
30 FX_BOOL PrepareFirstPage(CXFA_Node* pRootSubform); 30 FX_BOOL PrepareFirstPage(CXFA_Node* pRootSubform);
31 FX_FLOAT GetAvailHeight(); 31 FX_FLOAT GetAvailHeight();
32 FX_BOOL GetNextAvailContentHeight(FX_FLOAT fChildHeight); 32 FX_BOOL GetNextAvailContentHeight(FX_FLOAT fChildHeight);
33 void SubmitContentItem(CXFA_ContentLayoutItem* pContentLayoutItem, 33 void SubmitContentItem(CXFA_ContentLayoutItem* pContentLayoutItem,
34 XFA_ItemLayoutProcessorResult eStatus); 34 XFA_ItemLayoutProcessorResult eStatus);
35 void FinishPaginatedPageSets(); 35 void FinishPaginatedPageSets();
36 void SyncLayoutData(); 36 void SyncLayoutData();
37 int32_t GetPageCount() const; 37 int32_t GetPageCount() const;
38 IXFA_LayoutPage* GetPage(int32_t index) const; 38 CXFA_ContainerLayoutItem* GetPage(int32_t index) const;
39 int32_t GetPageIndex(const IXFA_LayoutPage* pPage) const; 39 int32_t GetPageIndex(const CXFA_ContainerLayoutItem* pPage) const;
40 inline CXFA_ContainerLayoutItem* GetRootLayoutItem() const { 40 inline CXFA_ContainerLayoutItem* GetRootLayoutItem() const {
41 return m_pPageSetLayoutItemRoot; 41 return m_pPageSetLayoutItemRoot;
42 } 42 }
43 FX_BOOL ProcessBreakBeforeOrAfter(CXFA_Node* pBreakNode, 43 FX_BOOL ProcessBreakBeforeOrAfter(CXFA_Node* pBreakNode,
44 FX_BOOL bBefore, 44 FX_BOOL bBefore,
45 CXFA_Node*& pBreakLeaderNode, 45 CXFA_Node*& pBreakLeaderNode,
46 CXFA_Node*& pBreakTrailerNode, 46 CXFA_Node*& pBreakTrailerNode,
47 FX_BOOL& bCreatePage); 47 FX_BOOL& bCreatePage);
48 FX_BOOL ProcessOverflow(CXFA_Node* pFormNode, 48 FX_BOOL ProcessOverflow(CXFA_Node* pFormNode,
49 CXFA_Node*& pLeaderNode, 49 CXFA_Node*& pLeaderNode,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ 152 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_layout_itemlayout.cpp ('k') | xfa/fxfa/parser/xfa_layout_pagemgr_new.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698