summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_object.h')
-rw-r--r--xfa/fxfa/parser/cxfa_object.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_object.h b/xfa/fxfa/parser/cxfa_object.h
index a53328ddb9..ce9ce9333b 100644
--- a/xfa/fxfa/parser/cxfa_object.h
+++ b/xfa/fxfa/parser/cxfa_object.h
@@ -16,12 +16,12 @@
enum class XFA_ObjectType {
Object,
List,
- NodeList,
Node,
NodeC,
NodeV,
ModelNode,
TextNode,
+ TreeList,
ContainerNode,
ContentNode,
VariablesThis
@@ -30,7 +30,7 @@ enum class XFA_ObjectType {
class CJX_Object;
class CXFA_Document;
class CXFA_Node;
-class CXFA_NodeList;
+class CXFA_TreeList;
class CXFA_Object : public CFXJSE_HostObject {
public:
@@ -49,7 +49,7 @@ class CXFA_Object : public CFXJSE_HostObject {
m_objectType == XFA_ObjectType::ContentNode ||
m_objectType == XFA_ObjectType::VariablesThis;
}
- bool IsNodeList() const { return m_objectType == XFA_ObjectType::NodeList; }
+ bool IsTreeList() const { return m_objectType == XFA_ObjectType::TreeList; }
bool IsContentNode() const {
return m_objectType == XFA_ObjectType::ContentNode;
}
@@ -63,10 +63,10 @@ class CXFA_Object : public CFXJSE_HostObject {
}
CXFA_Node* AsNode();
- CXFA_NodeList* AsNodeList();
+ CXFA_TreeList* AsTreeList();
const CXFA_Node* AsNode() const;
- const CXFA_NodeList* AsNodeList() const;
+ const CXFA_TreeList* AsTreeList() const;
CJX_Object* JSObject() { return m_pJSObject.get(); }
const CJX_Object* JSObject() const { return m_pJSObject.get(); }
@@ -75,6 +75,8 @@ class CXFA_Object : public CFXJSE_HostObject {
WideStringView GetClassName() const { return m_elementName; }
uint32_t GetClassHashCode() const { return m_elementNameHash; }
+ void GetSOMExpression(WideString& wsSOMExpression);
+
protected:
CXFA_Object(CXFA_Document* pDocument,
XFA_ObjectType objectType,