Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_document_unittest.cpp35 pageNode->SetNewFor<CPDF_Reference>("Kids", pDoc, pUnowned->GetObjNum()); in CreatePageTreeNode()
39 pageNode->GetObjNum()); in CreatePageTreeNode()
59 this, AddIndirectObject(CreateNumberedPage(0))->GetObjNum()); in CPDF_TestDocumentForPages()
61 this, AddIndirectObject(CreateNumberedPage(1))->GetObjNum()); in CPDF_TestDocumentForPages()
63 this, AddIndirectObject(CreateNumberedPage(2))->GetObjNum()); in CPDF_TestDocumentForPages()
68 zeroToThree->AddNew<CPDF_Reference>(this, branch1->GetObjNum()); in CPDF_TestDocumentForPages()
70 this, AddIndirectObject(CreateNumberedPage(3))->GetObjNum()); in CPDF_TestDocumentForPages()
76 this, AddIndirectObject(CreateNumberedPage(4))->GetObjNum()); in CPDF_TestDocumentForPages()
78 this, AddIndirectObject(CreateNumberedPage(5))->GetObjNum()); in CPDF_TestDocumentForPages()
83 this, AddIndirectObject(CreateNumberedPage(6))->GetObjNum()); in CPDF_TestDocumentForPages()
[all …]
Dcpdf_document.cpp133 m_PageList[iPage] = pPages->GetObjNum(); in TraversePDFPages()
157 m_PageList[iPage - (*nPagesToGo) + 1] = pKid->GetObjNum(); in TraversePDFPages()
252 if (objnum == pNode->GetObjNum()) in FindPageIndex()
358 m_pRootDict->SetNewFor<CPDF_Reference>("Pages", this, pPages->GetObjNum()); in CreateNewDoc()
365 uint32_t dwObjNum = pDict->GetObjNum(); in CreateNewPage()
390 pKidList->InsertNewAt<CPDF_Reference>(i, this, pPageDict->GetObjNum()); in InsertDeletePDFPage()
392 pPages->GetObjNum()); in InsertDeletePDFPage()
434 pPagesList->AddNew<CPDF_Reference>(this, pPageDict->GetObjNum()); in InsertNewPage()
436 pPageDict->SetNewFor<CPDF_Reference>("Parent", this, pPages->GetObjNum()); in InsertNewPage()
443 m_PageList.insert(m_PageList.begin() + iPage, pPageDict->GetObjNum()); in InsertNewPage()
Dcpdf_indirect_object_holder.cpp20 return obj && obj->GetObjNum() != CPDF_Object::kInvalidObjNum ? obj : nullptr; in FilterInvalidObjNum()
69 CHECK(!pObj->GetObjNum()); in AddIndirectObject()
Dfpdf_parser_utility.cpp222 buf << " " << pElement->GetObjNum() << " 0 R"; in operator <<()
238 buf << " " << pValue->GetObjNum() << " 0 R "; in operator <<()
Dcfdf_document.cpp89 buf << "trailer\r\n<</Root " << m_pRootDict->GetObjNum() in WriteToString()
Dcpdf_indirect_object_holder_unittest.cpp63 EXPECT_EQ(kObjNum, mock_holder.GetIndirectObject(kObjNum)->GetObjNum()); in TEST()
Dcpdf_object.cpp179 return pdfium::MakeRetain<CPDF_Reference>(holder, GetObjNum()); in MakeReference()
Dcpdf_array_unittest.cpp175 EXPECT_EQ(elem_obj->GetObjNum(), elem_obj2->GetObjNum()); in TEST()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentmanager.cpp71 contents_stream_->GetObjNum()); in AddStream()
73 new_stream->GetObjNum()); in AddStream()
77 new_contents_array->GetObjNum()); in AddStream()
86 new_stream->GetObjNum()); in AddStream()
94 new_stream->GetObjNum()); in AddStream()
Dcpdf_creator.cpp180 if (!WriteIndirectObj(pObj->GetObjNum(), pObj)) in WriteOldIndirectObject()
207 if (!WriteIndirectObj(pObj->GetObjNum(), pObj)) in WriteNewObjs()
217 pair.second->GetObjNum() == CPDF_Object::kInvalidObjNum) { in InitNewObjNumOffsets()
468 !m_Archive->WriteDWord(m_pDocument->GetRoot()->GetObjNum()) || in WriteDoc_Stage4()
474 !m_Archive->WriteDWord(m_pDocument->GetInfo()->GetObjNum()) || in WriteDoc_Stage4()
484 uint32_t dwObjNum = m_pEncryptDict->GetObjNum(); in WriteDoc_Stage4()
Dcpdf_pagecontentgenerator.cpp186 m_pObjHolder->m_pResources->GetObjNum()); in RealizeResource()
202 pResource->GetObjNum()); in RealizeResource()
328 pImageObj->SetImage(pPageData->GetImage(pStream->GetObjNum())); in ProcessImage()
/external/pdfium/fpdfsdk/
Dfpdf_transformpage.cpp245 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
246 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip()
249 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
250 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_TransFormWithClip()
251 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum()); in FPDFPage_TransFormWithClip()
253 pContentArray->GetObjNum()); in FPDFPage_TransFormWithClip()
417 pArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
420 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
421 pContentArray->AddNew<CPDF_Reference>(pDoc, pContentObj->GetObjNum()); in FPDFPage_InsertClipPath()
423 pContentArray->GetObjNum()); in FPDFPage_InsertClipPath()
Dfpdf_ppo.cpp337 pNewPages->GetObjNum()); in Init()
347 pNewArray->GetObjNum()); in Init()
428 dwNewObjNum = pUnownedClone->GetObjNum(); in GetNewObjId()
516 uint32_t dwOldPageObj = pSrcPageDict->GetObjNum(); in ExportPage()
517 uint32_t dwNewPageObj = pDestPageDict->GetObjNum(); in ExportPage()
642 uint32_t dwSrcPageObjnum = pSrcPageDict->GetObjNum(); in AddSubPage()
675 uint32_t dwSrcPageObj = pSrcPageDict->GetObjNum(); in MakeXObjectFromPage()
676 uint32_t dwNewXobjectObj = pNewXObjectDict->GetObjNum(); in MakeXObjectFromPage()
708 m_XObjectNameToNumberMap[bsXObjectName] = pNewXObject->GetObjNum(); in MakeXObjectFromPage()
709 m_SrcPageXObjectMap[pSrcPageDict->GetObjNum()] = bsXObjectName; in MakeXObjectFromPage()
[all …]
Dfpdf_edittext.cpp111 pFontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum()); in LoadFontDesc()
309 widthsArray->GetObjNum()); in LoadSimpleFont()
314 pFontDesc->GetObjNum()); in LoadSimpleFont()
348 pCIDSystemInfo->GetObjNum()); in LoadCompositeFont()
353 pFontDesc->GetObjNum()); in LoadCompositeFont()
425 pCIDFont->SetNewFor<CPDF_Reference>("W", pDoc, widthsArray->GetObjNum()); in LoadCompositeFont()
430 pDescendant->AddNew<CPDF_Reference>(pDoc, pCIDFont->GetObjNum()); in LoadCompositeFont()
434 toUnicodeStream->GetObjNum()); in LoadCompositeFont()
Dfpdf_attachment.cpp79 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum()); in FPDFDoc_AddAttachment()
87 pFiles->GetObjNum()); in FPDFDoc_AddAttachment()
260 pEFDict->SetNewFor<CPDF_Reference>("F", pDoc, pFileStream->GetObjNum()); in FPDFAttachment_SetFile()
Dfpdf_save.cpp129 pData->GetObjNum()); in SaveXFADocumentData()
149 pData->GetObjNum()); in SaveXFADocumentData()
Dfpdf_flatten.cpp219 pContentsStream->GetObjNum()); in SetPageContents()
221 pContentsArray->GetObjNum()); in SetPageContents()
321 pNewXObject->GetObjNum()); in FPDFPage_Flatten()
399 pObj->GetObjNum()); in FPDFPage_Flatten()
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield_unittest.cpp24 root->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict1->GetObjNum()); in TEST()
34 dict2->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict3->GetObjNum()); in TEST()
40 dict3->SetNewFor<CPDF_Reference>("Parent", &obj_holder, root->GetObjNum()); in TEST()
Dcpdf_structtree.cpp128 if (pObj->GetObjNum() != pDict->GetObjNum()) in AddTopLevelNode()
140 if (pKidRef && pKidRef->GetRefObjNum() == pDict->GetObjNum()) { in AddTopLevelNode()
Dcpdf_structelement.cpp103 if (m_pTree->GetPage()->GetObjNum() != PageObjNum) in LoadKid()
120 m_pTree->GetPage()->GetObjNum() != PageObjNum) { in LoadKid()
Dcpdf_linklist.cpp19 uint32_t objnum = pPage->GetDict()->GetObjNum(); in GetPageLinks()
Dcpvt_fontmap.cpp47 pPDFFont->GetFontDict()->GetObjNum()); in GetAnnotSysPDFFont()
Dcpdf_dest.cpp55 return pDoc->GetPageIndex(pPage->GetObjNum()); in GetDestPageIndex()
/external/pdfium/core/fpdfapi/page/
Dcpdf_imageobject.cpp86 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()
282 pNewStream->GetObjNum()); in SetImage()

12