7#ifndef XFA_FXFA_PARSER_CXFA_DOCUMENT_BUILDER_H_
8#define XFA_FXFA_PARSER_CXFA_DOCUMENT_BUILDER_H_
10#include "core/fxcrt/unowned_ptr.h"
11#include "v8/include/cppgc/macros.h"
12#include "xfa/fxfa/fxfa_basic.h"
18class CFX_XMLInstruction;
21 CPPGC_STACK_ALLOCATED();
40 CXFA_Node* ParseAsXDPPacket_LocaleConnectionSourceSet(
51 void ParseContentNode(
CXFA_Node* pXFANode,
60 void ParseInstruction(
CXFA_Node* pXFANode,
61 CFX_XMLInstruction* pXMLInstruction,
67 size_t execute_recursion_depth_ = 0;
friend class EventParamScope
void AppendNodesFrom(CFX_XMLDocument *other)
virtual void Save(const RetainPtr< IFX_RetainableWriteStream > &pXMLStream)=0
virtual CFX_XMLNode * Clone(CFX_XMLDocument *doc)=0
virtual Type GetType() const =0
static CJS_Result Success()
static CJS_Result Failure(JSMessage id)
bool DynamicTypeIs(TypeTag eType) const override
CJX_Node(CXFA_Node *node)
XFA_EventError execSingleEventByName(WideStringView wsEventName, XFA_Element eType)
WideString GetAttributeByString(WideStringView attr) const
void DefineMethods(pdfium::span< const CJX_MethodSpec > methods)
WideString GetContent(bool bScriptModify) const
void ThrowInvalidPropertyException(v8::Isolate *pIsolate) const
CXFA_Document * GetDocument() const
void SetAttributeByString(WideStringView wsAttr, const WideString &wsValue)
WideString GetCData(XFA_Attribute eAttr) const
CXFA_Node * GetXFANode() const
bool DynamicTypeIs(TypeTag eType) const override
bool BuildDocument(CFX_XMLDocument *pXML, XFA_PacketType ePacketID)
void ConstructXFANode(CXFA_Node *pXFANode, CFX_XMLNode *pXMLNode)
CXFA_DocumentBuilder(CXFA_Document *pNodeFactory)
CFX_XMLNode * Build(CFX_XMLDocument *pXML)
CXFA_Node * GetRootNode() const
XFA_EventError ExecEventByDeepFirst(CXFA_Node *pFormNode, XFA_EVENTTYPE eEventType, bool bIsFormReady, bool bRecursive)
CFX_XMLNode * GetXMLMappingNode() const
void RemoveChildAndNotify(CXFA_Node *pNode, bool bNotify)
void InsertChildAndNotify(CXFA_Node *pNode, CXFA_Node *pBeforeNode)
void SetFlag(XFA_NodeFlag dwFlag)
void SetXMLMappingNode(CFX_XMLNode *node)
void SetInitializedFlagAndNotify()
XFA_Element GetElementType() const
WideString(const WideString &other)
static WideString FromASCII(ByteStringView str)
bool XFA_RecognizeRichText(CFX_XMLElement *pRichTextXMLNode)