/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_document_unittest.cpp | 34 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 …]
|
D | cpdf_document.cpp | 418 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 …]
|
D | cpdf_array.cpp | 29 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()
|
D | cpdf_indirect_object_holder.cpp | 19 return obj && obj->GetObjNum() != CPDF_Object::kInvalidObjNum ? obj : nullptr; in FilterInvalidObjNum() 68 CHECK(!pObj->GetObjNum()); in AddIndirectObject()
|
D | cpdf_dictionary.cpp | 36 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()
|
D | fpdf_parser_utility.cpp | 184 buf << " " << pElement->GetObjNum() << " 0 R"; in operator <<() 200 buf << " " << pValue->GetObjNum() << " 0 R "; in operator <<()
|
D | cpdf_array_unittest.cpp | 154 EXPECT_EQ(elem_obj->GetObjNum(), elem_obj2->GetObjNum()); in TEST()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 91 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 …]
|
D | cpdf_creator.cpp | 264 !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()
|
D | cpdf_pagecontentgenerator_unittest.cpp | 250 pDesc->GetObjNum()); in TEST_F() 280 EXPECT_TRUE(fontDict->GetObjNum()); in TEST_F() 286 EXPECT_TRUE(fontDesc->GetObjNum()); in TEST_F()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_transformpage.cpp | 151 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()
|
D | fpdfedittext.cpp | 80 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()
|
D | fpdfattachment.cpp | 74 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()
|
D | fpdfppo.cpp | 177 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()
|
D | fpdf_flatten.cpp | 179 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()
|
D | fpdfsave.cpp | 161 pData->GetObjNum()); in SaveXFADocumentData() 187 pData->GetObjNum()); in SaveXFADocumentData()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_formfield_unittest.cpp | 23 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()
|
D | cpdf_structtree.cpp | 127 if (pObj->GetObjNum() != pDict->GetObjNum()) in AddTopLevelNode() 139 if (pKidRef && pKidRef->GetRefObjNum() == pDict->GetObjNum()) { in AddTopLevelNode()
|
D | cpdf_dest.cpp | 53 return pDoc->GetPageIndex(pPage->GetObjNum()); in GetPageIndex() 67 return pPage->GetObjNum(); in GetPageObjNum()
|
D | cpdf_structelement.cpp | 89 if (m_pTree->GetPage() && m_pTree->GetPage()->GetObjNum() != PageObjNum) in LoadKid() 106 m_pTree->GetPage()->GetObjNum() != PageObjNum) { in LoadKid()
|
D | cpdf_linklist.cpp | 18 uint32_t objnum = pPage->m_pFormDict->GetObjNum(); in GetPageLinks()
|
D | cpvt_fontmap.cpp | 42 pPDFFont->GetFontDict()->GetObjNum()); in GetAnnotSysPDFFont()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cba_fontmap.cpp | 170 pStream->GetObjNum()); in AddFontToAnnotDict() 188 pStreamResFontList->GetObjNum()); in AddFontToAnnotDict() 192 sAlias, m_pDocument.Get(), pFont->GetFontDict()->GetObjNum()); in AddFontToAnnotDict()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_imageobject.cpp | 69 uint32_t objnum = pStream->GetObjNum(); in MaybePurgeCache()
|
D | cpdf_image.cpp | 242 pCS->AddNew<CPDF_Reference>(m_pDocument.Get(), pCTS->GetObjNum()); in SetImage() 244 pCS->GetObjNum()); in SetImage() 286 pNewStream->GetObjNum()); in SetImage()
|