OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_PARSER_CXFA_VALUE_H_ | 7 #ifndef XFA_FXFA_PARSER_CXFA_VALUE_H_ |
8 #define XFA_FXFA_PARSER_CXFA_VALUE_H_ | 8 #define XFA_FXFA_PARSER_CXFA_VALUE_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 #include "xfa/fxfa/parser/cxfa_arc.h" | 11 #include "xfa/fxfa/parser/cxfa_arc.h" |
12 #include "xfa/fxfa/parser/cxfa_data.h" | 12 #include "xfa/fxfa/parser/cxfa_data.h" |
13 #include "xfa/fxfa/parser/cxfa_exdata.h" | 13 #include "xfa/fxfa/parser/cxfa_exdata.h" |
14 #include "xfa/fxfa/parser/cxfa_image.h" | 14 #include "xfa/fxfa/parser/cxfa_image.h" |
15 #include "xfa/fxfa/parser/cxfa_line.h" | 15 #include "xfa/fxfa/parser/cxfa_line.h" |
16 #include "xfa/fxfa/parser/cxfa_rectangle.h" | 16 #include "xfa/fxfa/parser/cxfa_rectangle.h" |
17 #include "xfa/fxfa/parser/cxfa_text.h" | 17 #include "xfa/fxfa/parser/cxfa_text.h" |
18 | 18 |
19 class CXFA_Node; | 19 class CXFA_Node; |
20 | 20 |
21 class CXFA_Value : public CXFA_Data { | 21 class CXFA_Value : public CXFA_Data { |
22 public: | 22 public: |
23 explicit CXFA_Value(CXFA_Node* pNode) : CXFA_Data(pNode) {} | 23 explicit CXFA_Value(CXFA_Node* pNode) : CXFA_Data(pNode) {} |
24 | 24 |
25 XFA_Element GetChildValueClassID(); | 25 XFA_Element GetChildValueClassID(); |
26 FX_BOOL GetChildValueContent(CFX_WideString& wsContent); | 26 bool GetChildValueContent(CFX_WideString& wsContent); |
27 CXFA_Arc GetArc(); | 27 CXFA_Arc GetArc(); |
28 CXFA_Line GetLine(); | 28 CXFA_Line GetLine(); |
29 CXFA_Rectangle GetRectangle(); | 29 CXFA_Rectangle GetRectangle(); |
30 CXFA_Text GetText(); | 30 CXFA_Text GetText(); |
31 CXFA_ExData GetExData(); | 31 CXFA_ExData GetExData(); |
32 CXFA_Image GetImage(); | 32 CXFA_Image GetImage(); |
33 }; | 33 }; |
34 | 34 |
35 #endif // XFA_FXFA_PARSER_CXFA_VALUE_H_ | 35 #endif // XFA_FXFA_PARSER_CXFA_VALUE_H_ |
OLD | NEW |