| 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_LAYOUT_ITEMLAYOUT_H_ | 7 #ifndef XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ |
| 8 #define XFA_SRC_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 | 13 |
| 14 #include "core/include/fxcrt/fx_basic.h" | 14 #include "core/include/fxcrt/fx_basic.h" |
| 15 #include "xfa/src/fxfa/parser/xfa_doclayout.h" | 15 #include "xfa/fxfa/parser/xfa_doclayout.h" |
| 16 #include "xfa/src/fxfa/parser/xfa_document_layout_imp.h" | 16 #include "xfa/fxfa/parser/xfa_document_layout_imp.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_Node; | 26 class CXFA_Node; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 CFX_MapPtrToPtr m_PendingNodesCount; | 185 CFX_MapPtrToPtr m_PendingNodesCount; |
| 186 FX_FLOAT m_fLastRowWidth; | 186 FX_FLOAT m_fLastRowWidth; |
| 187 FX_FLOAT m_fLastRowY; | 187 FX_FLOAT m_fLastRowY; |
| 188 FX_FLOAT m_fWidthLimite; | 188 FX_FLOAT m_fWidthLimite; |
| 189 FX_BOOL m_bUseInheriated; | 189 FX_BOOL m_bUseInheriated; |
| 190 XFA_ItemLayoutProcessorResult m_ePreProcessRs; | 190 XFA_ItemLayoutProcessorResult m_ePreProcessRs; |
| 191 FX_BOOL m_bHasAvailHeight; | 191 FX_BOOL m_bHasAvailHeight; |
| 192 }; | 192 }; |
| 193 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); | 193 FX_BOOL XFA_ItemLayoutProcessor_IsTakingSpace(CXFA_Node* pNode); |
| 194 | 194 |
| 195 #endif // XFA_SRC_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ | 195 #endif // XFA_FXFA_PARSER_XFA_LAYOUT_ITEMLAYOUT_H_ |
| OLD | NEW |