Home | History | Annotate | Download | only in fpdfsdk

Lines Matching defs:pDoc

51   CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
52 if (!pDoc)
55 return CPDF_NameTree(pDoc, "EmbeddedFiles").GetCount();
60 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
63 if (!pDoc || wsName.IsEmpty())
66 CPDF_Dictionary* pRoot = pDoc->GetRoot();
73 pNames = pDoc->NewIndirect<CPDF_Dictionary>();
74 pRoot->SetNewFor<CPDF_Reference>("Names", pDoc, pNames->GetObjNum());
79 CPDF_Dictionary* pFiles = pDoc->NewIndirect<CPDF_Dictionary>();
81 pNames->SetNewFor<CPDF_Reference>("EmbeddedFiles", pDoc,
86 CPDF_Dictionary* pFile = pDoc->NewIndirect<CPDF_Dictionary>();
92 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles");
94 pdfium::MakeUnique<CPDF_Reference>(pDoc, pFile->GetObjNum()),
104 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
105 if (!pDoc || index < 0)
108 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles");
118 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
119 if (!pDoc || index < 0)
122 CPDF_NameTree nameTree(pDoc, "EmbeddedFiles");
215 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
216 if (!pFile || !pFile->IsDictionary() || !pDoc || len > INT_MAX)
250 CPDF_Stream* pFileStream = pDoc->NewIndirect<CPDF_Stream>(
254 pEFDict->SetNewFor<CPDF_Reference>("F", pDoc, pFileStream->GetObjNum());