Home
last modified time | relevance | path

Searched refs:GetObjectFor (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_dictionary.cpp86 const CPDF_Object* CPDF_Dictionary::GetObjectFor(const ByteString& key) const { in GetObjectFor() function in CPDF_Dictionary
91 CPDF_Object* CPDF_Dictionary::GetObjectFor(const ByteString& key) { in GetObjectFor() function in CPDF_Dictionary
93 static_cast<const CPDF_Dictionary*>(this)->GetObjectFor(key)); in GetObjectFor()
98 const CPDF_Object* p = GetObjectFor(key); in GetDirectObjectFor()
108 const CPDF_Object* p = GetObjectFor(key); in GetStringFor()
113 const CPDF_Object* p = GetObjectFor(key); in GetUnicodeTextFor()
121 const CPDF_Object* p = GetObjectFor(key); in GetStringFor()
126 const CPDF_Object* p = GetObjectFor(key); in GetIntegerFor()
131 const CPDF_Object* p = GetObjectFor(key); in GetIntegerFor()
136 const CPDF_Object* p = GetObjectFor(key); in GetNumberFor()
[all …]
Dcpdf_object_stream.cpp35 ToNumber(stream_dict->GetObjectFor("N")); in IsObjectsStreamObject()
44 ToNumber(stream_dict->GetObjectFor("First")); in IsObjectsStreamObject()
68 ToReference(obj_stream->GetDict()->GetObjectFor("Extends"))) { in CPDF_ObjectStream()
Dcpdf_cross_ref_avail.cpp149 if (ToReference(trailer->GetObjectFor(kEncryptKey))) { in CheckCrossRefV4Trailer()
185 if (ToReference(trailer->GetObjectFor(kEncryptKey))) { in CheckCrossRefStream()
190 const CPDF_Name* type_name = ToName(trailer->GetObjectFor(kTypeFieldKey)); in CheckCrossRefStream()
Dcpdf_data_avail.cpp43 CPDF_Object* result = dictionary_to_check->GetObjectFor("Resources"); in GetResourceObject()
46 CPDF_Object* parent = dictionary_to_check->GetObjectFor("Parent"); in GetResourceObject()
265 ToReference(m_pRoot ? m_pRoot->GetObjectFor("Pages") : nullptr); in CheckRoot()
279 ToReference(pRoot ? pRoot->GetObjectFor("Pages") : nullptr); in PreparePageItem()
348 CPDF_Object* pKids = pDict ? pDict->GetObjectFor("Kids") : nullptr; in GetPageKids()
595 CPDF_Object* pKids = pDict->GetObjectFor("Kids"); in CheckUnknownPageNode()
975 CPDF_Object* pAcroForm = pRoot->GetObjectFor("AcroForm"); in CheckAcroForm()
Dcpdf_dictionary.h49 const CPDF_Object* GetObjectFor(const ByteString& key) const;
50 CPDF_Object* GetObjectFor(const ByteString& key);
Dfpdf_parser_utility.cpp90 const CPDF_Number* pObj = ToNumber(pDict->GetObjectFor(key)); in GetDirectInteger()
169 const CPDF_Name* name_obj = ToName(dict->GetObjectFor("Type")); in ValidateDictType()
Dcpdf_object_unittest.cpp145 if (!Equal(item.second.Get(), dict2->GetObjectFor(item.first))) in Equal()
882 CPDF_Object* obj = dict->GetObjectFor("foo"); in TEST()
893 CPDF_Object* cloned_obj = cloned_dict->GetObjectFor("foo"); in TEST()
912 EXPECT_EQ(nullptr, cloned_dict->AsDictionary()->GetObjectFor("arr")); in TEST()
928 EXPECT_EQ(nullptr, cloned_dict->AsDictionary()->GetObjectFor("stream")); in TEST()
951 CPDF_Object* cloned_arr = cloned_dict->GetObjectFor("arr"); in TEST()
966 CPDF_Object* pRef = dict->GetObjectFor("clams"); in TEST()
Dcpdf_parser.cpp207 ToReference(GetRoot()->GetObjectFor("Metadata")); in StartParseInternal()
809 const CPDF_Object* pEncryptObj = GetTrailer()->GetObjectFor("Encrypt"); in GetEncryptDict()
844 ? m_CrossRefTable->trailer()->GetObjectFor("Info") in GetInfoObjNum()
852 ? m_CrossRefTable->trailer()->GetObjectFor("Root") in GetRootObjNum()
1033 ToReference(GetRoot()->GetObjectFor("Metadata"))) in StartLinearizedParse()
Dcpdf_linearized_header.cpp32 const CPDF_Number* pNum = ToNumber(pDict->GetObjectFor(key)); in IsValidNumericDictionaryValue()
Dcpdf_object_walker_unittest.cpp141 EXPECT_EQ(walker.GetParent()->AsDictionary()->GetObjectFor( in TEST()
Dcpdf_hint_tables.cpp447 CPDF_Object* pOffset = pDict ? pDict->GetObjectFor("S") : nullptr; in LoadHintStream()
/external/pdfium/core/fpdfdoc/
Dcpdf_structelement.cpp72 const CPDF_Object* pObj = pDict->GetObjectFor("Pg"); in LoadKids()
115 if (const CPDF_Reference* pRef = ToReference(pKidDict->GetObjectFor("Pg"))) in LoadKid()
126 const CPDF_Reference* pRef = ToReference(pKidDict->GetObjectFor("Stm")); in LoadKid()
135 const CPDF_Reference* pObj = ToReference(pKidDict->GetObjectFor("Obj")); in LoadKid()
Dcpdf_viewerpreferences.cpp49 const CPDF_Name* pName = ToName(pDict->GetObjectFor(bsKey)); in GenericName()
Dcpdf_action.cpp38 const CPDF_Object* pType = m_pDict->GetObjectFor("Type"); in GetType()
Dcba_fontmap.cpp319 if (ToDictionary(pAPDict->GetObjectFor(m_sAPType))) in AddFontToAnnotDict()
/external/pdfium/fpdfsdk/
Dfpdf_ppo.cpp150 pDict->GetObjectFor(pdfium::page_object::kType)->GetDirect(); in PageDictGetInheritableTag()
157 pDict->GetObjectFor(pdfium::page_object::kParent)->GetDirect()); in PageDictGetInheritableTag()
162 return pDict->GetObjectFor(bsSrcTag); in PageDictGetInheritableTag()
166 return pp->GetObjectFor(bsSrcTag); in PageDictGetInheritableTag()
170 pp->GetObjectFor(pdfium::page_object::kParent)->GetDirect()); in PageDictGetInheritableTag()
331 CPDF_Object* pElement = pNewRoot->GetObjectFor("Pages"); in Init()
Dfpdf_editpage.cpp67 const CPDF_Object* pObject = pFormDict->GetObjectFor("Type")->GetDirect(); in IsPageObject()
406 const CPDF_Object* pObject = pParams->GetObjectFor(key); in FPDFPageObjMark_GetParamValueType()
421 const CPDF_Object* pObj = pParams->GetObjectFor(key); in FPDFPageObjMark_GetParamIntValue()
442 const CPDF_Object* pObj = pParams->GetObjectFor(key); in FPDFPageObjMark_GetParamStringValue()
464 const CPDF_Object* pObj = pParams->GetObjectFor(key); in FPDFPageObjMark_GetParamBlobValue()
Dfpdf_attachment.cpp161 CPDF_Object* pObj = spec.GetParamsDict()->GetObjectFor(key); in FPDFAttachment_GetValueType()
203 CPDF_String* stringValue = pParamsDict->GetObjectFor(bsKey)->AsString(); in FPDFAttachment_GetStringValue()
Dfpdf_ext.cpp94 const CPDF_Object* pName = pRoot->GetObjectFor("PageMode"); in FPDFDoc_GetPageMode()
Dfpdf_structtree.cpp84 const CPDF_Object* p = elem ? elem->GetDict()->GetObjectFor("K") : nullptr; in FPDF_StructElement_GetMarkedContentID()
Dfpdf_save.cpp63 CPDF_Object* pXFA = pAcroForm->GetObjectFor("XFA"); in SaveXFADocumentData()
Dfpdf_annot.cpp754 CPDF_Object* pObj = pAnnot->GetAnnotDict()->GetObjectFor(key); in FPDFAnnot_GetValueType()
794 const CPDF_Object* p = pAnnotDict->GetObjectFor(key); in FPDFAnnot_GetNumberValue()
/external/pdfium/core/fpdfapi/page/
Dcpdf_expintfunc.cpp26 const CPDF_Number* pExponent = ToNumber(pDict->GetObjectFor("N")); in v_Init()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentmanager.cpp23 CPDF_Object* contents_obj = page_dict->GetObjectFor("Contents"); in CPDF_PageContentManager()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp461 const CPDF_Array* pArray = ToArray(pAcroForm->GetObjectFor("XFA")); in ExportData()
742 const CPDF_Array* pArray = ToArray(pAcroForm->GetObjectFor("XFA")); in ExportSubmitFile()

12