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_INCLUDE_FXFA_FXFA_WIDGET_H_ | 7 #ifndef XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ | 8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
9 | 9 |
10 #include "xfa/include/fxfa/fxfa_objectacc.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/fxge/include/fx_dib.h" |
| 12 #include "xfa/fxfa/parser/cxfa_box.h" |
| 13 #include "xfa/fxfa/parser/cxfa_event.h" |
| 14 #include "xfa/fxfa/parser/cxfa_image.h" |
| 15 #include "xfa/fxfa/parser/cxfa_margin.h" |
| 16 #include "xfa/fxfa/parser/cxfa_script.h" |
| 17 #include "xfa/fxfa/parser/cxfa_value.h" |
| 18 #include "xfa/fxfa/parser/cxfa_widgetdata.h" |
11 | 19 |
12 class CXFA_Node; | 20 class CXFA_Node; |
13 class CXFA_FFDocView; | 21 class CXFA_FFDocView; |
14 class CXFA_FFDoc; | 22 class CXFA_FFDoc; |
15 class CXFA_FFApp; | 23 class CXFA_FFApp; |
16 class CXFA_EventParam; | 24 class CXFA_EventParam; |
17 class CXFA_FFWidget; | 25 class CXFA_FFWidget; |
18 class CXFA_TextLayout; | 26 class CXFA_TextLayout; |
19 class CXFA_WidgetLayoutData; | 27 class CXFA_WidgetLayoutData; |
20 class IFX_Font; | 28 class IFX_Font; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 FX_FLOAT& fWidth, | 119 FX_FLOAT& fWidth, |
112 FX_FLOAT& fCalcHeight); | 120 FX_FLOAT& fCalcHeight); |
113 void InitLayoutData(); | 121 void InitLayoutData(); |
114 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 122 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
115 CXFA_FFDocView* m_pDocView; | 123 CXFA_FFDocView* m_pDocView; |
116 CXFA_WidgetLayoutData* m_pLayoutData; | 124 CXFA_WidgetLayoutData* m_pLayoutData; |
117 uint32_t m_nRecursionDepth; | 125 uint32_t m_nRecursionDepth; |
118 }; | 126 }; |
119 | 127 |
120 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ | 128 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
OLD | NEW |