Home | History | Annotate | Download | only in fpdfsdk

Lines Matching refs:pDoc

26   CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
27 if (!pDoc)
30 CPDF_Font* pFont = CPDF_Font::GetStockFont(pDoc, CFX_ByteStringC(font));
54 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
55 if (!pDoc || !data || size == 0)
64 CPDF_Dictionary* fontDict = pDoc->NewIndirect<CPDF_Dictionary>();
76 CPDF_Array* widthsArray = pDoc->NewIndirect<CPDF_Array>();
88 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArray->GetObjNum());
89 CPDF_Dictionary* fontDesc = pDoc->NewIndirect<CPDF_Dictionary>();
126 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>();
128 fontDesc->SetNewFor<CPDF_Reference>("FontFile", pDoc, pStream->GetObjNum());
129 fontDict->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc,
131 return pDoc->LoadFont(fontDict);