diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_nodelist.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_nodelist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_nodelist.h b/xfa/fxfa/parser/cxfa_nodelist.h index 2fccd5d7a5..ec2176e44d 100644 --- a/xfa/fxfa/parser/cxfa_nodelist.h +++ b/xfa/fxfa/parser/cxfa_nodelist.h @@ -7,6 +7,7 @@ #ifndef XFA_FXFA_PARSER_CXFA_NODELIST_H_ #define XFA_FXFA_PARSER_CXFA_NODELIST_H_ +#include "fxjs/cjx_nodelist.h" #include "xfa/fxfa/fxfa_basic.h" #include "xfa/fxfa/parser/cxfa_object.h" @@ -19,6 +20,8 @@ class CXFA_NodeList : public CXFA_Object { explicit CXFA_NodeList(CXFA_Document* pDocument); ~CXFA_NodeList() override; + CJX_NodeList* JSNodeList() { return static_cast<CJX_NodeList*>(JSObject()); } + CXFA_Node* NamedItem(const WideStringView& wsName); virtual int32_t GetLength() = 0; virtual bool Append(CXFA_Node* pNode) = 0; |