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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (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_docdata.h ('k') | xfa/fxfa/parser/xfa_document.h » ('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_DOCLAYOUT_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_ 8 #define XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
9 9
10 #include "xfa/fxfa/parser/xfa_document.h" 10 #include "xfa/fxfa/parser/xfa_document.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 class CXFA_ContentLayoutItem : public CXFA_LayoutItem { 84 class CXFA_ContentLayoutItem : public CXFA_LayoutItem {
85 public: 85 public:
86 CXFA_ContentLayoutItem(CXFA_Node* pNode); 86 CXFA_ContentLayoutItem(CXFA_Node* pNode);
87 virtual ~CXFA_ContentLayoutItem(); 87 virtual ~CXFA_ContentLayoutItem();
88 88
89 CXFA_ContentLayoutItem* m_pPrev; 89 CXFA_ContentLayoutItem* m_pPrev;
90 CXFA_ContentLayoutItem* m_pNext; 90 CXFA_ContentLayoutItem* m_pNext;
91 CFX_PointF m_sPos; 91 CFX_PointF m_sPos;
92 CFX_SizeF m_sSize; 92 CFX_SizeF m_sSize;
93 FX_DWORD m_dwStatus; 93 uint32_t m_dwStatus;
94 }; 94 };
95 95
96 CXFA_ContainerLayoutItem* CXFA_LayoutItem::AsContainerLayoutItem() { 96 CXFA_ContainerLayoutItem* CXFA_LayoutItem::AsContainerLayoutItem() {
97 return IsContainerLayoutItem() ? static_cast<CXFA_ContainerLayoutItem*>(this) 97 return IsContainerLayoutItem() ? static_cast<CXFA_ContainerLayoutItem*>(this)
98 : nullptr; 98 : nullptr;
99 } 99 }
100 CXFA_ContentLayoutItem* CXFA_LayoutItem::AsContentLayoutItem() { 100 CXFA_ContentLayoutItem* CXFA_LayoutItem::AsContentLayoutItem() {
101 return IsContentLayoutItem() ? static_cast<CXFA_ContentLayoutItem*>(this) 101 return IsContentLayoutItem() ? static_cast<CXFA_ContentLayoutItem*>(this)
102 : nullptr; 102 : nullptr;
103 } 103 }
(...skipping 23 matching lines...) Expand all
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_FXFA_PARSER_XFA_DOCLAYOUT_H_ 136 #endif // XFA_FXFA_PARSER_XFA_DOCLAYOUT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_docdata.h ('k') | xfa/fxfa/parser/xfa_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698