Home
last modified time | relevance | path

Searched refs:GetObjNum (Results 1 – 25 of 43) sorted by relevance

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_document_unittest.cpp34 pageNode->SetNewFor<CPDF_Reference>("Kids", pDoc, pUnowned->GetObjNum()); in CreatePageTreeNode()
38 pageNode->GetObjNum()); in CreatePageTreeNode()
56 this, AddIndirectObject(CreateNumberedPage(0))->GetObjNum()); in CPDF_TestDocumentForPages()
58 this, AddIndirectObject(CreateNumberedPage(1))->GetObjNum()); in CPDF_TestDocumentForPages()
60 this, AddIndirectObject(CreateNumberedPage(2))->GetObjNum()); in CPDF_TestDocumentForPages()
65 zeroToThree->AddNew<CPDF_Reference>(this, branch1->GetObjNum()); in CPDF_TestDocumentForPages()
67 this, AddIndirectObject(CreateNumberedPage(3))->GetObjNum()); in CPDF_TestDocumentForPages()
73 this, AddIndirectObject(CreateNumberedPage(4))->GetObjNum()); in CPDF_TestDocumentForPages()
75 this, AddIndirectObject(CreateNumberedPage(5))->GetObjNum()); in CPDF_TestDocumentForPages()
80 this, AddIndirectObject(CreateNumberedPage(6))->GetObjNum()); in CPDF_TestDocumentForPages()
[all …]
Dcpdf_document.cpp418 m_PageList[iPage] = pPages->GetObjNum(); in TraversePDFPages()
443 m_PageList[iPage - (*nPagesToGo) + 1] = pKid->GetObjNum(); in TraversePDFPages()
525 if (objnum == pNode->GetObjNum()) in FindPageIndex()
666 m_pRootDict->SetNewFor<CPDF_Reference>("Pages", this, pPages->GetObjNum()); in CreateNewDoc()
673 uint32_t dwObjNum = pDict->GetObjNum(); in CreateNewPage()
698 pKidList->InsertNewAt<CPDF_Reference>(i, this, pPageDict->GetObjNum()); in InsertDeletePDFPage()
700 pPages->GetObjNum()); in InsertDeletePDFPage()
742 pPagesList->AddNew<CPDF_Reference>(this, pPageDict->GetObjNum()); in InsertNewPage()
744 pPageDict->SetNewFor<CPDF_Reference>("Parent", this, pPages->GetObjNum()); in InsertNewPage()
751 m_PageList.insert(m_PageList.begin() + iPage, pPageDict->GetObjNum()); in InsertNewPage()
[all …]
Dcpdf_array.cpp29 if (it && it->GetObjNum() == kInvalidObjNum) in ~CPDF_Array()
163 m_Objects[i] = pdfium::MakeUnique<CPDF_Reference>(pHolder, pNew->GetObjNum()); in ConvertToIndirectObjectAt()
210 !archive->WriteDWord(pElement->GetObjNum()) || in WriteTo()
Dcpdf_indirect_object_holder.cpp19 return obj && obj->GetObjNum() != CPDF_Object::kInvalidObjNum ? obj : nullptr; in FilterInvalidObjNum()
68 CHECK(!pObj->GetObjNum()); in AddIndirectObject()
Dcpdf_dictionary.cpp36 if (it.second && it.second->GetObjNum() == kInvalidObjNum) in ~CPDF_Dictionary()
194 it->second = pdfium::MakeUnique<CPDF_Reference>(pHolder, pObj->GetObjNum()); in ConvertToIndirectObjectFor()
259 !archive->WriteDWord(pValue->GetObjNum()) || in WriteTo()
Dfpdf_parser_utility.cpp184 buf << " " << pElement->GetObjNum() << " 0 R"; in operator <<()
200 buf << " " << pValue->GetObjNum() << " 0 R "; in operator <<()
Dcpdf_array_unittest.cpp154 EXPECT_EQ(elem_obj->GetObjNum(), elem_obj2->GetObjNum()); in TEST()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp91 pArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
97 pStream->GetObjNum()); in GenerateContent()
103 pStream->GetObjNum()); in GenerateContent()
108 pObjArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
113 pContentArray->AddNew<CPDF_Reference>(pDoc, pDirectObj->GetObjNum()); in GenerateContent()
114 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
116 pContentArray->GetObjNum()); in GenerateContent()
121 pStream->GetObjNum()); in GenerateContent()
132 m_pObjHolder->m_pResources->GetObjNum()); in RealizeResource()
190 uint32_t dwObjNum = pStream->GetObjNum(); in ProcessImage()
[all …]
Dcpdf_creator.cpp264 !m_Archive->WriteDWord(pElement->GetObjNum()) || in WriteDirectObj()
301 !m_Archive->WriteDWord(pValue->GetObjNum()) || in WriteDirectObj()
329 if (!WriteIndirectObj(pObj->GetObjNum(), pObj)) in WriteOldIndirectObject()
356 if (!WriteIndirectObj(pObj->GetObjNum(), pObj)) in WriteNewObjs()
387 pair.second->GetObjNum() == CPDF_Object::kInvalidObjNum) { in InitNewObjNumOffsets()
639 !m_Archive->WriteDWord(pValue->GetObjNum()) || in WriteDoc_Stage4()
649 !m_Archive->WriteDWord(m_pDocument->GetRoot()->GetObjNum()) || in WriteDoc_Stage4()
655 !m_Archive->WriteDWord(m_pDocument->GetInfo()->GetObjNum()) || in WriteDoc_Stage4()
665 uint32_t dwObjNum = m_pEncryptDict->GetObjNum(); in WriteDoc_Stage4()
Dcpdf_pagecontentgenerator_unittest.cpp250 pDesc->GetObjNum()); in TEST_F()
280 EXPECT_TRUE(fontDict->GetObjNum()); in TEST_F()
286 EXPECT_TRUE(fontDesc->GetObjNum()); in TEST_F()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp151 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
152 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip()
155 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
156 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_TransFormWithClip()
157 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip()
159 pContentArray->GetObjNum()); in FPDFPage_TransFormWithClip()
301 pArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
304 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
305 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_InsertClipPath()
307 pContentArray->GetObjNum()); in FPDFPage_InsertClipPath()
Dfpdfedittext.cpp80 fontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum()); in LoadFontDesc()
273 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArray->GetObjNum()); in LoadSimpleFont()
278 fontDesc->GetObjNum()); in LoadSimpleFont()
315 pCIDSystemInfo->GetObjNum()); in LoadCompositeFont()
320 fontDesc->GetObjNum()); in LoadCompositeFont()
389 pCIDFont->SetNewFor<CPDF_Reference>("W", pDoc, widthsArray->GetObjNum()); in LoadCompositeFont()
393 pDescendant->AddNew<CPDF_Reference>(pDoc, pCIDFont->GetObjNum()); in LoadCompositeFont()
397 toUnicodeStream->GetObjNum()); in LoadCompositeFont()
Dfpdfattachment.cpp74 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum()); in FPDFDoc_AddAttachment()
82 pFiles->GetObjNum()); in FPDFDoc_AddAttachment()
94 pdfium::MakeUnique<CPDF_Reference>(pDoc, pFile->GetObjNum()), in FPDFDoc_AddAttachment()
254 pEFDict->SetNewFor<CPDF_Reference>("F", pDoc, pFileStream->GetObjNum()); in FPDFAttachment_SetFile()
Dfpdfppo.cpp177 pNewPages->GetObjNum()); in PDFDocInit()
188 m_pDestPDFDoc->NewIndirect<CPDF_Array>()->GetObjNum()); in PDFDocInit()
247 uint32_t dwOldPageObj = pSrcPageDict->GetObjNum(); in ExportPage()
248 uint32_t dwNewPageObj = pCurPageDict->GetObjNum(); in ExportPage()
340 dwNewObjNum = pUnownedClone->GetObjNum(); in GetNewObjId()
Dfpdf_flatten.cpp179 return pNewContents->GetObjNum(); in NewIndirectContentsStream()
208 pContentsStream->GetObjNum()); in SetPageContents()
210 pContentsArray->GetObjNum()); in SetPageContents()
296 uint32_t dwObjNum = pNewXObject->GetObjNum(); in FPDFPage_Flatten()
394 pObj->GetObjNum()); in FPDFPage_Flatten()
Dfpdfsave.cpp161 pData->GetObjNum()); in SaveXFADocumentData()
187 pData->GetObjNum()); in SaveXFADocumentData()
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield_unittest.cpp23 root->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict1->GetObjNum()); in TEST()
33 dict2->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict3->GetObjNum()); in TEST()
39 dict3->SetNewFor<CPDF_Reference>("Parent", &obj_holder, root->GetObjNum()); in TEST()
Dcpdf_structtree.cpp127 if (pObj->GetObjNum() != pDict->GetObjNum()) in AddTopLevelNode()
139 if (pKidRef && pKidRef->GetRefObjNum() == pDict->GetObjNum()) { in AddTopLevelNode()
Dcpdf_dest.cpp53 return pDoc->GetPageIndex(pPage->GetObjNum()); in GetPageIndex()
67 return pPage->GetObjNum(); in GetPageObjNum()
Dcpdf_structelement.cpp89 if (m_pTree->GetPage() && m_pTree->GetPage()->GetObjNum() != PageObjNum) in LoadKid()
106 m_pTree->GetPage()->GetObjNum() != PageObjNum) { in LoadKid()
Dcpdf_linklist.cpp18 uint32_t objnum = pPage->m_pFormDict->GetObjNum(); in GetPageLinks()
Dcpvt_fontmap.cpp42 pPDFFont->GetFontDict()->GetObjNum()); in GetAnnotSysPDFFont()
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp170 pStream->GetObjNum()); in AddFontToAnnotDict()
188 pStreamResFontList->GetObjNum()); in AddFontToAnnotDict()
192 sAlias, m_pDocument.Get(), pFont->GetFontDict()->GetObjNum()); in AddFontToAnnotDict()
/external/pdfium/core/fpdfapi/page/
Dcpdf_imageobject.cpp69 uint32_t objnum = pStream->GetObjNum(); in MaybePurgeCache()
Dcpdf_image.cpp242 pCS->AddNew<CPDF_Reference>(m_pDocument.Get(), pCTS->GetObjNum()); in SetImage()
244 pCS->GetObjNum()); in SetImage()
286 pNewStream->GetObjNum()); in SetImage()

12