Home
last modified time | relevance | path

Searched refs:pXMLNode (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/testing/fuzzers/
Dpdf_xml_fuzzer.cc29 for (CFX_XMLNode* pXMLNode = doc->GetRoot()->GetFirstChild(); pXMLNode; in LLVMFuzzerTestOneInput() local
30 pXMLNode = pXMLNode->GetNextSibling()) { in LLVMFuzzerTestOneInput()
31 if (pXMLNode->GetType() == CFX_XMLNode::Type::kElement) in LLVMFuzzerTestOneInput()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp199 const CFX_XMLNode* pXMLNode, in ComputeStyle() argument
201 auto it = m_mapXMLNodeToParseContext.find(pXMLNode); in ComputeStyle()
211 auto tagProvider = ParseTagInfo(pXMLNode); in ComputeStyle()
233 void CXFA_TextParser::ParseRichText(const CFX_XMLNode* pXMLNode, in ParseRichText() argument
235 if (!pXMLNode) in ParseRichText()
238 auto tagProvider = ParseTagInfo(pXMLNode); in ParseRichText()
261 m_mapXMLNodeToParseContext[pXMLNode] = std::move(pTextContext); in ParseRichText()
264 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in ParseRichText()
292 const CFX_XMLNode* pXMLNode) { in ParseTagInfo() argument
294 const CFX_XMLElement* pXMLElement = ToXMLElement(pXMLNode); in ParseTagInfo()
[all …]
Dcxfa_textlayout.cpp190 const CFX_XMLNode* pXMLNode, in InitBreak() argument
266 m_textParser.GetHorScale(m_pTextProvider, pStyle, pXMLNode)); in InitBreak()
487 const CFX_XMLNode* pXMLNode = m_pLoader->pXMLNode.Get(); in LayoutInternal() local
488 if (!pXMLNode) in LayoutInternal()
491 const CFX_XMLNode* pSaveXMLNode = pXMLNode; in LayoutInternal()
492 for (; pXMLNode; pXMLNode = pXMLNode->GetNextSibling()) { in LayoutInternal()
493 if (!LoadRichText(pXMLNode, szText.width, &fLinePos, in LayoutInternal()
499 while (!pXMLNode) { in LayoutInternal()
500 pXMLNode = pSaveXMLNode->GetParent(); in LayoutInternal()
501 if (pXMLNode == pContainerNode) in LayoutInternal()
[all …]
Dcxfa_textparser.h42 const CFX_XMLNode* pXMLNode,
64 const CFX_XMLNode* pXMLNode) const;
85 const CFX_XMLNode* pXMLNode);
86 CXFA_TextParseContext* GetParseContextFromMap(const CFX_XMLNode* pXMLNode);
117 std::unique_ptr<TagProvider> ParseTagInfo(const CFX_XMLNode* pXMLNode);
120 void ParseRichText(const CFX_XMLNode* pXMLNode,
Dcxfa_textprovider.cpp61 CFX_XMLNode* pXMLNode = pBind->GetXMLMappingNode(); in GetTextNode() local
62 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in GetTextNode()
Dcxfa_textlayout.h77 const CFX_XMLNode* pXMLNode,
84 bool LoadRichText(const CFX_XMLNode* pXMLNode,
Dcxfa_loadercontext.h38 UnownedPtr<const CFX_XMLNode> pXMLNode; member
/external/pdfium/xfa/fxfa/parser/
Dcxfa_document_parser.cpp38 for (CFX_XMLNode* pXMLNode = pRootNode->GetFirstChild(); pXMLNode; in GetDocumentNode() local
39 pXMLNode = pXMLNode->GetNextSibling()) { in GetDocumentNode()
40 if (pXMLNode->GetType() == CFX_XMLNode::Type::kElement) in GetDocumentNode()
41 return pXMLNode; in GetDocumentNode()
181 WideString GetPlainTextFromRichText(CFX_XMLNode* pXMLNode) { in GetPlainTextFromRichText() argument
182 if (!pXMLNode) in GetPlainTextFromRichText()
186 switch (pXMLNode->GetType()) { in GetPlainTextFromRichText()
188 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in GetPlainTextFromRichText()
206 WideString wsContent = ToXMLText(pXMLNode)->GetText(); in GetPlainTextFromRichText()
213 for (CFX_XMLNode* pChildXML = pXMLNode->GetFirstChild(); pChildXML; in GetPlainTextFromRichText()
[all …]
Dcxfa_document_parser.h33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode);
63 CFX_XMLNode* pXMLNode,
66 CFX_XMLNode* pXMLNode,
69 CFX_XMLNode* pXMLNode,
/external/pdfium/fxjs/xfa/
Dcjx_node.cpp273 CFX_XMLNode* pXMLNode = pParser->ParseXMLData(expression); in loadXML() local
274 if (!pXMLNode) in loadXML()
282 (pXMLNode->GetType() != CFX_XMLNode::Type::kElement || in loadXML()
283 XFA_RecognizeRichText(static_cast<CFX_XMLElement*>(pXMLNode)))) { in loadXML()
308 CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); in loadXML()
311 pXMLNode->RemoveChild(pXMLChild); in loadXML()
316 pXMLNode->RemoveSelfIfParented(); in loadXML()
317 pFakeXMLRoot->AppendLastChild(pXMLNode); in loadXML()
Dcjx_object.cpp773 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace() local
774 CFX_XMLElement* element = ToXMLElement(pXMLNode); in TryNamespace()
784 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace() local
785 CFX_XMLElement* element = ToXMLElement(pXMLNode); in TryNamespace()