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_FXFA_INCLUDE_FXFA_WIDGET_H_ |
8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ | 8 #define XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
11 #include "core/fxge/include/fx_dib.h" | 11 #include "core/fxge/include/fx_dib.h" |
12 #include "xfa/fxfa/parser/cxfa_box.h" | 12 #include "xfa/fxfa/parser/cxfa_box.h" |
13 #include "xfa/fxfa/parser/cxfa_event.h" | 13 #include "xfa/fxfa/parser/cxfa_event.h" |
14 #include "xfa/fxfa/parser/cxfa_image.h" | 14 #include "xfa/fxfa/parser/cxfa_image.h" |
15 #include "xfa/fxfa/parser/cxfa_margin.h" | 15 #include "xfa/fxfa/parser/cxfa_margin.h" |
16 #include "xfa/fxfa/parser/cxfa_script.h" | 16 #include "xfa/fxfa/parser/cxfa_script.h" |
17 #include "xfa/fxfa/parser/cxfa_value.h" | 17 #include "xfa/fxfa/parser/cxfa_value.h" |
18 #include "xfa/fxfa/parser/cxfa_widgetdata.h" | 18 #include "xfa/fxfa/parser/cxfa_widgetdata.h" |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, | 118 void CalculateAccWidthAndHeight(XFA_ELEMENT eUIType, |
119 FX_FLOAT& fWidth, | 119 FX_FLOAT& fWidth, |
120 FX_FLOAT& fCalcHeight); | 120 FX_FLOAT& fCalcHeight); |
121 void InitLayoutData(); | 121 void InitLayoutData(); |
122 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 122 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
123 CXFA_FFDocView* m_pDocView; | 123 CXFA_FFDocView* m_pDocView; |
124 CXFA_WidgetLayoutData* m_pLayoutData; | 124 CXFA_WidgetLayoutData* m_pLayoutData; |
125 uint32_t m_nRecursionDepth; | 125 uint32_t m_nRecursionDepth; |
126 }; | 126 }; |
127 | 127 |
128 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ | 128 #endif // XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ |
OLD | NEW |