/external/pdfium/fxjs/xfa/ |
D | cjx_packet.cpp | 33 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in getAttribute() local 34 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in getAttribute() 35 attributeValue = static_cast<CFX_XMLElement*>(pXMLNode)->GetString( in getAttribute() 48 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in setAttribute() local 49 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in setAttribute() 50 static_cast<CFX_XMLElement*>(pXMLNode)->SetString( in setAttribute() 62 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in removeAttribute() local 63 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in removeAttribute() 65 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in removeAttribute() 75 CFX_XMLNode* pXMLNode = GetXFANode()->GetXMLMappingNode(); in content() local [all …]
|
D | cjx_node.cpp | 223 CFX_XMLNode* pXMLNode = pParser->ParseXMLData(expression); in loadXML() local 224 if (!pXMLNode) in loadXML() 228 (pXMLNode->GetType() != FX_XMLNODE_Element || in loadXML() 229 XFA_RecognizeRichText(static_cast<CFX_XMLElement*>(pXMLNode)))) { in loadXML() 251 CFX_XMLNode* pXMLChild = pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in loadXML() 255 pXMLNode->RemoveChildNode(pXMLChild); in loadXML() 260 CFX_XMLNode* pXMLParent = pXMLNode->GetNodeItem(CFX_XMLNode::Parent); in loadXML() 262 pXMLParent->RemoveChildNode(pXMLNode); in loadXML() 264 pFakeXMLRoot->InsertChildNode(pXMLNode); in loadXML()
|
D | cjx_object.cpp | 871 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace() local 872 if (!pXMLNode || pXMLNode->GetType() != FX_XMLNODE_Element) in TryNamespace() 875 return {static_cast<CFX_XMLElement*>(pXMLNode)->GetNamespaceURI()}; in TryNamespace() 881 CFX_XMLNode* pXMLNode = ToNode(GetXFAObject())->GetXMLMappingNode(); in TryNamespace() local 882 if (!pXMLNode || pXMLNode->GetType() != FX_XMLNODE_Element) in TryNamespace() 889 static_cast<CFX_XMLElement*>(pXMLNode), in TryNamespace() 895 return {static_cast<CFX_XMLElement*>(pXMLNode)->GetNamespaceURI()}; in TryNamespace()
|
/external/pdfium/testing/libfuzzer/ |
D | pdf_xml_fuzzer.cc | 26 for (CFX_XMLNode* pXMLNode = in XFA_FDEExtension_GetDocumentNode() local 28 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_FDEExtension_GetDocumentNode() 29 if (pXMLNode->GetType() == FX_XMLNODE_Element) { in XFA_FDEExtension_GetDocumentNode() 32 pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling); in XFA_FDEExtension_GetDocumentNode() 40 return pXMLNode; in XFA_FDEExtension_GetDocumentNode()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.cpp | 183 CFX_XMLNode* pXMLNode, in ComputeStyle() argument 185 auto it = m_mapXMLNodeToParseContext.find(pXMLNode); in ComputeStyle() 195 auto tagProvider = ParseTagInfo(pXMLNode); in ComputeStyle() 217 void CXFA_TextParser::ParseRichText(CFX_XMLNode* pXMLNode, in ParseRichText() argument 219 if (!pXMLNode) in ParseRichText() 222 auto tagProvider = ParseTagInfo(pXMLNode); in ParseRichText() 245 m_mapXMLNodeToParseContext[pXMLNode] = std::move(pTextContext); in ParseRichText() 248 for (CFX_XMLNode* pXMLChild = pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in ParseRichText() 278 CFX_XMLNode* pXMLNode) { in ParseTagInfo() argument 282 if (pXMLNode->GetType() == FX_XMLNODE_Element) { in ParseTagInfo() [all …]
|
D | cxfa_ffdoc.cpp | 178 for (CFX_XMLNode* pXMLNode = in XFA_GetPDFContentsFromPDFXML() local 180 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_GetPDFContentsFromPDFXML() 181 if (pXMLNode->GetType() == FX_XMLNODE_Element) { in XFA_GetPDFContentsFromPDFXML() 182 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in XFA_GetPDFContentsFromPDFXML() 194 for (CFX_XMLNode* pXMLNode = in XFA_GetPDFContentsFromPDFXML() local 196 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in XFA_GetPDFContentsFromPDFXML() 197 if (pXMLNode->GetType() == FX_XMLNODE_Element) { in XFA_GetPDFContentsFromPDFXML() 198 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in XFA_GetPDFContentsFromPDFXML()
|
D | cxfa_textparser.h | 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);
|
D | cxfa_textlayout.cpp | 172 CFX_XMLNode* pXMLNode, in InitBreak() argument 247 m_textParser.GetHorScale(m_pTextProvider, pStyle, pXMLNode)); in InitBreak() 461 CFX_XMLNode* pXMLNode = m_pLoader->m_pXMLNode; in Layout() local 462 if (!pXMLNode) in Layout() 466 for (; pXMLNode; in Layout() 467 pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in Layout() 468 if (!LoadRichText(pXMLNode, szText.width, fLinePos, in Layout() 473 while (!pXMLNode) { in Layout() 474 pXMLNode = pSaveXMLNode->GetNodeItem(CFX_XMLNode::Parent); in Layout() 475 if (pXMLNode == pContainerNode) in Layout() [all …]
|
D | cxfa_textprovider.cpp | 64 CFX_XMLNode* pXMLNode = pBind->GetXMLMappingNode(); in GetTextNode() local 65 ASSERT(pXMLNode); in GetTextNode() 67 pXMLNode->GetNodeItem(CFX_XMLNode::FirstChild); in GetTextNode()
|
D | cxfa_textlayout.h | 68 CFX_XMLNode* pXMLNode, 75 bool LoadRichText(CFX_XMLNode* pXMLNode,
|
D | cxfa_widgetacc.cpp | 615 CFX_XMLNode* pXMLNode = pBind->GetXMLMappingNode(); in SetImageEdit() local 616 ASSERT(pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element); in SetImageEdit() 617 static_cast<CFX_XMLElement*>(pXMLNode)->SetString(L"href", wsHref); in SetImageEdit()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_simple_parser.cpp | 109 for (CFX_XMLNode* pXMLNode = in GetDocumentNode() local 111 pXMLNode; pXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling)) { in GetDocumentNode() 112 if (pXMLNode->GetType() != FX_XMLNODE_Element) in GetDocumentNode() 116 return pXMLNode; in GetDocumentNode() 119 pXMLNode->GetNodeItem(CFX_XMLNode::NextSibling); in GetDocumentNode() 125 return pXMLNode; in GetDocumentNode() 298 WideString GetPlainTextFromRichText(CFX_XMLNode* pXMLNode) { in GetPlainTextFromRichText() argument 299 if (!pXMLNode) in GetPlainTextFromRichText() 303 switch (pXMLNode->GetType()) { in GetPlainTextFromRichText() 305 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in GetPlainTextFromRichText() [all …]
|
D | cxfa_simple_parser.h | 33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode); 64 CFX_XMLNode* pXMLNode, 67 CFX_XMLNode* pXMLNode, 70 CFX_XMLNode* pXMLNode,
|
D | cxfa_dataimporter.cpp | 57 CFX_XMLNode* pXMLNode = pImportDataRoot->GetXMLMappingNode(); in ImportData() local 58 CFX_XMLNode* pParentXMLNode = pXMLNode->GetNodeItem(CFX_XMLNode::Parent); in ImportData() 60 pParentXMLNode->RemoveChildNode(pXMLNode); in ImportData()
|
D | xfa_utils.cpp | 508 CFX_XMLNode* pXMLNode = pDataNode->GetXMLMappingNode(); in XFA_DataExporter_DealWithDataGroupNode() local 509 ASSERT(pXMLNode->GetType() == FX_XMLNODE_Element); in XFA_DataExporter_DealWithDataGroupNode() 510 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in XFA_DataExporter_DealWithDataGroupNode() 517 CFX_XMLNode* pXMLNode = pDataNode->GetXMLMappingNode(); in XFA_DataExporter_DealWithDataGroupNode() local 518 ASSERT(pXMLNode->GetType() == FX_XMLNODE_Element); in XFA_DataExporter_DealWithDataGroupNode() 519 static_cast<CFX_XMLElement*>(pXMLNode)->SetString(L"xfa:dataNode", in XFA_DataExporter_DealWithDataGroupNode()
|
D | cxfa_node.h | 152 void SetXMLMappingNode(CFX_XMLNode* pXMLNode) { m_pXMLNode = pXMLNode; } in SetXMLMappingNode() argument
|
D | xfa_document_datamerger_imp.cpp | 182 CFX_XMLNode* pXMLNode = pDataNode->GetXMLMappingNode(); in CreateDataBinding() local 183 ASSERT(pXMLNode->GetType() == FX_XMLNODE_Element); in CreateDataBinding() 184 static_cast<CFX_XMLElement*>(pXMLNode)->SetString(L"xfa:dataNode", in CreateDataBinding()
|