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 _FXFA_WIDGET_H | 7 #ifndef XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
8 #define _FXFA_WIDGET_H | 8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
| 9 |
9 class CXFA_Node; | 10 class CXFA_Node; |
10 class CXFA_FFDocView; | 11 class CXFA_FFDocView; |
11 class CXFA_FFDoc; | 12 class CXFA_FFDoc; |
12 class CXFA_FFApp; | 13 class CXFA_FFApp; |
13 class CXFA_Node; | 14 class CXFA_Node; |
14 class CXFA_EventParam; | 15 class CXFA_EventParam; |
15 class CXFA_FFWidget; | 16 class CXFA_FFWidget; |
16 class CXFA_TextLayout; | 17 class CXFA_TextLayout; |
17 class CXFA_TextProvider; | 18 class CXFA_TextProvider; |
18 class CXFA_WidgetLayoutData; | 19 class CXFA_WidgetLayoutData; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 void CalculateTextContentSize(CFX_SizeF& size); | 109 void CalculateTextContentSize(CFX_SizeF& size); |
109 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, | 110 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, |
110 FX_FLOAT& fWidth, | 111 FX_FLOAT& fWidth, |
111 FX_FLOAT& fCalcHeight); | 112 FX_FLOAT& fCalcHeight); |
112 void InitLayoutData(); | 113 void InitLayoutData(); |
113 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 114 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
114 CXFA_FFDocView* m_pDocView; | 115 CXFA_FFDocView* m_pDocView; |
115 CXFA_WidgetLayoutData* m_pLayoutData; | 116 CXFA_WidgetLayoutData* m_pLayoutData; |
116 uint32_t m_nRecursionDepth; | 117 uint32_t m_nRecursionDepth; |
117 }; | 118 }; |
118 #endif | 119 |
| 120 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
OLD | NEW |