Home
last modified time | relevance | path

Searched refs:pDoc (Results 1 – 25 of 100) sorted by relevance

1234

/external/pdfium/fpdfsdk/src/
Dfpdfdoc.cpp43 CPDF_Document* pDoc = page->m_pDocument; in GetLinkList() local
44 CPDF_LinkList* pLinkList = (CPDF_LinkList*)pDoc->GetPrivateData(&THISMODULE); in GetLinkList()
47 pDoc->SetPrivateData(&THISMODULE, pLinkList, ReleaseLinkList); in GetLinkList()
56 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_GetFirstChild() local
57 if (!pDoc) in FPDFBookmark_GetFirstChild()
59 CPDF_BookmarkTree tree(pDoc); in FPDFBookmark_GetFirstChild()
69 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_GetNextSibling() local
70 if (!pDoc) in FPDFBookmark_GetNextSibling()
72 CPDF_BookmarkTree tree(pDoc); in FPDFBookmark_GetNextSibling()
97 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFBookmark_Find() local
[all …]
Dfpdfview.cpp408 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
[all …]
Dfpdf_transformpage.cpp123 CPDF_Document* pDoc = pPage->m_pDocument; in FPDFPage_TransFormWithClip() local
124 if (!pDoc) in FPDFPage_TransFormWithClip()
126 pDoc->AddIndirectObject(pStream); in FPDFPage_TransFormWithClip()
131 pDoc->AddIndirectObject(pEndStream); in FPDFPage_TransFormWithClip()
136 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
138 pContentArray->AddReference(pDoc, pEndStream); in FPDFPage_TransFormWithClip()
144 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
146 pContentArray->AddReference(pDoc, pEndStream); in FPDFPage_TransFormWithClip()
149 pContentArray->AddReference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
150 pContentArray->AddReference(pDoc, pDirectObj->GetObjNum()); in FPDFPage_TransFormWithClip()
[all …]
Dfpdfeditpage.cpp25 CPDF_Document* pDoc = new CPDF_Document; in FPDF_CreateNewDocument() local
26 pDoc->CreateNewDoc(); in FPDF_CreateNewDocument()
43 pInfoDict = pDoc->GetInfo(); in FPDF_CreateNewDocument()
50 return FPDFDocumentFromCPDFDocument(pDoc); in FPDF_CreateNewDocument()
54 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFPage_Delete() local
55 if (!pDoc || page_index < 0 || page_index >= pDoc->GetPageCount()) in FPDFPage_Delete()
58 pDoc->DeletePage(page_index); in FPDFPage_Delete()
65 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFPage_New() local
66 if (!pDoc) in FPDFPage_New()
71 if (pDoc->GetPageCount() < page_index) in FPDFPage_New()
[all …]
Dfpdf_ext.cpp64 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot) { in CheckUnSupportAnnot() argument
135 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code) { in CheckUnSupportError() argument
141 if (!pDoc) in CheckUnSupportError()
145 CPDF_Dictionary* pRootDict = pDoc->GetRoot(); in CheckUnSupportError()
176 CPDF_Metadata metaData(pDoc); in CheckUnSupportError()
183 CPDF_InterForm* pInterForm = new CPDF_InterForm(pDoc, FALSE); in CheckUnSupportError()
192 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFDoc_GetPageMode() local
193 if (!pDoc) in FPDFDoc_GetPageMode()
196 CPDF_Dictionary* pRoot = pDoc->GetRoot(); in FPDFDoc_GetPageMode()
Dfpdfppo.cpp27 CPDF_Document* pDoc,
29 FX_DWORD GetNewObjId(CPDF_Document* pDoc,
203 CPDF_Document* pDoc, in UpdateReference() argument
208 FX_DWORD newobjnum = GetNewObjId(pDoc, pObjNumberMap, pReference); in UpdateReference()
211 pReference->SetRef(pDoc, newobjnum); in UpdateReference()
226 if (!UpdateReference(pNextObj, pDoc, pObjNumberMap)) in UpdateReference()
241 if (!UpdateReference(pNextObj, pDoc, pObjNumberMap)) in UpdateReference()
250 if (!UpdateReference(pDict, pDoc, pObjNumberMap)) in UpdateReference()
264 FX_DWORD CPDF_PageOrganizer::GetNewObjId(CPDF_Document* pDoc, in GetNewObjId() argument
299 dwNewObjNum = pDoc->AddIndirectObject(pClone); in GetNewObjId()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_fdf.cpp22 CFDF_Document* pDoc = new CFDF_Document; in CreateNewDoc() local
23 pDoc->m_pRootDict = new CPDF_Dictionary; in CreateNewDoc()
24 pDoc->AddIndirectObject(pDoc->m_pRootDict); in CreateNewDoc()
26 pDoc->m_pRootDict->SetAt("FDF", pFDFDict); in CreateNewDoc()
27 return pDoc; in CreateNewDoc()
33 CFDF_Document* pDoc = new CFDF_Document; in ParseFile() local
34 pDoc->ParseStream(pFile, bOwnFile); in ParseFile()
35 if (!pDoc->m_pRootDict) { in ParseFile()
36 delete pDoc; in ParseFile()
39 return pDoc; in ParseFile()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffapp.cpp140 CXFA_FFDoc* pDoc = new CXFA_FFDoc(this, pProvider); in CreateDoc() local
141 FX_BOOL bSuccess = pDoc->OpenDoc(pStream, bTakeOverFile); in CreateDoc()
143 delete pDoc; in CreateDoc()
144 pDoc = NULL; in CreateDoc()
146 return pDoc; in CreateDoc()
153 CXFA_FFDoc* pDoc = new CXFA_FFDoc(this, pProvider); in CreateDoc() local
154 FX_BOOL bSuccess = pDoc->OpenDoc(pPDFDoc); in CreateDoc()
156 delete pDoc; in CreateDoc()
157 pDoc = NULL; in CreateDoc()
159 return pDoc; in CreateDoc()
/external/pdfium/fpdfsdk/src/javascript/
DJS_EventHandler.cpp49 void CJS_EventHandler::OnDoc_Open(CPDFSDK_Document* pDoc, in OnDoc_Open() argument
53 m_pTargetDoc = pDoc; in OnDoc_Open()
57 void CJS_EventHandler::OnDoc_WillPrint(CPDFSDK_Document* pDoc) { in OnDoc_WillPrint() argument
60 m_pTargetDoc = pDoc; in OnDoc_WillPrint()
63 void CJS_EventHandler::OnDoc_DidPrint(CPDFSDK_Document* pDoc) { in OnDoc_DidPrint() argument
66 m_pTargetDoc = pDoc; in OnDoc_DidPrint()
69 void CJS_EventHandler::OnDoc_WillSave(CPDFSDK_Document* pDoc) { in OnDoc_WillSave() argument
71 m_pTargetDoc = pDoc; in OnDoc_WillSave()
74 void CJS_EventHandler::OnDoc_DidSave(CPDFSDK_Document* pDoc) { in OnDoc_DidSave() argument
77 m_pTargetDoc = pDoc; in OnDoc_DidSave()
[all …]
DJS_Context.cpp80 void CJS_Context::OnDoc_Open(CPDFSDK_Document* pDoc, in OnDoc_Open() argument
82 m_pEventHandler->OnDoc_Open(pDoc, strTargetName); in OnDoc_Open()
85 void CJS_Context::OnDoc_WillPrint(CPDFSDK_Document* pDoc) { in OnDoc_WillPrint() argument
86 m_pEventHandler->OnDoc_WillPrint(pDoc); in OnDoc_WillPrint()
89 void CJS_Context::OnDoc_DidPrint(CPDFSDK_Document* pDoc) { in OnDoc_DidPrint() argument
90 m_pEventHandler->OnDoc_DidPrint(pDoc); in OnDoc_DidPrint()
93 void CJS_Context::OnDoc_WillSave(CPDFSDK_Document* pDoc) { in OnDoc_WillSave() argument
94 m_pEventHandler->OnDoc_WillSave(pDoc); in OnDoc_WillSave()
97 void CJS_Context::OnDoc_DidSave(CPDFSDK_Document* pDoc) { in OnDoc_DidSave() argument
98 m_pEventHandler->OnDoc_DidSave(pDoc); in OnDoc_DidSave()
[all …]
DJS_EventHandler.h68 void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName);
69 void OnDoc_WillPrint(CPDFSDK_Document* pDoc);
70 void OnDoc_DidPrint(CPDFSDK_Document* pDoc);
71 void OnDoc_WillSave(CPDFSDK_Document* pDoc);
72 void OnDoc_DidSave(CPDFSDK_Document* pDoc);
73 void OnDoc_WillClose(CPDFSDK_Document* pDoc);
75 void OnPage_Open(CPDFSDK_Document* pDoc);
76 void OnPage_Close(CPDFSDK_Document* pDoc);
DJS_Context.h26 void OnDoc_Open(CPDFSDK_Document* pDoc,
28 void OnDoc_WillPrint(CPDFSDK_Document* pDoc) override;
29 void OnDoc_DidPrint(CPDFSDK_Document* pDoc) override;
30 void OnDoc_WillSave(CPDFSDK_Document* pDoc) override;
31 void OnDoc_DidSave(CPDFSDK_Document* pDoc) override;
32 void OnDoc_WillClose(CPDFSDK_Document* pDoc) override;
DJS_Runtime_Stub.cpp24 void OnDoc_Open(CPDFSDK_Document* pDoc, in OnDoc_Open() argument
26 void OnDoc_WillPrint(CPDFSDK_Document* pDoc) override {} in OnDoc_WillPrint() argument
27 void OnDoc_DidPrint(CPDFSDK_Document* pDoc) override {} in OnDoc_DidPrint() argument
28 void OnDoc_WillSave(CPDFSDK_Document* pDoc) override {} in OnDoc_WillSave() argument
29 void OnDoc_DidSave(CPDFSDK_Document* pDoc) override {} in OnDoc_DidSave() argument
30 void OnDoc_WillClose(CPDFSDK_Document* pDoc) override {} in OnDoc_WillClose() argument
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp66 CPDF_DeviceCS::CPDF_DeviceCS(CPDF_Document* pDoc, int family) in CPDF_DeviceCS() argument
67 : CPDF_ColorSpace(pDoc, family, ComponentsForFamily(family)) {} in CPDF_DeviceCS()
311 explicit CPDF_CalGray(CPDF_Document* pDoc) in CPDF_CalGray() argument
312 : CPDF_ColorSpace(pDoc, PDFCS_CALGRAY, 1) {} in CPDF_CalGray()
313 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override;
335 FX_BOOL CPDF_CalGray::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() argument
386 explicit CPDF_CalRGB(CPDF_Document* pDoc) in CPDF_CalRGB() argument
387 : CPDF_ColorSpace(pDoc, PDFCS_CALRGB, 3) {} in CPDF_CalRGB()
388 FX_BOOL v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) override;
411 FX_BOOL CPDF_CalRGB::v_Load(CPDF_Document* pDoc, CPDF_Array* pArray) { in v_Load() argument
[all …]
Dfpdf_page_doc.cpp25 CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) override { in CreateDocData() argument
26 return new CPDF_DocPageData(pDoc); in CreateDocData()
29 void ReleaseDoc(CPDF_Document* pDoc) override;
30 void ClearDoc(CPDF_Document* pDoc) override;
34 void ClearStockFont(CPDF_Document* pDoc) override { in ClearStockFont() argument
35 m_FontGlobals.Clear(pDoc); in ClearStockFont()
68 void CPDF_PageModule::ReleaseDoc(CPDF_Document* pDoc) { in ReleaseDoc() argument
69 delete pDoc->GetPageData(); in ReleaseDoc()
71 void CPDF_PageModule::ClearDoc(CPDF_Document* pDoc) { in ClearDoc() argument
72 pDoc->GetPageData()->Clear(FALSE); in ClearDoc()
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp13 FX_BOOL FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) { in FPDF_GenerateAP() argument
22 return CPVT_GenerateAP::GenerateTextFieldAP(pDoc, pAnnotDict); in FPDF_GenerateAP()
26 ? CPVT_GenerateAP::GenerateComboBoxAP(pDoc, pAnnotDict) in FPDF_GenerateAP()
27 : CPVT_GenerateAP::GenerateListBoxAP(pDoc, pAnnotDict); in FPDF_GenerateAP()
45 CPVT_FontMap(CPDF_Document* pDoc,
55 static void GetAnnotSysPDFFont(CPDF_Document* pDoc,
69 CPVT_FontMap::CPVT_FontMap(CPDF_Document* pDoc, in CPVT_FontMap() argument
73 : m_pDocument(pDoc), in CPVT_FontMap()
80 void CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document* pDoc, in GetAnnotSysPDFFont() argument
84 if (pDoc && pResDict) { in GetAnnotSysPDFFont()
[all …]
Ddoc_action.cpp9 CPDF_Dest CPDF_Action::GetDest(CPDF_Document* pDoc) const { in GetDest()
22 CPDF_NameTree name_tree(pDoc, "Dests"); in GetDest()
24 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, name)); in GetDest()
72 CFX_ByteString CPDF_Action::GetURI(CPDF_Document* pDoc) const { in GetURI()
81 CPDF_Dictionary* pRoot = pDoc->GetRoot(); in GetURI()
261 CPDF_DocJSActions::CPDF_DocJSActions(CPDF_Document* pDoc) : m_pDocument(pDoc) {} in CPDF_DocJSActions() argument
Ddoc_tagged.cpp13 static FX_BOOL IsTagged(const CPDF_Document* pDoc) { in IsTagged() argument
14 CPDF_Dictionary* pCatalog = pDoc->GetRoot(); in IsTagged()
18 CPDF_StructTree* CPDF_StructTree::LoadPage(const CPDF_Document* pDoc, in LoadPage() argument
20 if (!IsTagged(pDoc)) { in LoadPage()
23 CPDF_StructTreeImpl* pTree = new CPDF_StructTreeImpl(pDoc); in LoadPage()
27 CPDF_StructTree* CPDF_StructTree::LoadDoc(const CPDF_Document* pDoc) { in LoadDoc() argument
28 if (!IsTagged(pDoc)) { in LoadDoc()
31 CPDF_StructTreeImpl* pTree = new CPDF_StructTreeImpl(pDoc); in LoadDoc()
35 CPDF_StructTreeImpl::CPDF_StructTreeImpl(const CPDF_Document* pDoc) { in CPDF_StructTreeImpl() argument
36 CPDF_Dictionary* pCatalog = pDoc->GetRoot(); in CPDF_StructTreeImpl()
Ddoc_ocg.cpp44 static CPDF_Dictionary* FPDFDOC_OCG_GetConfig(CPDF_Document* pDoc, in FPDFDOC_OCG_GetConfig() argument
47 FXSYS_assert(pDoc && pOCGDict); in FPDFDOC_OCG_GetConfig()
48 CPDF_Dictionary* pOCProperties = pDoc->GetRoot()->GetDict("OCProperties"); in FPDFDOC_OCG_GetConfig()
90 CPDF_OCContext::CPDF_OCContext(CPDF_Document* pDoc, UsageType eUsageType) { in CPDF_OCContext() argument
91 FXSYS_assert(pDoc); in CPDF_OCContext()
92 m_pDocument = pDoc; in CPDF_OCContext()
Ddoc_link.cpp74 CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) { in GetDest() argument
80 CPDF_NameTree name_tree(pDoc, "Dests"); in GetDest()
82 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, name)); in GetDest()
/external/pdfium/fpdfsdk/include/javascript/
DIJavaScript.h31 virtual void OnDoc_Open(CPDFSDK_Document* pDoc,
33 virtual void OnDoc_WillPrint(CPDFSDK_Document* pDoc) = 0;
34 virtual void OnDoc_DidPrint(CPDFSDK_Document* pDoc) = 0;
35 virtual void OnDoc_WillSave(CPDFSDK_Document* pDoc) = 0;
36 virtual void OnDoc_DidSave(CPDFSDK_Document* pDoc) = 0;
37 virtual void OnDoc_WillClose(CPDFSDK_Document* pDoc) = 0;
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_FontMap.cpp288 CPDF_Font* CPWL_FontMap::AddFontToDocument(CPDF_Document* pDoc, in AddFontToDocument() argument
292 return AddStandardFont(pDoc, sFontName); in AddFontToDocument()
294 return AddSystemFont(pDoc, sFontName, nCharset); in AddFontToDocument()
297 CPDF_Font* CPWL_FontMap::AddStandardFont(CPDF_Document* pDoc, in AddStandardFont() argument
299 if (!pDoc) in AddStandardFont()
305 pFont = pDoc->AddStandardFont(sFontName, NULL); in AddStandardFont()
308 pFont = pDoc->AddStandardFont(sFontName, &fe); in AddStandardFont()
314 CPDF_Font* CPWL_FontMap::AddSystemFont(CPDF_Document* pDoc, in AddSystemFont() argument
317 if (!pDoc) in AddSystemFont()
326 return m_pSystemHandler->AddNativeTrueTypeFontToPDF(pDoc, sFontName, in AddSystemFont()
/external/parameter-framework/upstream/xmlserializer/
DXmlDocSource.cpp44 CXmlDocSource::CXmlDocSource(_xmlDoc *pDoc, bool bValidateWithSchema, _xmlNode *pRootNode) in CXmlDocSource() argument
45 : _pDoc(pDoc), _pRootNode(pRootNode), _strRootElementType(""), _strRootElementName(""), in CXmlDocSource()
50 CXmlDocSource::CXmlDocSource(_xmlDoc *pDoc, bool bValidateWithSchema, in CXmlDocSource() argument
53 : _pDoc(pDoc), _pRootNode(xmlDocGetRootElement(pDoc)), _strRootElementType(strRootElementType), in CXmlDocSource()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h316 void AddReference(CPDF_IndirectObjectHolder* pDoc, FX_DWORD objnum);
318 void AddReference(CPDF_IndirectObjectHolder* pDoc, CPDF_Object* obj) { in AddReference() argument
319 AddReference(pDoc, obj->GetObjNum()); in AddReference()
400 CPDF_IndirectObjectHolder* pDoc,
404 CPDF_IndirectObjectHolder* pDoc, in SetAtReference() argument
406 SetAtReference(key, pDoc, obj->GetObjNum()); in SetAtReference()
410 CPDF_IndirectObjectHolder* pDoc,
554 CPDF_Reference(CPDF_IndirectObjectHolder* pDoc, int objnum) in CPDF_Reference() argument
555 : CPDF_Object(PDFOBJ_REFERENCE), m_pObjList(pDoc), m_RefObjNum(objnum) {} in CPDF_Reference()
561 void SetRef(CPDF_IndirectObjectHolder* pDoc, FX_DWORD objnum);
/external/pdfium/core/include/fpdftext/
Dfpdf_text.h26 CPDF_Document* pDoc,
31 CPDF_Document* pDoc,
36 CPDF_Document* pDoc,
39 CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc,

1234