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_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ |
8 #define XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ | 8 #define XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ |
9 | 9 |
10 #include <float.h> | 10 #include <float.h> |
11 | 11 |
12 #include <list> | 12 #include <list> |
13 #include <map> | 13 #include <map> |
14 | 14 |
15 #include "core/fxcrt/fx_basic.h" | 15 #include "core/fxcrt/fx_basic.h" |
16 #include "xfa/fxfa/include/fxfa_basic.h" | 16 #include "xfa/fxfa/fxfa_basic.h" |
17 | 17 |
18 #define XFA_LAYOUT_INVALIDNODE ((CXFA_Node*)(intptr_t)-1) | 18 #define XFA_LAYOUT_INVALIDNODE ((CXFA_Node*)(intptr_t)-1) |
19 #define XFA_LAYOUT_FLOAT_PERCISION (0.0005f) | 19 #define XFA_LAYOUT_FLOAT_PERCISION (0.0005f) |
20 #define XFA_LAYOUT_FLOAT_MAX FLT_MAX | 20 #define XFA_LAYOUT_FLOAT_MAX FLT_MAX |
21 | 21 |
22 class CXFA_ContainerLayoutItem; | 22 class CXFA_ContainerLayoutItem; |
23 class CXFA_ContentLayoutItem; | 23 class CXFA_ContentLayoutItem; |
24 class CXFA_ItemLayoutProcessor; | 24 class CXFA_ItemLayoutProcessor; |
25 class CXFA_LayoutPageMgr; | 25 class CXFA_LayoutPageMgr; |
26 class CXFA_LayoutProcessor; | 26 class CXFA_LayoutProcessor; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 FX_FLOAT m_fLastRowWidth; | 188 FX_FLOAT m_fLastRowWidth; |
189 FX_FLOAT m_fLastRowY; | 189 FX_FLOAT m_fLastRowY; |
190 FX_FLOAT m_fWidthLimite; | 190 FX_FLOAT m_fWidthLimite; |
191 FX_BOOL m_bUseInheriated; | 191 FX_BOOL m_bUseInheriated; |
192 XFA_ItemLayoutProcessorResult m_ePreProcessRs; | 192 XFA_ItemLayoutProcessorResult m_ePreProcessRs; |
193 FX_BOOL m_bHasAvailHeight; | 193 FX_BOOL m_bHasAvailHeight; |
194 }; | 194 }; |
195 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); | 195 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); |
196 | 196 |
197 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ | 197 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ |
OLD | NEW |