Home
last modified time | relevance | path

Searched refs:CFX_XMLNode (Results 1 – 25 of 36) sorted by relevance

12

/external/pdfium/core/fxcrt/xml/
Dcfx_xmlnode.cpp18 CFX_XMLNode::CFX_XMLNode() in CFX_XMLNode() function in CFX_XMLNode
24 FX_XMLNODETYPE CFX_XMLNode::GetType() const { in GetType()
28 CFX_XMLNode::~CFX_XMLNode() { in ~CFX_XMLNode()
32 void CFX_XMLNode::DeleteChildren() { in DeleteChildren()
33 CFX_XMLNode* pChild = m_pChild; in DeleteChildren()
35 CFX_XMLNode* pNext = pChild->m_pNext; in DeleteChildren()
42 int32_t CFX_XMLNode::CountChildNodes() const { in CountChildNodes()
44 CFX_XMLNode* pChild = m_pChild; in CountChildNodes()
52 CFX_XMLNode* CFX_XMLNode::GetChildNode(int32_t index) const { in GetChildNode()
53 CFX_XMLNode* pChild = m_pChild; in GetChildNode()
[all …]
Dcfx_xmlnode.h28 class CFX_XMLNode {
45 CFX_XMLNode();
46 virtual ~CFX_XMLNode();
49 virtual std::unique_ptr<CFX_XMLNode> Clone();
52 CFX_XMLNode* GetChildNode(int32_t index) const;
53 int32_t GetChildNodeIndex(CFX_XMLNode* pNode) const;
54 int32_t InsertChildNode(CFX_XMLNode* pNode, int32_t index = -1);
55 void RemoveChildNode(CFX_XMLNode* pNode);
58 CFX_XMLNode* GetPath(const wchar_t* pPath,
63 CFX_XMLNode* GetNodeItem(CFX_XMLNode::NodeItem eItem) const;
[all …]
Dcfx_xmlparser.h18 class CFX_XMLNode; variable
23 CFX_XMLParser(CFX_XMLNode* pParent,
38 CFX_XMLNode* m_pParent;
39 CFX_XMLNode* m_pChild;
40 std::stack<CFX_XMLNode*> m_NodeStack;
Dcfx_xmlelement.cpp27 std::unique_ptr<CFX_XMLNode> CFX_XMLElement::Clone() { in Clone()
32 CFX_XMLNode* pChild = m_pChild; in Clone()
67 auto* pNode = static_cast<const CFX_XMLNode*>(this); in GetNamespaceURI()
74 pNode = pNode->GetNodeItem(CFX_XMLNode::Parent); in GetNamespaceURI()
84 CFX_XMLNode* pChild = m_pChild; in GetTextData()
Dcfx_xmldoc.cpp22 : m_iStatus(0), m_pRoot(pdfium::MakeUnique<CFX_XMLNode>()) { in CFX_XMLDoc()
52 CFX_XMLNode* pINode) { in SaveXMLNode()
53 CFX_XMLNode* pNode = (CFX_XMLNode*)pINode; in SaveXMLNode()
125 CFX_XMLNode* pChild = pNode->m_pChild; in SaveXMLNode()
127 SaveXMLNode(pXMLStream, static_cast<CFX_XMLNode*>(pChild)); in SaveXMLNode()
Dcfx_xmldoc.h26 CFX_XMLNode* GetRoot() const { return m_pRoot.get(); } in GetRoot()
28 CFX_XMLNode* pNode);
32 std::unique_ptr<CFX_XMLNode> m_pRoot;
Dcfx_xmltext.cpp12 : CFX_XMLNode(), m_wsText(wsText) {} in CFX_XMLText()
20 std::unique_ptr<CFX_XMLNode> CFX_XMLText::Clone() { in Clone()
Dcfx_xmltext.h15 class CFX_XMLText : public CFX_XMLNode {
22 std::unique_ptr<CFX_XMLNode> Clone() override;
Dcfx_xmlattributenode.h16 class CFX_XMLAttributeNode : public CFX_XMLNode {
23 std::unique_ptr<CFX_XMLNode> Clone() override = 0;
Dcfx_xmlchardata.h21 std::unique_ptr<CFX_XMLNode> Clone() override;
/external/pdfium/xfa/fxfa/parser/
Dcxfa_simple_parser.h18 class CFX_XMLNode; variable
32 CFX_XMLNode* ParseXMLData(const ByteString& wsXML);
33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode);
42 CXFA_Node* ParseAsXDPPacket(CFX_XMLNode* pXMLDocumentNode,
44 CXFA_Node* ParseAsXDPPacket_XDP(CFX_XMLNode* pXMLDocumentNode);
45 CXFA_Node* ParseAsXDPPacket_Config(CFX_XMLNode* pXMLDocumentNode);
46 CXFA_Node* ParseAsXDPPacket_Template(CFX_XMLNode* pXMLDocumentNode);
47 CXFA_Node* ParseAsXDPPacket_Form(CFX_XMLNode* pXMLDocumentNode);
48 CXFA_Node* ParseAsXDPPacket_Data(CFX_XMLNode* pXMLDocumentNode);
50 CFX_XMLNode* pXMLDocumentNode,
[all …]
Dcxfa_simple_parser.cpp104 CFX_XMLNode* GetDocumentNode(CFX_XMLDoc* pXMLDoc, in GetDocumentNode()
109 for (CFX_XMLNode* pXMLNode = in GetDocumentNode()
110 pXMLDoc->GetRoot()->GetNodeItem(CFX_XMLNode::FirstChild); in GetDocumentNode()
111 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in GetDocumentNode()
118 for (CFX_XMLNode* pNextNode = in GetDocumentNode()
119 pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling); in GetDocumentNode()
121 pNextNode = pNextNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in GetDocumentNode()
140 bool MatchNodeName(CFX_XMLNode* pNode, in MatchNodeName()
238 CFX_XMLNode* GetDataSetsFromXDP(CFX_XMLNode* pXMLDocumentNode) { in GetDataSetsFromXDP()
252 for (CFX_XMLNode* pDatasetsNode = in GetDataSetsFromXDP()
[all …]
Dcxfa_dataimporter.cpp57 CFX_XMLNode* pXMLNode = pImportDataRoot->GetXMLMappingNode(); in ImportData()
58 CFX_XMLNode* pParentXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::Parent); in ImportData()
Dxfa_utils.cpp212 CFX_XMLNode* pExDataXML = pNode->GetXMLMappingNode(); in RegenerateFormFile_Changed()
216 CFX_XMLNode* pRichTextXML = in RegenerateFormFile_Changed()
217 pExDataXML->GetNodeItem(CFX_XMLNode::FirstChild); in RegenerateFormFile_Changed()
469 CFX_XMLNode* pFakeRoot = pNode->GetNodeItem(CFX_XMLNode::Root); in XFA_FDEExtension_ResolveNamespaceQualifier()
478 for (CFX_XMLNode* pParent = pNode; pParent != pFakeRoot; in XFA_FDEExtension_ResolveNamespaceQualifier()
479 pParent = pParent->GetNodeItem(CFX_XMLNode::Parent)) { in XFA_FDEExtension_ResolveNamespaceQualifier()
508 CFX_XMLNode* pXMLNode = pDataNode->GetXMLMappingNode(); in XFA_DataExporter_DealWithDataGroupNode()
517 CFX_XMLNode* pXMLNode = pDataNode->GetXMLMappingNode(); in XFA_DataExporter_DealWithDataGroupNode()
Dcxfa_node.h21 class CFX_XMLNode; variable
152 void SetXMLMappingNode(CFX_XMLNode* pXMLNode) { m_pXMLNode = pXMLNode; } in SetXMLMappingNode()
153 CFX_XMLNode* GetXMLMappingNode() const { return m_pXMLNode; } in GetXMLMappingNode()
154 CFX_XMLNode* CreateXMLMappingNode();
353 CFX_XMLNode* m_pXMLNode;
/external/pdfium/testing/libfuzzer/
Dpdf_xml_fuzzer.cc19 CFX_XMLNode* XFA_FDEExtension_GetDocumentNode( in XFA_FDEExtension_GetDocumentNode()
25 CFX_XMLNode* pXMLFakeRoot = pXMLDoc->GetRoot(); in XFA_FDEExtension_GetDocumentNode()
26 for (CFX_XMLNode* pXMLNode = in XFA_FDEExtension_GetDocumentNode()
27 pXMLFakeRoot->GetNodeItem(CFX_XMLNode::FirstChild); in XFA_FDEExtension_GetDocumentNode()
28 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_FDEExtension_GetDocumentNode()
31 for (CFX_XMLNode* pNextNode = in XFA_FDEExtension_GetDocumentNode()
32 pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling); in XFA_FDEExtension_GetDocumentNode()
34 pNextNode = pNextNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_FDEExtension_GetDocumentNode()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.h23 class CFX_XMLNode; variable
35 void DoParse(CFX_XMLNode* pXMLContainer, CXFA_TextProvider* pTextProvider);
40 CFX_XMLNode* pXMLNode,
62 CFX_XMLNode* pXMLNode) const;
83 CFX_XMLNode* pXMLNode,
85 CXFA_TextParseContext* GetParseContextFromMap(CFX_XMLNode* pXMLNode);
116 void ParseRichText(CFX_XMLNode* pXMLNode, CFX_CSSComputedStyle* pParentStyle);
117 std::unique_ptr<TagProvider> ParseTagInfo(CFX_XMLNode* pXMLNode);
125 std::map<CFX_XMLNode*, std::unique_ptr<CXFA_TextParseContext>>
Dcxfa_textparser.cpp183 CFX_XMLNode* pXMLNode, in ComputeStyle()
206 void CXFA_TextParser::DoParse(CFX_XMLNode* pXMLContainer, in DoParse()
217 void CXFA_TextParser::ParseRichText(CFX_XMLNode* pXMLNode, in ParseRichText()
248 for (CFX_XMLNode* pXMLChild = pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in ParseRichText()
250 pXMLChild = pXMLChild->GetNodeItem(CFX_XMLNode::NextSibling)) { in ParseRichText()
278 CFX_XMLNode* pXMLNode) { in ParseTagInfo()
369 CFX_XMLNode* pXMLNode) const { in GetHorScale()
385 pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::Parent); in GetHorScale()
498 CFX_XMLNode* pXMLNode, in GetEmbbedObj()
539 CFX_XMLNode* pXMLNode) { in GetParseContextFromMap()
Dcxfa_textlayout.h23 class CFX_XMLNode; variable
62 CFX_XMLNode* GetXMLContainerNode();
68 CFX_XMLNode* pXMLNode,
75 bool LoadRichText(CFX_XMLNode* pXMLNode,
Dcxfa_ffdoc.cpp174 bool XFA_GetPDFContentsFromPDFXML(CFX_XMLNode* pPDFElement, in XFA_GetPDFContentsFromPDFXML()
178 for (CFX_XMLNode* pXMLNode = in XFA_GetPDFContentsFromPDFXML()
179 pPDFElement->GetNodeItem(CFX_XMLNode::FirstChild); in XFA_GetPDFContentsFromPDFXML()
180 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_GetPDFContentsFromPDFXML()
194 for (CFX_XMLNode* pXMLNode = in XFA_GetPDFContentsFromPDFXML()
195 pDocumentElement->GetNodeItem(CFX_XMLNode::FirstChild); in XFA_GetPDFContentsFromPDFXML()
196 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_GetPDFContentsFromPDFXML()
Dcxfa_textprovider.cpp64 CFX_XMLNode* pXMLNode = pBind->GetXMLMappingNode(); in GetTextNode()
66 for (CFX_XMLNode* pXMLChild = in GetTextNode()
67 pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in GetTextNode()
69 pXMLChild = pXMLChild->GetNodeItem(CFX_XMLNode::NextSibling)) { in GetTextNode()
Dcxfa_textlayout.cpp72 CFX_XMLNode* CXFA_TextLayout::GetXMLContainerNode() { in GetXMLContainerNode()
76 CFX_XMLNode* pXMLRoot = m_pTextDataNode->GetXMLMappingNode(); in GetXMLContainerNode()
80 CFX_XMLNode* pXMLContainer = nullptr; in GetXMLContainerNode()
81 for (CFX_XMLNode* pXMLChild = pXMLRoot->GetNodeItem(CFX_XMLNode::FirstChild); in GetXMLContainerNode()
83 pXMLChild = pXMLChild->GetNodeItem(CFX_XMLNode::NextSibling)) { in GetXMLContainerNode()
172 CFX_XMLNode* pXMLNode, in InitBreak()
457 CFX_XMLNode* pContainerNode = GetXMLContainerNode(); in Layout()
461 CFX_XMLNode* pXMLNode = m_pLoader->m_pXMLNode; in Layout()
465 CFX_XMLNode* pSaveXMLNode = m_pLoader->m_pXMLNode; in Layout()
467 pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in Layout()
[all …]
Dcxfa_loadercontext.h15 class CFX_XMLNode; variable
32 CFX_XMLNode* m_pXMLNode;
/external/pdfium/fxjs/xfa/
Dcjx_node.cpp223 CFX_XMLNode* pXMLNode = pParser->ParseXMLData(expression); in loadXML()
240 std::unique_ptr<CFX_XMLNode> pFakeXMLRoot(pFakeRoot->GetXMLMappingNode()); in loadXML()
242 CFX_XMLNode* pThisXMLRoot = GetXFANode()->GetXMLMappingNode(); in loadXML()
251 CFX_XMLNode* pXMLChild = pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in loadXML()
253 CFX_XMLNode* pXMLSibling = in loadXML()
254 pXMLChild->GetNodeItem(CFX_XMLNode::NextSibling); in loadXML()
260 CFX_XMLNode* pXMLParent = pXMLNode->GetNodeItem(CFX_XMLNode::Parent); in loadXML()
293 CFX_XMLNode* pTempXMLNode = GetXFANode()->GetXMLMappingNode(); in loadXML()
296 if (pTempXMLNode && !pTempXMLNode->GetNodeItem(CFX_XMLNode::Parent)) in loadXML()
344 CFX_XMLNode* pElement = nullptr; in saveXML()
Dcjx_packet.cpp33 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in getAttribute()
48 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in setAttribute()
62 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in removeAttribute()
75 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in content()

12