Home
last modified time | relevance | path

Searched refs:CPDF_Document (Results 1 – 25 of 147) sorted by relevance

123456

/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.cpp37 if (count > 0 && count < CPDF_Document::kPageMaxNum) in CountPages()
63 CPDF_Document::CPDF_Document(std::unique_ptr<RenderDataIface> pRenderData, in CPDF_Document() function in CPDF_Document
72 CPDF_Document::~CPDF_Document() = default;
74 RetainPtr<CPDF_Object> CPDF_Document::ParseIndirectObject(uint32_t objnum) { in ParseIndirectObject()
78 bool CPDF_Document::TryInit() { in TryInit()
89 CPDF_Parser::Error CPDF_Document::LoadDoc( in LoadDoc()
98 CPDF_Parser::Error CPDF_Document::LoadLinearizedDoc( in LoadLinearizedDoc()
107 void CPDF_Document::LoadPages() { in LoadPages()
121 CPDF_Dictionary* CPDF_Document::TraversePDFPages(int iPage, in TraversePDFPages()
186 void CPDF_Document::ResetTraversal() { in ResetTraversal()
[all …]
Dcpdf_document.h36 class CPDF_Document : public Observable,
43 virtual CPDF_Document* GetPDFDoc() const = 0;
69 void SetDocument(CPDF_Document* pDoc) { m_pDoc = pDoc; } in SetDocument()
70 CPDF_Document* GetDocument() const { return m_pDoc.Get(); } in GetDocument()
73 UnownedPtr<CPDF_Document> m_pDoc;
81 void SetDocument(CPDF_Document* pDoc) { m_pDoc = pDoc; } in SetDocument()
82 CPDF_Document* GetDocument() const { return m_pDoc.Get(); } in GetDocument()
85 UnownedPtr<CPDF_Document> m_pDoc;
90 CPDF_Document(std::unique_ptr<RenderDataIface> pRenderData,
92 ~CPDF_Document() override;
[all …]
Dcpdf_document_unittest.cpp30 CPDF_Document* pDoc, in CreatePageTreeNode()
51 class CPDF_TestDocumentForPages final : public CPDF_Document {
54 : CPDF_Document(pdfium::MakeUnique<CPDF_DocRenderData>(), in CPDF_TestDocumentForPages()
105 class CPDF_TestDocumentWithPageWithoutPageNum final : public CPDF_Document {
108 : CPDF_Document(pdfium::MakeUnique<CPDF_DocRenderData>(), in CPDF_TestDocumentWithPageWithoutPageNum()
138 class CPDF_TestDocPagesWithoutKids final : public CPDF_Document {
141 : CPDF_Document(pdfium::MakeUnique<CPDF_DocRenderData>(), in CPDF_TestDocPagesWithoutKids()
153 class CPDF_TestDocumentAllowSetParser final : public CPDF_Document {
156 : CPDF_Document(pdfium::MakeUnique<CPDF_DocRenderData>(), in CPDF_TestDocumentAllowSetParser()
159 using CPDF_Document::SetParser;
/external/pdfium/core/fpdfdoc/
Dcpdf_interactiveform.h24 class CPDF_Document; variable
32 CPDF_Document* pDocument,
51 explicit CPDF_InteractiveForm(CPDF_Document* pDocument);
58 static RetainPtr<CPDF_Font> AddStandardFont(CPDF_Document* pDocument,
61 CPDF_Document* pDocument);
62 static RetainPtr<CPDF_Font> AddNativeFont(CPDF_Document* pDocument);
106 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
121 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_bookmarktree.h13 class CPDF_Document; variable
17 explicit CPDF_BookmarkTree(CPDF_Document* pDoc);
22 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
25 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpvt_generateap.h14 class CPDF_Document; variable
20 static void GenerateFormAP(CPDF_Document* pDoc,
24 static void GenerateEmptyAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
26 static bool GenerateAnnotAP(CPDF_Document* pDoc,
Dcpvt_fontmap.h17 class CPDF_Document; variable
23 CPVT_FontMap(CPDF_Document* pDoc,
38 static RetainPtr<CPDF_Font> GetAnnotSysPDFFont(CPDF_Document* pDoc,
43 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_pagelabel.h13 class CPDF_Document; variable
17 explicit CPDF_PageLabel(CPDF_Document* pDocument);
23 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_annot.h21 class CPDF_Document; variable
73 CPDF_Annot(RetainPtr<CPDF_Dictionary> pDict, CPDF_Document* pDocument);
74 CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument);
80 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
114 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_viewerpreferences.h17 class CPDF_Document; variable
21 explicit CPDF_ViewerPreferences(const CPDF_Document* pDoc);
36 UnownedPtr<const CPDF_Document> const m_pDoc;
Dcpdf_nametree.h17 class CPDF_Document; variable
23 CPDF_NameTree(CPDF_Document* pDoc, const ByteString& category);
31 CPDF_Array* LookupNamedDest(CPDF_Document* pDoc, const WideString& sName);
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.h36 class CPDF_Document; variable
68 static RetainPtr<CPDF_ColorSpace> Load(CPDF_Document* pDoc,
71 CPDF_Document* pDoc,
78 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
119 CPDF_ColorSpace(CPDF_Document* pDoc, int family);
123 virtual uint32_t v_Load(CPDF_Document* pDoc,
131 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_image.h20 class CPDF_Document; variable
39 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
74 explicit CPDF_Image(CPDF_Document* pDoc);
75 CPDF_Image(CPDF_Document* pDoc, RetainPtr<CPDF_Stream> pStream);
76 CPDF_Image(CPDF_Document* pDoc, uint32_t dwStreamObjNum);
89 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_pattern.h16 class CPDF_Document; variable
32 CPDF_Document* document() const { return m_pDocument.Get(); } in document()
38 CPDF_Pattern(CPDF_Document* pDoc,
45 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_colorspace.cpp117 uint32_t v_Load(CPDF_Document* pDoc,
130 explicit CPDF_CalGray(CPDF_Document* pDoc);
152 uint32_t v_Load(CPDF_Document* pDoc,
160 explicit CPDF_CalRGB(CPDF_Document* pDoc);
189 uint32_t v_Load(CPDF_Document* pDoc,
196 explicit CPDF_LabCS(CPDF_Document* pDoc);
220 uint32_t v_Load(CPDF_Document* pDoc,
225 explicit CPDF_ICCBasedCS(CPDF_Document* pDoc);
228 bool FindAlternateProfile(CPDF_Document* pDoc,
253 uint32_t v_Load(CPDF_Document* pDoc,
[all …]
Dcpdf_transferfunc.h18 class CPDF_Document; variable
31 const CPDF_Document* GetDocument() const { return m_pPDFDoc.Get(); } in GetDocument()
41 CPDF_TransferFunc(CPDF_Document* pDoc,
48 UnownedPtr<CPDF_Document> const m_pPDFDoc;
Dcpdf_page.h23 class CPDF_Document; variable
60 CPDF_Document* GetDocument() const override;
91 CPDF_Document* GetPDFDocument() const { return m_pPDFDocument.Get(); } in GetPDFDocument()
97 CPDF_Page(CPDF_Document* pDocument, CPDF_Dictionary* pPageDict);
105 UnownedPtr<CPDF_Document> m_pPDFDocument;
Dcpdf_patterncs.h15 class CPDF_Document; variable
36 uint32_t v_Load(CPDF_Document* pDoc,
41 explicit CPDF_PatternCS(CPDF_Document* pDoc);
/external/pdfium/fpdfsdk/
Dfpdf_ppo.cpp261 std::vector<uint32_t> GetPageNumbers(const CPDF_Document& doc, in GetPageNumbers()
277 CPDF_PageOrganizer(CPDF_Document* pDestDoc, CPDF_Document* pSrcDoc);
285 CPDF_Document* dest() { return m_pDestDoc.Get(); } in dest()
286 const CPDF_Document* dest() const { return m_pDestDoc.Get(); } in dest()
288 CPDF_Document* src() { return m_pSrcDoc.Get(); } in src()
289 const CPDF_Document* src() const { return m_pSrcDoc.Get(); } in src()
300 UnownedPtr<CPDF_Document> const m_pDestDoc;
301 UnownedPtr<CPDF_Document> const m_pSrcDoc;
307 CPDF_PageOrganizer::CPDF_PageOrganizer(CPDF_Document* pDestDoc, in CPDF_PageOrganizer()
308 CPDF_Document* pSrcDoc) in CPDF_PageOrganizer()
[all …]
Dfpdf_doc.cpp57 CPDF_Document* pDoc = page->GetDocument(); in GetLinkList()
72 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_GetFirstChild()
83 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_GetNextSibling()
109 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_Find()
125 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_GetDest()
175 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFAction_GetDest()
206 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFAction_GetURIPath()
224 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFDest_GetDestPageIndex()
316 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFLink_GetDest()
403 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDF_GetMetaText()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.h27 class CPDF_Document; variable
55 CPDF_Document* pDocument,
63 static RetainPtr<CPDF_Font> Create(CPDF_Document* pDoc,
66 static RetainPtr<CPDF_Font> GetStockFont(CPDF_Document* pDoc,
121 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
129 CPDF_Font(CPDF_Document* pDocument, CPDF_Dictionary* pFontDict);
145 UnownedPtr<CPDF_Document> const m_pDocument;
Dcpdf_fontglobals.h31 void Clear(CPDF_Document* pDoc);
32 RetainPtr<CPDF_Font> Find(CPDF_Document* pDoc,
34 void Set(CPDF_Document* pDoc,
65 std::map<CPDF_Document*, std::unique_ptr<CFX_StockFontArray>> m_StockMap;
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.h23 class CPDF_Document; variable
47 CPDF_Document* pPDFDoc,
62 CPDF_Document* GetPDFDoc() const { return m_pPDFDoc.Get(); } in GetPDFDoc()
76 CPDF_Document* pPDFDoc);
82 UnownedPtr<CPDF_Document> const m_pPDFDoc;
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.h20 class CPDF_Document; variable
32 CPDF_Document* GetDocument() const override;
59 CPDFXFA_Page(CPDF_Document* pDocument, int page_index);
65 UnownedPtr<CPDF_Document> const m_pDocument;
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendercontext.h17 class CPDF_Document; variable
38 CPDF_RenderContext(CPDF_Document* pDoc,
63 CPDF_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument()
68 UnownedPtr<CPDF_Document> const m_pDocument;

123456