HomeSort by relevance Sort by last modified time
    Searched defs:pDoc (Results 1 - 22 of 22) sorted by null

  /external/pdfium/fpdfsdk/
fpdfeditimg.cpp 18 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
19 if (!pDoc)
23 pImageObj->SetOwnedImage(pdfium::MakeUnique<CPDF_Image>(pDoc));
fpdfedittext.cpp 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>()
    [all...]
fpdf_dataavail.cpp 165 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(doc);
166 return pDoc ? pDoc->GetParser()->GetFirstPageNo() : 0;
fpdf_ext.cpp 49 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot) {
119 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) {
125 if (!pDoc)
129 CPDF_Dictionary* pRootDict = pDoc->GetRoot();
159 CPDF_Metadata metaData(pDoc);
166 CPDF_InterForm interform(pDoc);
173 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
174 if (!pDoc)
177 CPDF_Dictionary* pRoot = pDoc->GetRoot();
fpdfeditpage.cpp 66 CPDF_Document* pDoc = new CPDF_Document(nullptr);
67 pDoc->CreateNewDoc();
84 pInfoDict = pDoc->GetInfo();
91 return FPDFDocumentFromCPDFDocument(pDoc);
95 if (UnderlyingDocumentType* pDoc = UnderlyingFromFPDFDocument(document))
96 pDoc->DeletePage(page_index);
103 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
104 if (!pDoc)
107 page_index = std::min(std::max(page_index, 0), pDoc->GetPageCount());
108 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index)
    [all...]
cpdfsdk_pageview.cpp 490 CPDF_Document* pDoc = m_pFormFillEnv->GetPDFDocument();
491 return (pDoc && pDict) ? pDoc->GetPageIndex(pDict->GetObjNum()) : -1;
fpdf_transformpage.cpp 129 CPDF_Document* pDoc = pPage->m_pDocument;
130 if (!pDoc)
133 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>(
135 pdfium::MakeUnique<CPDF_Dictionary>(pDoc->GetByteStringPool()));
138 CPDF_Stream* pEndStream = pDoc->NewIndirect<CPDF_Stream>(
140 pdfium::MakeUnique<CPDF_Dictionary>(pDoc->GetByteStringPool()));
147 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum());
148 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum());
155 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc,
157 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum())
    [all...]
fpdfdoc.cpp 56 CPDF_Document* pDoc = page->m_pDocument;
57 std::unique_ptr<CPDF_LinkList>* pHolder = pDoc->LinksContext();
77 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
78 if (!pDoc)
80 CPDF_BookmarkTree tree(pDoc);
90 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
91 if (!pDoc)
93 CPDF_BookmarkTree tree(pDoc);
113 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
114 if (!pDoc)
    [all...]
cpdfsdk_baannot.cpp 320 CPDF_Document* pDoc = m_pPageView->GetPDFDocument();
321 pStream = pDoc->NewIndirect<CPDF_Stream>();
322 pParentDict->SetNewFor<CPDF_Reference>(sAPType, pDoc, pStream->GetObjNum());
353 CPDF_Document* pDoc = m_pPageView->GetPDFDocument();
355 pDict = pDoc->AddIndirectObject(pDict->Clone())->AsDictionary();
356 m_pAnnot->GetAnnotDict()->SetNewFor<CPDF_Reference>("A", pDoc,
fpdfview.cpp 613 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(doc);
614 if (!pDoc)
617 CPDF_Parser* pParser = pDoc->GetParser();
628 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
630 if (!pDoc) {
638 return pDoc->GetUserPermissions();
642 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
643 if (!pDoc || !pDoc->GetParser())
646 CPDF_Dictionary* pDict = pDoc->GetParser()->GetEncryptDict()
    [all...]
cpdfsdk_widget.cpp     [all...]
  /external/pdfium/core/fpdfapi/parser/
cfdf_document.cpp 23 auto pDoc = pdfium::MakeUnique<CFDF_Document>();
24 pDoc->m_pRootDict = pDoc->NewIndirect<CPDF_Dictionary>();
25 pDoc->m_pRootDict->SetNewFor<CPDF_Dictionary>("FDF");
26 return pDoc;
34 auto pDoc = pdfium::MakeUnique<CFDF_Document>();
35 pDoc->ParseStream(pFile);
36 return pDoc->m_pRootDict ? std::move(pDoc) : nullptr;
  /external/pdfium/core/fpdfapi/edit/
cpdf_pagecontentgenerator_unittest.cpp 119 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr);
120 pDoc->CreateNewDoc();
121 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(0);
122 auto pTestPage = pdfium::MakeUnique<CPDF_Page>(pDoc.get(), pPageDict, false);
155 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr);
156 pDoc->CreateNewDoc();
157 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(0);
158 auto pTestPage = pdfium::MakeUnique<CPDF_Page>(pDoc.get(), pPageDict, false);
161 CPDF_Font* pFont = CPDF_Font::GetStockFont(pDoc.get(), "Times-Roman");
  /external/pdfium/core/fpdfapi/page/
cpdf_textstate.cpp 132 CPDF_Document* pDoc = m_pDocument;
133 CPDF_DocPageData* pPageData = pDoc ? pDoc->GetPageData() : nullptr;
  /external/pdfium/xfa/fxfa/app/
xfa_fontmgr.cpp     [all...]
cxfa_textparser.cpp 66 CXFA_FFDoc* pDoc = pTextProvider->GetDocNode();
67 CFGAS_FontMgr* pFontMgr = pDoc->GetApp()->GetFDEFontMgr();
359 CXFA_FFDoc* pDoc = pTextProvider->GetDocNode();
360 CXFA_FontMgr* pFontMgr = pDoc->GetApp()->GetXFAFontMgr();
361 return pFontMgr->GetFont(pDoc, wsFamily, dwStyle);
xfa_fffield.cpp 81 CXFA_FFDoc* pDoc = GetDoc();
82 CFX_Color crHighlight(pDoc->GetDocEnvironment()->GetHighlightColor(pDoc));
xfa_ffwidgetacc.cpp 630 CXFA_FFDoc* pDoc = GetDoc();
631 CXFA_ScriptContext* pContext = pDoc->GetXFADoc()->GetScriptContext();
    [all...]
  /external/pdfium/xfa/fxfa/parser/
cxfa_scriptcontext.cpp 180 CXFA_Document* pDoc = lpOrginalNode->GetDocument();
181 CXFA_ScriptContext* lpScriptContext = pDoc->GetScriptContext();
200 CXFA_FFNotify* pNotify = pDoc->GetNotify();
234 CXFA_Document* pDoc = pOriginalObject->GetDocument();
235 CXFA_ScriptContext* lpScriptContext = pDoc->GetScriptContext();
276 CXFA_FFNotify* pNotify = pDoc->GetNotify();
  /external/pdfium/core/fpdfdoc/
cpdf_interform.cpp     [all...]
  /external/pdfium/fpdfsdk/javascript/
Document.cpp 150 Document* pDoc = static_cast<Document*>(GetEmbedObject());
151 pDoc->SetFormFillEnv(pRuntime->GetFormFillEnv());
    [all...]
  /external/pdfium/xfa/fxfa/fm2js/
xfa_fm2jscontext.cpp     [all...]

Completed in 336 milliseconds