Searched refs:pDoc (Results 1 - 25 of 117) sorted by relevance

12345

/external/pdfium/core/fpdfapi/font/
H A Dcpdf_fontglobals.cpp22 CPDF_Font* CPDF_FontGlobals::Find(CPDF_Document* pDoc, uint32_t index) { argument
23 auto it = m_StockMap.find(pDoc);
29 CPDF_Font* CPDF_FontGlobals::Set(CPDF_Document* pDoc, argument
32 if (!pdfium::ContainsKey(m_StockMap, pDoc))
33 m_StockMap[pDoc] = pdfium::MakeUnique<CFX_StockFontArray>();
34 return m_StockMap[pDoc]->SetFont(index, std::move(pFont));
37 void CPDF_FontGlobals::Clear(CPDF_Document* pDoc) { argument
38 m_StockMap.erase(pDoc);
/external/pdfium/fpdfsdk/
H A Dfpdfcatalog.cpp12 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
13 if (!pDoc)
16 const CPDF_Dictionary* pCatalog = pDoc->GetRoot();
H A Dfpdfattachment.cpp51 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
52 if (!pDoc)
55 return CPDF_NameTree(pDoc, "EmbeddedFiles").GetCount();
60 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
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,
104 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
118 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
215 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
[all...]
H A Dfpdfdoc.cpp56 CPDF_Document* pDoc = page->m_pDocument.Get();
57 std::unique_ptr<CPDF_LinkList>* pHolder = pDoc->LinksContext();
67 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
68 if (!pDoc)
70 CPDF_BookmarkTree tree(pDoc);
80 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
81 if (!pDoc)
83 CPDF_BookmarkTree tree(pDoc);
102 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
103 if (!pDoc)
[all...]
H A Dfpdf_transformpage.cpp136 CPDF_Document* pDoc = pPage->m_pDocument.Get();
137 if (!pDoc)
140 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>(
142 pdfium::MakeUnique<CPDF_Dictionary>(pDoc->GetByteStringPool()));
145 CPDF_Stream* pEndStream = pDoc->NewIndirect<CPDF_Stream>(
147 pdfium::MakeUnique<CPDF_Dictionary>(pDoc->GetByteStringPool()));
151 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum());
152 pContentArray->AddNew<CPDF_Reference>(pDoc, pEndStream->GetObjNum());
154 CPDF_Array* pContentArray = pDoc->NewIndirect<CPDF_Array>();
155 pContentArray->AddNew<CPDF_Reference>(pDoc, pStrea
291 CPDF_Document* pDoc = pPage->m_pDocument.Get(); local
[all...]
H A Dfpdfedittext.cpp30 CPDF_Dictionary* LoadFontDesc(CPDF_Document* pDoc, argument
36 CPDF_Dictionary* fontDesc = pDoc->NewIndirect<CPDF_Dictionary>();
72 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>();
80 fontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum());
130 CPDF_Stream* LoadUnicode(CPDF_Document* pDoc, argument
234 CPDF_Stream* stream = pDoc->NewIndirect<CPDF_Stream>();
241 void* LoadSimpleFont(CPDF_Document* pDoc, argument
246 CPDF_Dictionary* fontDict = pDoc->NewIndirect<CPDF_Dictionary>();
260 CPDF_Array* widthsArray = pDoc->NewIndirect<CPDF_Array>();
273 fontDict->SetNewFor<CPDF_Reference>("Widths", pDoc, widthsArra
284 LoadCompositeFont(CPDF_Document* pDoc, std::unique_ptr<CFX_Font> pFont, const uint8_t* data, uint32_t size, int font_type) argument
407 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
444 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
489 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
[all...]
H A Dfpdf_ext.cpp49 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot) { argument
117 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { argument
123 if (!pDoc)
127 const CPDF_Dictionary* pRootDict = pDoc->GetRoot();
157 CPDF_Metadata metaData(pDoc);
164 CPDF_InterForm interform(pDoc);
171 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); local
172 if (!pDoc)
175 const CPDF_Dictionary* pRoot = pDoc->GetRoot();
/external/pdfium/core/fpdfdoc/
H A Dcpvt_generateap.h28 CPDF_Document* pDoc,
30 static void GenerateEmptyAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
33 CPDF_Document* pDoc,
H A Dcpvt_fontmap.cpp17 CPVT_FontMap::CPVT_FontMap(CPDF_Document* pDoc, argument
21 : m_pDocument(pDoc),
28 CPDF_Font* CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document* pDoc, argument
31 if (!pDoc || !pResDict)
34 CPDF_Dictionary* pFormDict = pDoc->GetRoot()->GetDictFor("AcroForm");
35 CPDF_Font* pPDFFont = AddNativeInterFormFont(pFormDict, pDoc, sSysFontAlias);
41 pFontList->SetNewFor<CPDF_Reference>(*sSysFontAlias, pDoc,
H A Dcpdf_link.cpp24 CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { argument
30 CPDF_NameTree name_tree(pDoc, "Dests");
31 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, pDest->GetUnicodeText()));
H A Dcpdf_metadata.cpp14 CPDF_Metadata::CPDF_Metadata(const CPDF_Document* pDoc) { argument
15 const CPDF_Dictionary* pRoot = pDoc->GetRoot();
H A Dcpdf_bookmarktree.cpp11 CPDF_BookmarkTree::CPDF_BookmarkTree(CPDF_Document* pDoc) : m_pDocument(pDoc) {} argument
H A Dcpdf_bookmarktree.h17 explicit CPDF_BookmarkTree(CPDF_Document* pDoc);
H A Dcpdf_link.h26 CPDF_Dest GetDest(CPDF_Document* pDoc);
H A Dcpdf_metadata.h17 explicit CPDF_Metadata(const CPDF_Document* pDoc);
H A Dcpdf_action.h46 CPDF_Dest GetDest(CPDF_Document* pDoc) const;
48 ByteString GetURI(const CPDF_Document* pDoc) const;
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_pattern.cpp11 CPDF_Pattern::CPDF_Pattern(CPDF_Document* pDoc, argument
14 : m_pDocument(pDoc), m_pPatternObj(pObj), m_ParentMatrix(parentMatrix) {}
H A Dcpdf_patterncs.h18 explicit CPDF_PatternCS(CPDF_Document* pDoc);
25 uint32_t v_Load(CPDF_Document* pDoc,
H A Dcpdf_pagemodule.cpp35 void CPDF_PageModule::ClearStockFont(CPDF_Document* pDoc) { argument
36 m_FontGlobals.Clear(pDoc);
H A Dcpdf_pagemodule.h24 void ClearStockFont(CPDF_Document* pDoc);
H A Dcpdf_patterncs.cpp13 CPDF_PatternCS::CPDF_PatternCS(CPDF_Document* pDoc) argument
14 : CPDF_ColorSpace(pDoc, PDFCS_PATTERN),
31 uint32_t CPDF_PatternCS::v_Load(CPDF_Document* pDoc, argument
38 CPDF_DocPageData* pDocPageData = pDoc->GetPageData();
H A Dcpdf_tilingpattern.cpp15 CPDF_TilingPattern::CPDF_TilingPattern(CPDF_Document* pDoc, argument
18 : CPDF_Pattern(pDoc, pPatternObj, parentMatrix) {
/external/pdfium/core/fpdfapi/parser/
H A Dcfdf_document.cpp26 auto pDoc = pdfium::MakeUnique<CFDF_Document>(); local
27 pDoc->m_pRootDict = pDoc->NewIndirect<CPDF_Dictionary>();
28 pDoc->m_pRootDict->SetNewFor<CPDF_Dictionary>("FDF");
29 return pDoc;
34 auto pDoc = pdfium::MakeUnique<CFDF_Document>(); local
35 pDoc->ParseStream(pdfium::MakeRetain<CFX_MemoryStream>(pData, size, false));
36 return pDoc->m_pRootDict ? std::move(pDoc) : nullptr;
/external/pdfium/core/fpdfapi/render/
H A Dcpdf_transferfunc.cpp13 CPDF_TransferFunc::CPDF_TransferFunc(CPDF_Document* pDoc) : m_pPDFDoc(pDoc) {} argument
/external/pdfium/core/fpdfapi/edit/
H A Dcpdf_pagecontentgenerator_unittest.cpp128 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr); local
129 pDoc->CreateNewDoc();
130 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(0);
131 auto pTestPage = pdfium::MakeUnique<CPDF_Page>(pDoc.get(), pPageDict, false);
167 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr); local
168 pDoc->CreateNewDoc();
169 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(0);
170 auto pTestPage = pdfium::MakeUnique<CPDF_Page>(pDoc.get(), pPageDict, false);
173 CPDF_Font* pFont = CPDF_Font::GetStockFont(pDoc.get(), "Times-Roman");
230 auto pDoc local
292 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr); local
311 auto pDoc = pdfium::MakeUnique<CPDF_Document>(nullptr); local
[all...]

Completed in 1566 milliseconds

12345