Home
last modified time | relevance | path

Searched refs:pElement (Results 1 – 25 of 42) sorted by relevance

12

/external/pdfium/xfa/fxfa/parser/
Dcxfa_dataexporter.cpp61 CFX_XMLElement* pElement = in Export() local
63 if (!pElement || pElement->GetType() != FX_XMLNODE_Element) in Export()
69 pXMLDoc->SaveXMLNode(pStream, pElement); in Export()
78 CFX_XMLElement* pElement = in Export() local
80 if (!pElement || pElement->GetType() != FX_XMLNODE_Element) in Export()
83 pXMLDoc->SaveXMLNode(pStream, pElement); in Export()
99 CFX_XMLElement* pElement = in Export() local
101 if (!pElement || pElement->GetType() != FX_XMLNODE_Element) in Export()
105 pElement->SetString(L"xmlns:xfa", L"http://www.xfa.org/schema/xfa-data/1.0/"); in Export()
106 pXMLDoc->SaveXMLNode(pStream, pElement); in Export()
[all …]
Dcxfa_xmllocale.cpp63 CXML_Element* pElement = in GetNumbericSymbol() local
65 if (!pElement) in GetNumbericSymbol()
69 pElement, ByteStringView(bsSymbols.c_str(), bsSymbols.GetLength() - 1), in GetNumbericSymbol()
141 CXML_Element* pElement = m_pLocaleData->GetElement("", "datePatterns", 0); in GetDatePattern() local
142 if (!pElement) in GetDatePattern()
161 return GetPattern(pElement, "datePattern", wsName.AsStringView()); in GetDatePattern()
166 CXML_Element* pElement = m_pLocaleData->GetElement("", "timePatterns", 0); in GetTimePattern() local
167 if (!pElement) in GetTimePattern()
186 return GetPattern(pElement, "timePattern", wsName.AsStringView()); in GetTimePattern()
195 WideString CXFA_XMLLocale::GetPattern(CXML_Element* pElement, in GetPattern() argument
[all …]
Dcxfa_simple_parser.cpp130 WideString GetElementTagNamespaceURI(CFX_XMLElement* pElement) { in GetElementTagNamespaceURI() argument
131 WideString wsNodeStr = pElement->GetNamespacePrefix(); in GetElementTagNamespaceURI()
133 if (!XFA_FDEExtension_ResolveNamespaceQualifier(pElement, wsNodeStr, in GetElementTagNamespaceURI()
147 CFX_XMLElement* pElement = reinterpret_cast<CFX_XMLElement*>(pNode); in MatchNodeName() local
148 WideString wsNodeStr = pElement->GetLocalTagName(); in MatchNodeName()
152 wsNodeStr = GetElementTagNamespaceURI(pElement); in MatchNodeName()
175 bool ResolveAttribute(CFX_XMLElement* pElement, in ResolveAttribute() argument
188 if (!XFA_FDEExtension_ResolveNamespaceQualifier(pElement, wsNSPrefix, in ResolveAttribute()
196 bool FindAttributeWithNS(CFX_XMLElement* pElement, in FindAttributeWithNS() argument
201 if (!pElement) in FindAttributeWithNS()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_structtree.cpp96 auto pElement = pdfium::MakeRetain<CPDF_StructElement>(this, nullptr, pDict); in AddPageNode() local
97 (*map)[pDict] = pElement; in AddPageNode()
100 if (!AddTopLevelNode(pDict, pElement)) in AddPageNode()
102 return pElement; in AddPageNode()
110 kid.m_pElement = pElement; in AddPageNode()
116 return pElement; in AddPageNode()
121 const RetainPtr<CPDF_StructElement>& pElement) { in AddTopLevelNode() argument
129 m_Kids[0] = pElement; in AddTopLevelNode()
140 m_Kids[i] = pElement; in AddTopLevelNode()
Dcpdf_interform.cpp116 CPDF_Dictionary* pElement = pFonts->GetDictFor(csAlias); in GetFont() local
117 if (!pElement) in GetFont()
120 if (pElement->GetStringFor("Type") == "Font") in GetFont()
121 return pDocument->LoadFont(pElement); in GetFont()
145 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in GetNativeFont() local
146 if (!pElement) in GetNativeFont()
148 if (pElement->GetStringFor("Type") != "Font") in GetNativeFont()
150 CPDF_Font* pFind = pDocument->LoadFont(pElement); in GetNativeFont()
184 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindFont() local
185 if (!pElement) in FindFont()
[all …]
Dcpdf_formcontrol.cpp288 CPDF_Dictionary* pElement = pFonts->GetDictFor(csFontNameTag); in GetDefaultControlFont() local
289 if (pElement) { in GetDefaultControlFont()
291 m_pField->GetForm()->GetDocument()->LoadFont(pElement); in GetDefaultControlFont()
305 CPDF_Dictionary* pElement = pFonts->GetDictFor(csFontNameTag); in GetDefaultControlFont() local
306 if (pElement) { in GetDefaultControlFont()
308 m_pField->GetForm()->GetDocument()->LoadFont(pElement); in GetDefaultControlFont()
Dcpdf_structtree.h39 CPDF_Dictionary* pElement,
43 const RetainPtr<CPDF_StructElement>& pElement);
/external/pdfium/fpdfsdk/
Dfpdf_ext.cpp78 bool CheckSharedForm(const CXML_Element* pElement, ByteString cbName) { in CheckSharedForm() argument
79 size_t count = pElement->CountAttrs(); in CheckSharedForm()
84 pElement->GetAttrByIndex(i, &space, &name, &value); in CheckSharedForm()
88 pElement->GetElement("adhocwf", cbName.AsStringView(), 0); in CheckSharedForm()
108 size_t nCount = pElement->CountChildren(); in CheckSharedForm()
110 CXML_Element* pChild = ToElement(pElement->GetChild(i)); in CheckSharedForm()
158 const CXML_Element* pElement = metaData.GetRoot(); in CheckUnSupportError() local
159 if (pElement) in CheckUnSupportError()
160 CheckSharedForm(pElement, "workflowType"); in CheckUnSupportError()
/external/pdfium/core/fxcrt/xml/
Dcxml_parser.cpp383 auto pElement = pdfium::MakeUnique<CXML_Element>( in ParseElementInternal() local
410 pElement->SetAttribute(attr_space, attr_name, attr_value); in ParseElementInternal()
418 return pElement; in ParseElementInternal()
424 return pElement; in ParseElementInternal()
432 return pElement; in ParseElementInternal()
473 pElement.get()); in ParseElementInternal()
480 ParseElementInternal(pElement.get(), true, nDepth + 1); in ParseElementInternal()
484 pElement->AppendChild(std::move(pSubElement)); in ParseElementInternal()
514 InsertContentSegment(bCDATA, dataStr.AsStringView(), pElement.get()); in ParseElementInternal()
518 return pElement; in ParseElementInternal()
[all …]
Dcxml_element.cpp60 const CXML_Element* pElement = this; in GetNamespaceURI() local
64 pwsSpace = pElement->Lookup("", "xmlns"); in GetNamespaceURI()
66 pwsSpace = pElement->Lookup("xmlns", qName); in GetNamespaceURI()
70 pElement = pElement->GetParent(); in GetNamespaceURI()
71 } while (pElement); in GetNamespaceURI()
Dcfx_xmlelement.cpp72 auto* pElement = static_cast<const CFX_XMLElement*>(pNode); in GetNamespaceURI() local
73 if (!pElement->HasAttribute(wsAttri)) { in GetNamespaceURI()
77 return pElement->GetString(wsAttri); in GetNamespaceURI()
Dcxml_parser.h41 CXML_Element* pElement);
42 void InsertCDATASegment(CFX_UTF8Decoder& decoder, CXML_Element* pElement);
/external/parameter-framework/upstream/parameter/
DComponentInstance.cpp121 void CComponentInstance::populate(CElement *pElement) const in populate()
132 pElement->addChild(pChildComponent); in populate()
139 base::populate(pElement); in populate()
141 _pComponentType->populate(static_cast<CComponent *>(pElement)); in populate()
DParameterBlockType.cpp55 void CParameterBlockType::populate(CElement *pElement) const in populate()
67 pElement->addChild(pChildParameterBlock); in populate()
73 base::populate(pElement); in populate()
DComponentType.cpp114 void CComponentType::populate(CElement *pElement) const in populate()
117 base::populate(pElement); in populate()
123 _pExtendsComponentType->populate(pElement); in populate()
DTypeElement.cpp88 void CTypeElement::populate(CElement *pElement) const in populate()
103 pElement->addChild(pInstanceConfigurableChildElement); in populate()
DParameterBlockType.h49 void populate(CElement *pElement) const override;
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_utility.cpp182 CPDF_Object* pElement = p->GetObjectAt(i); in operator <<() local
183 if (pElement && !pElement->IsInline()) { in operator <<()
184 buf << " " << pElement->GetObjNum() << " 0 R"; in operator <<()
186 buf << pElement; in operator <<()
Dcpdf_array.cpp207 CPDF_Object* pElement = GetObjectAt(i); in WriteTo() local
208 if (!pElement->IsInline()) { in WriteTo()
210 !archive->WriteDWord(pElement->GetObjNum()) || in WriteTo()
214 } else if (!pElement->WriteTo(archive)) { in WriteTo()
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp128 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindResFontSameCharset() local
129 if (!pElement) in FindResFontSameCharset()
131 if (pElement->GetStringFor("Type") != "Font") in FindResFontSameCharset()
134 CPDF_Font* pFont = pDocument->LoadFont(pElement); in FindResFontSameCharset()
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp43 CPDF_Object* pElement = it.second.get(); in ProcessExtGS() local
44 CPDF_Object* pObject = pElement ? pElement->GetDirect() : nullptr; in ProcessExtGS()
/external/pdfium/fxjs/
Dcjs_globaldata.cpp314 for (const auto& pElement : m_arrayGlobalData) { in SaveGlobalPersisitentVariables() local
315 if (pElement->bPersistent) { in SaveGlobalPersisitentVariables()
317 MakeByteString(pElement->data.sKey, &pElement->data, sElement); in SaveGlobalPersisitentVariables()
/external/pdfium/fxjs/xfa/
Dcjx_node.cpp344 CFX_XMLNode* pElement = nullptr; in saveXML() local
346 pElement = GetXFANode()->GetXMLMappingNode(); in saveXML()
347 if (!pElement || pElement->GetType() != FX_XMLNODE_Element) { in saveXML()
364 pElement->SaveXMLNode(pStream); in saveXML()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp412 CPDF_Object* pElement = pDiffs->GetDirectObjectAt(i); in LoadPDFEncoding() local
413 if (!pElement) in LoadPDFEncoding()
416 if (CPDF_Name* pName = pElement->AsName()) { in LoadPDFEncoding()
421 cur_code = pElement->GetInteger(); in LoadPDFEncoding()
/external/pdfium/xfa/fxfa/
Dcxfa_textprovider.cpp71 CFX_XMLElement* pElement = static_cast<CFX_XMLElement*>(pXMLChild); in GetTextNode() local
72 if (XFA_RecognizeRichText(pElement)) in GetTextNode()

12