• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FXFA_PARSER_CXFA_VALUE_H_
8 #define XFA_FXFA_PARSER_CXFA_VALUE_H_
9 
10 #include "core/fxcrt/fx_string.h"
11 #include "xfa/fxfa/parser/cxfa_arc.h"
12 #include "xfa/fxfa/parser/cxfa_data.h"
13 #include "xfa/fxfa/parser/cxfa_exdata.h"
14 #include "xfa/fxfa/parser/cxfa_image.h"
15 #include "xfa/fxfa/parser/cxfa_line.h"
16 #include "xfa/fxfa/parser/cxfa_rectangle.h"
17 #include "xfa/fxfa/parser/cxfa_text.h"
18 
19 class CXFA_Node;
20 
21 class CXFA_Value : public CXFA_Data {
22  public:
CXFA_Value(CXFA_Node * pNode)23   explicit CXFA_Value(CXFA_Node* pNode) : CXFA_Data(pNode) {}
24 
25   XFA_Element GetChildValueClassID();
26   bool GetChildValueContent(CFX_WideString& wsContent);
27   CXFA_Arc GetArc();
28   CXFA_Line GetLine();
29   CXFA_Rectangle GetRectangle();
30   CXFA_Text GetText();
31   CXFA_ExData GetExData();
32   CXFA_Image GetImage();
33 };
34 
35 #endif  // XFA_FXFA_PARSER_CXFA_VALUE_H_
36