• Home
  • Raw
  • Download

Lines Matching refs:pDoc

408   CPDF_Document* pDoc = NULL;  in FPDF_LoadMemDocument()  local
409 pDoc = pParser ? pParser->GetDocument() : NULL; in FPDF_LoadMemDocument()
410 CheckUnSupportError(pDoc, err_code); in FPDF_LoadMemDocument()
426 CPDF_Document* pDoc = NULL; in FPDF_LoadCustomDocument() local
427 pDoc = pParser ? pParser->GetDocument() : NULL; in FPDF_LoadCustomDocument()
428 CheckUnSupportError(pDoc, err_code); in FPDF_LoadCustomDocument()
438 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(doc); in FPDF_GetFileVersion() local
439 if (!pDoc) in FPDF_GetFileVersion()
442 CPDF_Parser* pParser = pDoc->GetParser(); in FPDF_GetFileVersion()
453 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_GetDocPermissions() local
454 if (!pDoc) in FPDF_GetDocPermissions()
461 CPDF_Dictionary* pDict = pDoc->GetParser()->GetEncryptDict(); in FPDF_GetDocPermissions()
466 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_GetSecurityHandlerRevision() local
467 if (!pDoc) in FPDF_GetSecurityHandlerRevision()
470 CPDF_Dictionary* pDict = pDoc->GetParser()->GetEncryptDict(); in FPDF_GetSecurityHandlerRevision()
475 UnderlyingDocumentType* pDoc = UnderlyingFromFPDFDocument(document); in FPDF_GetPageCount() local
476 return pDoc ? pDoc->GetPageCount() : 0; in FPDF_GetPageCount()
481 UnderlyingDocumentType* pDoc = UnderlyingFromFPDFDocument(document); in FPDF_LoadPage() local
482 if (!pDoc) in FPDF_LoadPage()
485 if (page_index < 0 || page_index >= pDoc->GetPageCount()) in FPDF_LoadPage()
489 return pDoc->GetPage(page_index); in FPDF_LoadPage()
491 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_LoadPage()
495 pPage->Load(pDoc, pDict); in FPDF_LoadPage()
742 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_CloseDocument()
743 if (!pDoc) in FPDF_CloseDocument()
745 CPDF_Parser* pParser = pDoc->GetParser(); in FPDF_CloseDocument()
747 delete pDoc; in FPDF_CloseDocument()
974 UnderlyingDocumentType* pDoc = UnderlyingFromFPDFDocument(document); in FPDF_GetPageSizeByIndex() local
975 if (!pDoc) in FPDF_GetPageSizeByIndex()
979 int count = pDoc->GetPageCount(); in FPDF_GetPageSizeByIndex()
982 CPDFXFA_Page* pPage = pDoc->GetPage(page_index); in FPDF_GetPageSizeByIndex()
988 CPDF_Dictionary* pDict = pDoc->GetPage(page_index); in FPDF_GetPageSizeByIndex()
992 page.Load(pDoc, pDict); in FPDF_GetPageSizeByIndex()
1002 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_VIEWERREF_GetPrintScaling() local
1003 if (!pDoc) in FPDF_VIEWERREF_GetPrintScaling()
1005 CPDF_ViewerPreferences viewRef(pDoc); in FPDF_VIEWERREF_GetPrintScaling()
1010 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_VIEWERREF_GetNumCopies() local
1011 if (!pDoc) in FPDF_VIEWERREF_GetNumCopies()
1013 CPDF_ViewerPreferences viewRef(pDoc); in FPDF_VIEWERREF_GetNumCopies()
1019 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_VIEWERREF_GetPrintPageRange() local
1020 if (!pDoc) in FPDF_VIEWERREF_GetPrintPageRange()
1022 CPDF_ViewerPreferences viewRef(pDoc); in FPDF_VIEWERREF_GetPrintPageRange()
1028 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_VIEWERREF_GetDuplex() local
1029 if (!pDoc) in FPDF_VIEWERREF_GetDuplex()
1031 CPDF_ViewerPreferences viewRef(pDoc); in FPDF_VIEWERREF_GetDuplex()
1043 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_CountNamedDests() local
1044 if (!pDoc) in FPDF_CountNamedDests()
1047 CPDF_Dictionary* pRoot = pDoc->GetRoot(); in FPDF_CountNamedDests()
1051 CPDF_NameTree nameTree(pDoc, "Dests"); in FPDF_CountNamedDests()
1068 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_GetNamedDestByName() local
1069 if (!pDoc) in FPDF_GetNamedDestByName()
1072 CPDF_NameTree name_tree(pDoc, "Dests"); in FPDF_GetNamedDestByName()
1073 return name_tree.LookupNamedDest(pDoc, name); in FPDF_GetNamedDestByName()
1140 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_GetNamedDest() local
1141 if (!pDoc) in FPDF_GetNamedDest()
1144 CPDF_Dictionary* pRoot = pDoc->GetRoot(); in FPDF_GetNamedDest()
1150 CPDF_NameTree nameTree(pDoc, "Dests"); in FPDF_GetNamedDest()