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_FXFA_INCLUDE_FXFA_WIDGET_H_ | 7 #ifndef XFA_FXFA_FXFA_WIDGET_H_ |
8 #define XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ | 8 #define XFA_FXFA_FXFA_WIDGET_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
11 #include "core/fxge/fx_dib.h" | 11 #include "core/fxge/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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 FX_FLOAT& fWidth, | 113 FX_FLOAT& fWidth, |
114 FX_FLOAT& fCalcHeight); | 114 FX_FLOAT& fCalcHeight); |
115 void InitLayoutData(); | 115 void InitLayoutData(); |
116 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 116 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
117 | 117 |
118 CXFA_FFDocView* m_pDocView; | 118 CXFA_FFDocView* m_pDocView; |
119 std::unique_ptr<CXFA_WidgetLayoutData> m_pLayoutData; | 119 std::unique_ptr<CXFA_WidgetLayoutData> m_pLayoutData; |
120 uint32_t m_nRecursionDepth; | 120 uint32_t m_nRecursionDepth; |
121 }; | 121 }; |
122 | 122 |
123 #endif // XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ | 123 #endif // XFA_FXFA_FXFA_WIDGET_H_ |
OLD | NEW |