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

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

Issue 2209823002: Rename xfa_layout_pagemgr_new.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: review feedback Created 4 years, 4 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/cxfa_containerlayoutitem.cpp ('k') | xfa/fxfa/parser/cxfa_layoutpagemgr.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_CXFA_LAYOUTPAGEMGR_H_
8 #define XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ 8 #define XFA_FXFA_PARSER_CXFA_LAYOUTPAGEMGR_H_
9 9
10 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h" 10 #include "xfa/fxfa/parser/xfa_layout_itemlayout.h"
11 11
12 class CXFA_ContainerRecord;
12 class CXFA_LayoutItem; 13 class CXFA_LayoutItem;
13 14
14 class CXFA_ContainerRecord {
15 public:
16 CXFA_ContainerRecord(CXFA_ContainerLayoutItem* pPageSet = nullptr,
17 CXFA_ContainerLayoutItem* pPageArea = nullptr,
18 CXFA_ContainerLayoutItem* pContentArea = nullptr)
19 : pCurPageSet(pPageSet),
20 pCurPageArea(pPageArea),
21 pCurContentArea(pContentArea) {}
22 CXFA_ContainerLayoutItem* pCurPageSet;
23 CXFA_ContainerLayoutItem* pCurPageArea;
24 CXFA_ContainerLayoutItem* pCurContentArea;
25 };
26
27 class CXFA_LayoutPageMgr { 15 class CXFA_LayoutPageMgr {
28 public: 16 public:
29 CXFA_LayoutPageMgr(CXFA_LayoutProcessor* pLayoutProcessor); 17 CXFA_LayoutPageMgr(CXFA_LayoutProcessor* pLayoutProcessor);
30 ~CXFA_LayoutPageMgr(); 18 ~CXFA_LayoutPageMgr();
31 19
32 FX_BOOL InitLayoutPage(CXFA_Node* pFormNode); 20 FX_BOOL InitLayoutPage(CXFA_Node* pFormNode);
33 FX_BOOL PrepareFirstPage(CXFA_Node* pRootSubform); 21 FX_BOOL PrepareFirstPage(CXFA_Node* pRootSubform);
34 FX_FLOAT GetAvailHeight(); 22 FX_FLOAT GetAvailHeight();
35 FX_BOOL GetNextAvailContentHeight(FX_FLOAT fChildHeight); 23 FX_BOOL GetNextAvailContentHeight(FX_FLOAT fChildHeight);
36 void SubmitContentItem(CXFA_ContentLayoutItem* pContentLayoutItem, 24 void SubmitContentItem(CXFA_ContentLayoutItem* pContentLayoutItem,
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 CFX_PtrList m_rgProposedContainerRecord; 134 CFX_PtrList m_rgProposedContainerRecord;
147 CXFA_Node* m_pCurPageArea; 135 CXFA_Node* m_pCurPageArea;
148 int32_t m_nAvailPages; 136 int32_t m_nAvailPages;
149 int32_t m_nCurPageCount; 137 int32_t m_nCurPageCount;
150 XFA_ATTRIBUTEENUM m_ePageSetMode; 138 XFA_ATTRIBUTEENUM m_ePageSetMode;
151 FX_BOOL m_bCreateOverFlowPage; 139 FX_BOOL m_bCreateOverFlowPage;
152 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap; 140 CFX_MapPtrTemplate<CXFA_Node*, int32_t> m_pPageSetMap;
153 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray; 141 CFX_ArrayTemplate<CXFA_ContainerLayoutItem*> m_PageArray;
154 }; 142 };
155 143
156 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_PAGEMGR_NEW_H_ 144 #endif // XFA_FXFA_PARSER_CXFA_LAYOUTPAGEMGR_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/cxfa_containerlayoutitem.cpp ('k') | xfa/fxfa/parser/cxfa_layoutpagemgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698