Home
last modified time | relevance | path

Searched refs:CFX_XMLElement (Results 1 – 25 of 27) sorted by relevance

12

/external/pdfium/core/fxcrt/xml/
Dcfx_xmlnode_unittest.cpp11 WideString ChildrenString(CFX_XMLElement* pParent) { in ChildrenString()
15 result += static_cast<CFX_XMLElement*>(pChild)->GetName(); in ChildrenString()
20 WideString ReverseChildrenString(CFX_XMLElement* pParent) { in ReverseChildrenString()
24 result = static_cast<CFX_XMLElement*>(pChild)->GetName() + result; in ReverseChildrenString()
32 CFX_XMLElement node1(L"node"); in TEST()
33 CFX_XMLElement node2(L"node2"); in TEST()
34 CFX_XMLElement node3(L"node3"); in TEST()
45 CFX_XMLElement node1(L"node"); in TEST()
46 CFX_XMLElement node2(L"node2"); in TEST()
47 CFX_XMLElement node3(L"node3"); in TEST()
[all …]
Dcfx_xmlelement.cpp17 CFX_XMLElement::CFX_XMLElement(const WideString& wsTag) : name_(wsTag) { in CFX_XMLElement() function in CFX_XMLElement
21 CFX_XMLElement::~CFX_XMLElement() = default;
23 CFX_XMLNode::Type CFX_XMLElement::GetType() const { in GetType()
27 CFX_XMLNode* CFX_XMLElement::Clone(CFX_XMLDocument* doc) { in Clone()
28 auto* node = doc->CreateNode<CFX_XMLElement>(name_); in Clone()
41 WideString CFX_XMLElement::GetLocalTagName() const { in GetLocalTagName()
47 WideString CFX_XMLElement::GetNamespacePrefix() const { in GetNamespacePrefix()
52 WideString CFX_XMLElement::GetNamespaceURI() const { in GetNamespaceURI()
61 auto* pElement = static_cast<const CFX_XMLElement*>(pNode); in GetNamespaceURI()
71 WideString CFX_XMLElement::GetTextData() const { in GetTextData()
[all …]
Dcfx_xmlelement_unittest.cpp13 CFX_XMLElement node(L"node"); in TEST()
18 CFX_XMLElement node(L"node"); in TEST()
23 CFX_XMLElement node1(L"node1"); in TEST()
26 CFX_XMLElement node2(L"test:node2"); in TEST()
31 CFX_XMLElement node1(L"node1"); in TEST()
34 CFX_XMLElement node2(L"test:node2"); in TEST()
39 CFX_XMLElement node1(L"node1"); in TEST()
45 CFX_XMLElement node2(L"test:node2"); in TEST()
56 CFX_XMLElement node(L"test:node"); in TEST()
75 CFX_XMLElement node(L"test:node"); in TEST()
[all …]
Dcfx_xmlelement.h17 class CFX_XMLElement final : public CFX_XMLNode {
19 explicit CFX_XMLElement(const WideString& wsTag);
20 ~CFX_XMLElement() override;
38 CFX_XMLElement* GetFirstChildNamed(WideStringView name) const;
39 CFX_XMLElement* GetNthChildNamed(WideStringView name, size_t idx) const;
54 inline CFX_XMLElement* ToXMLElement(CFX_XMLNode* pNode) { in ToXMLElement()
56 ? static_cast<CFX_XMLElement*>(pNode) in ToXMLElement()
60 inline const CFX_XMLElement* ToXMLElement(const CFX_XMLNode* pNode) { in ToXMLElement()
62 ? static_cast<const CFX_XMLElement*>(pNode) in ToXMLElement()
Dcfx_xmlparser_unittest.cpp40 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
65 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
90 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
104 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
118 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
132 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
146 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
160 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
174 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
188 CFX_XMLElement* script = doc->GetRoot()->GetFirstChildNamed(L"script"); in TEST_F()
[all …]
Dcfx_xmldocument.h23 CFX_XMLElement* GetRoot() const { return root_.Get(); } in GetRoot()
39 UnownedPtr<CFX_XMLElement> root_;
Dcfx_xmlinstruction_unittest.cpp97 CFX_XMLElement* root = doc->GetRoot(); in TEST()
130 CFX_XMLElement* root = doc->GetRoot(); in TEST()
134 CFX_XMLElement* node = ToXMLElement(root->GetFirstChild()); in TEST()
Dcfx_xmldocument_unittest.cpp17 auto* node = doc.CreateNode<CFX_XMLElement>(L"elem"); in TEST()
Dcfx_xmldocument.cpp11 root_ = CreateNode<CFX_XMLElement>(L"root"); in CFX_XMLDocument()
Dcfx_xmlparser.h19 class CFX_XMLElement; variable
Dcfx_xmlparser.cpp188 auto* child = doc->CreateNode<CFX_XMLElement>(GetTextData()); in DoSyntaxParse()
272 CFX_XMLElement* elem = ToXMLElement(current_node_); in DoSyntaxParse()
320 CFX_XMLElement* element = ToXMLElement(current_node_); in DoSyntaxParse()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_xmllocale.cpp41 CFX_XMLElement* locale = nullptr; in Create()
44 CFX_XMLElement* elem = ToXMLElement(child); in Create()
57 CFX_XMLElement* locale) in CXFA_XMLLocale()
70 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetDecimalSymbol()
76 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetGroupingSymbol()
82 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetPercentSymbol()
88 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kNumberSymbols); in GetMinusSymbol()
94 CFX_XMLElement* patterns = locale_->GetFirstChildNamed(kCurrencySymbols); in GetCurrencySymbol()
100 CFX_XMLElement* symbols = locale_->GetFirstChildNamed(L"dateTimeSymbols"); in GetDateTimeSymbols()
127 CFX_XMLElement* child = locale_->GetFirstChildNamed(L"calendarSymbols"); in GetCalendarSymbol()
[all …]
Dcxfa_xmllocale.h16 class CFX_XMLElement; variable
23 CFX_XMLElement* locale);
45 WideString GetPattern(CFX_XMLElement* pElement,
53 UnownedPtr<CFX_XMLElement> locale_;
Dxfa_utils.h14 class CFX_XMLElement; variable
19 bool XFA_FDEExtension_ResolveNamespaceQualifier(CFX_XMLElement* pNode,
26 bool XFA_RecognizeRichText(CFX_XMLElement* pRichTextXMLNode);
Dcxfa_dataexporter.cpp40 CFX_XMLElement* pElement = ToXMLElement(pNode->GetXMLMappingNode()); in Export()
55 CFX_XMLElement* pElement = ToXMLElement(pNode->GetXMLMappingNode()); in Export()
75 CFX_XMLElement* pElement = ToXMLElement(pExportNode->GetXMLMappingNode()); in Export()
Dcxfa_document_parser.cpp50 CFX_XMLElement* pElement = ToXMLElement(pNode); in MatchNodeName()
81 bool ResolveAttribute(CFX_XMLElement* pElement, in ResolveAttribute()
102 Optional<WideString> FindAttributeWithNS(CFX_XMLElement* pElement, in FindAttributeWithNS()
156 void ConvertXMLToPlainText(CFX_XMLElement* pRootXMLNode, WideString& wsOutput) { in ConvertXMLToPlainText()
188 CFX_XMLElement* pXMLElement = static_cast<CFX_XMLElement*>(pXMLNode); in GetPlainTextFromRichText()
223 bool XFA_RecognizeRichText(CFX_XMLElement* pRichTextXMLNode) { in XFA_RecognizeRichText()
286 CFX_XMLElement* child = static_cast<CFX_XMLElement*>(pXMLChild); in ConstructXFANode()
396 CFX_XMLElement* pElement = ToXMLElement(pChildItem); in ParseAsXDPPacket_XDP()
500 CFX_XMLElement* pXMLDocumentElement = ToXMLElement(pXMLDocumentNode); in ParseAsXDPPacket_Template()
569 auto* pDataElement = xml_doc_->CreateNode<CFX_XMLElement>(L"xfa:data"); in ParseAsXDPPacket_Data()
[all …]
Dxfa_utils.cpp422 bool XFA_FDEExtension_ResolveNamespaceQualifier(CFX_XMLElement* pNode, in XFA_FDEExtension_ResolveNamespaceQualifier()
439 CFX_XMLElement* pElement = ToXMLElement(pParent); in XFA_FDEExtension_ResolveNamespaceQualifier()
463 CFX_XMLElement* pElement = ToXMLElement(pDataNode->GetXMLMappingNode()); in XFA_DataExporter_DealWithDataGroupNode()
Dcxfa_document.cpp511 CFX_XMLElement* pXMLDataElement = in CreateDataBinding()
540 CFX_XMLElement* pElement = in CreateDataBinding()
656 CFX_XMLElement* pXMLDataElement = in CreateDataBinding()
1618 notify_->GetHDOC()->GetXMLDocument()->CreateNode<CFX_XMLElement>( in DoDataMerge()
1667 notify_->GetHDOC()->GetXMLDocument()->CreateNode<CFX_XMLElement>( in DoDataMerge()
1725 notify_->GetHDOC()->GetXMLDocument()->CreateNode<CFX_XMLElement>( in DoDataMerge()
/external/pdfium/fxjs/xfa/
Dcjx_packet.cpp43 CFX_XMLElement* element = ToXMLElement(GetXFANode()->GetXMLMappingNode()); in getAttribute()
57 CFX_XMLElement* element = ToXMLElement(GetXFANode()->GetXMLMappingNode()); in setAttribute()
71 CFX_XMLElement* pElement = ToXMLElement(GetXFANode()->GetXMLMappingNode()); in removeAttribute()
83 CFX_XMLElement* element = ToXMLElement(GetXFANode()->GetXMLMappingNode()); in content()
Dcjx_object.h23 class CFX_XMLElement; variable
243 CFX_XMLElement* SetValue(XFA_Attribute eAttr, void* pValue, bool bNotify);
Dcjx_object.cpp335 CFX_XMLElement* elem = SetValue(eAttr, (void*)(uintptr_t)bValue, bNotify); in SetBoolean()
347 CFX_XMLElement* elem = SetValue(eAttr, (void*)(uintptr_t)iValue, bNotify); in SetInteger()
385 CFX_XMLElement* elem = SetValue(eAttr, (void*)(uintptr_t)eValue, bNotify); in SetEnum()
476 CFX_XMLElement* elem = ToXMLElement(xfaObj->GetXMLMappingNode()); in SetCData()
524 CFX_XMLElement* CJX_Object::SetValue(XFA_Attribute eAttr, in SetValue()
774 CFX_XMLElement* element = ToXMLElement(pXMLNode); in TryNamespace()
785 CFX_XMLElement* element = ToXMLElement(pXMLNode); in TryNamespace()
Dcjx_node.cpp283 XFA_RecognizeRichText(static_cast<CFX_XMLElement*>(pXMLNode)))) { in loadXML()
301 clone = top_xml_doc->CreateNode<CFX_XMLElement>( in loadXML()
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata.cpp21 void CheckForSharedFormInternal(CFX_XMLElement* element, in CheckForSharedFormInternal()
31 const auto* child_elem = static_cast<const CFX_XMLElement*>(child); in CheckForSharedFormInternal()
55 CFX_XMLElement* pElement = ToXMLElement(child); in CheckForSharedFormInternal()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp47 const CFX_XMLElement* pElement, in GetLowerCaseElementAttributeOrDefault()
294 const CFX_XMLElement* pXMLElement = ToXMLElement(pXMLNode); in ParseTagInfo()
516 const CFX_XMLElement* pElement = ToXMLElement(pXMLNode); in GetEmbeddedObj()
Dcxfa_textprovider.cpp64 CFX_XMLElement* pElement = ToXMLElement(pXMLChild); in GetTextNode()

12