OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CXFA_LAYOUTITEM_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ |
8 #define XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ | 8 #define XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ |
9 | 9 |
10 #include "xfa/fxfa/parser/xfa_document.h" | 10 #include "xfa/fxfa/parser/cxfa_document.h" |
11 | 11 |
12 class CXFA_ContainerLayoutItem; | 12 class CXFA_ContainerLayoutItem; |
13 class CXFA_ContentLayoutItem; | 13 class CXFA_ContentLayoutItem; |
14 class CXFA_LayoutProcessor; | 14 class CXFA_LayoutProcessor; |
15 | 15 |
16 class CXFA_LayoutItem { | 16 class CXFA_LayoutItem { |
17 public: | 17 public: |
18 virtual ~CXFA_LayoutItem(); | 18 virtual ~CXFA_LayoutItem(); |
19 | 19 |
20 FX_BOOL IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; } | 20 FX_BOOL IsContainerLayoutItem() const { return !m_bIsContentLayoutItem; } |
(...skipping 24 matching lines...) Expand all Loading... |
45 CXFA_LayoutItem* m_pNextSibling; | 45 CXFA_LayoutItem* m_pNextSibling; |
46 CXFA_LayoutItem* m_pFirstChild; | 46 CXFA_LayoutItem* m_pFirstChild; |
47 | 47 |
48 protected: | 48 protected: |
49 CXFA_LayoutItem(CXFA_Node* pNode, FX_BOOL bIsContentLayoutItem); | 49 CXFA_LayoutItem(CXFA_Node* pNode, FX_BOOL bIsContentLayoutItem); |
50 | 50 |
51 FX_BOOL m_bIsContentLayoutItem; | 51 FX_BOOL m_bIsContentLayoutItem; |
52 }; | 52 }; |
53 | 53 |
54 #endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ | 54 #endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_ |
OLD | NEW |