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 "xfa/include/fxfa/fxfa_objectacc.h" |
11 | 11 |
12 class CXFA_Node; | 12 class CXFA_Node; |
13 class CXFA_FFDocView; | 13 class CXFA_FFDocView; |
14 class CXFA_FFDoc; | 14 class CXFA_FFDoc; |
15 class CXFA_FFApp; | 15 class CXFA_FFApp; |
16 class CXFA_Node; | |
17 class CXFA_EventParam; | 16 class CXFA_EventParam; |
18 class CXFA_FFWidget; | 17 class CXFA_FFWidget; |
19 class CXFA_TextLayout; | 18 class CXFA_TextLayout; |
20 class CXFA_TextProvider; | |
21 class CXFA_WidgetLayoutData; | 19 class CXFA_WidgetLayoutData; |
22 class IFX_Font; | 20 class IFX_Font; |
23 class IXFA_AppProvider; | 21 class IXFA_AppProvider; |
24 | 22 |
25 class CXFA_WidgetAcc : public CXFA_WidgetData { | 23 class CXFA_WidgetAcc : public CXFA_WidgetData { |
26 public: | 24 public: |
27 CXFA_WidgetAcc(CXFA_FFDocView* pDocView, CXFA_Node* pNode); | 25 CXFA_WidgetAcc(CXFA_FFDocView* pDocView, CXFA_Node* pNode); |
28 ~CXFA_WidgetAcc(); | 26 ~CXFA_WidgetAcc(); |
29 | 27 |
30 FX_BOOL GetName(CFX_WideString& wsName, int32_t iNameType = 0); | 28 FX_BOOL GetName(CFX_WideString& wsName, int32_t iNameType = 0); |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 FX_FLOAT& fWidth, | 111 FX_FLOAT& fWidth, |
114 FX_FLOAT& fCalcHeight); | 112 FX_FLOAT& fCalcHeight); |
115 void InitLayoutData(); | 113 void InitLayoutData(); |
116 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); | 114 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); |
117 CXFA_FFDocView* m_pDocView; | 115 CXFA_FFDocView* m_pDocView; |
118 CXFA_WidgetLayoutData* m_pLayoutData; | 116 CXFA_WidgetLayoutData* m_pLayoutData; |
119 uint32_t m_nRecursionDepth; | 117 uint32_t m_nRecursionDepth; |
120 }; | 118 }; |
121 | 119 |
122 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ | 120 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ |
OLD | NEW |