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

123

/external/pdfium/fpdfsdk/src/
H A Dfpdfdoc.cpp34 CPDF_Document* pDoc = (CPDF_Document*)document;
35 CPDF_BookmarkTree tree(pDoc);
44 CPDF_Document* pDoc = (CPDF_Document*)document;
45 CPDF_BookmarkTree tree(pDoc);
70 CPDF_Document* pDoc = (CPDF_Document*)document;
71 CPDF_BookmarkTree tree(pDoc);
84 CPDF_Document* pDoc = (CPDF_Document*)document; local
85 CPDF_Dest dest = bookmark.GetDest(pDoc);
92 return action.GetDest(pDoc).GetObject();
130 CPDF_Document* pDoc
173 CPDF_Document* pDoc = pPage->m_pDocument; local
[all...]
H A Dfpdf_transformpage.cpp107 CPDF_Document* pDoc = pPage->m_pDocument; local
108 if(!pDoc)
110 pDoc->AddIndirectObject(pStream);
115 pDoc->AddIndirectObject(pEndStream);
121 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum());
123 pContentArray->AddReference(pDoc,pEndStream);
135 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum());
137 pContentArray->AddReference(pDoc,pEndStream);
142 pContentArray->AddReference(pDoc,pStream->GetObjNum());
143 pContentArray->AddReference(pDoc,pDirectOb
287 CPDF_Document* pDoc = pPage->m_pDocument; local
[all...]
H A Dfpdfview.cpp95 CPDF_Document* pDoc, // [IN] The PDF document
200 extern void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code);
237 CPDF_Document * pDoc = NULL; local
238 pDoc = pParser?pParser->GetDocument():NULL;
239 CheckUnSupportError(pDoc, err_code);
254 CPDF_Document * pDoc = NULL; local
255 pDoc = pParser?pParser->GetDocument():NULL;
256 CheckUnSupportError(pDoc, err_code);
264 CPDF_Document* pDoc = (CPDF_Document*)doc; local
265 CPDF_Parser* pParser = (CPDF_Parser*)pDoc
746 CPDF_Document* pDoc = (CPDF_Document*)document; local
763 CPDF_Document* pDoc = (CPDF_Document*)document; local
771 CPDF_Document* pDoc = (CPDF_Document*)document; local
779 CPDF_Document* pDoc = (CPDF_Document*)document; local
787 CPDF_Document* pDoc = (CPDF_Document*)document; local
[all...]
H A Dfpdfeditpage.cpp19 CPDF_Document* pDoc = new CPDF_Document; local
20 pDoc->CreateNewDoc();
39 pInfoDict = pDoc->GetInfo();
47 return pDoc;
52 CPDF_Document* pDoc = (CPDF_Document*)document; local
53 if (pDoc == NULL)
55 if (page_index < 0 || page_index >= pDoc->GetPageCount())
58 pDoc->DeletePage(page_index);
67 CPDF_Document* pDoc = (CPDF_Document*)document;
70 if(pDoc
[all...]
H A Dfpdfsave.cpp60 CPDF_Document* pDoc = (CPDF_Document*)document; local
61 if (!pDoc)
69 CPDF_Creator FileMaker(pDoc);
H A Dfpdfppo.cpp20 FX_BOOL UpdateReference(CPDF_Object *pObj, CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr);
21 int GetNewObjId(CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr, CPDF_Reference *pRef);
224 FX_BOOL CPDF_PageOrganizer::UpdateReference(CPDF_Object *pObj, CPDF_Document *pDoc, argument
232 int newobjnum = GetNewObjId(pDoc, pMapPtrToPtr, pReference);
234 pReference->SetRef(pDoc, newobjnum);//, 0);
250 if(!UpdateReference(pNextObj, pDoc, pMapPtrToPtr))
267 if(!UpdateReference(pNextObj, pDoc, pMapPtrToPtr))
281 if(!UpdateReference(pDict, pDoc, pMapPtrToPtr))
294 int CPDF_PageOrganizer::GetNewObjId(CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr, argument
341 dwNewObjNum = pDoc
[all...]
H A Dfpdf_ext.cpp58 void CheckUnSupportAnnot(CPDF_Document * pDoc, CPDF_Annot* pPDFAnnot) argument
151 void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code) argument
159 if(!pDoc)
163 CPDF_Dictionary * pRootDict = pDoc->GetRoot();
202 metaData.LoadDoc(pDoc);
208 CPDF_InterForm * pInterForm = new CPDF_InterForm(pDoc,FALSE);
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_fdf.cpp22 CFDF_Document* pDoc = new CFDF_Document; local
23 pDoc->m_pRootDict = new CPDF_Dictionary;
24 pDoc->AddIndirectObject(pDoc->m_pRootDict);
26 pDoc->m_pRootDict->SetAt(FX_BSTRC("FDF"), pFDFDict);
27 return pDoc;
34 CFDF_Document* pDoc = new CFDF_Document; local
35 pDoc->ParseStream(pFile, bOwnFile);
36 if (pDoc->m_pRootDict == NULL) {
37 delete pDoc;
[all...]
/external/parameter-framework/xmlserializer/
H A DXmlDocSource.h53 * @param[out] pDoc a pointer to the xml document that will be filled by the class
57 CXmlDocSource(_xmlDoc* pDoc, bool bValidateWithSchema = false, _xmlNode* pRootNode = NULL);
62 * @param[out] pDoc a pointer to the xml document that will be filled by the class
69 CXmlDocSource(_xmlDoc* pDoc, bool bValidateWithSchema,
123 * Method that validates the Xml doc contained in pDoc
H A DXmlDocSource.cpp44 CXmlDocSource::CXmlDocSource(_xmlDoc *pDoc, bool bValidateWithSchema, argument
46 _pDoc(pDoc),
57 CXmlDocSource::CXmlDocSource(_xmlDoc *pDoc, bool bValidateWithSchema, argument
62 _pDoc(pDoc),
63 _pRootNode(xmlDocGetRootElement(pDoc)),
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_viewerPreferences.cpp8 CPDF_ViewerPreferences::CPDF_ViewerPreferences(CPDF_Document *pDoc): m_pDoc(pDoc) argument
H A Ddoc_link.cpp86 CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc) argument
93 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests"));
95 return CPDF_Dest(name_tree.LookupNamedDest(pDoc, name));
H A Ddoc_metadata.cpp51 void CPDF_Metadata::LoadDoc(CPDF_Document *pDoc) argument
53 FXSYS_assert(pDoc != NULL);
54 ((PDFDOC_LPMETADATA)m_pData)->m_pDoc = pDoc;
55 CPDF_Dictionary *pRoot = pDoc->GetRoot();
H A Ddoc_ap.cpp11 FX_BOOL FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) argument
19 return CPVT_GenerateAP::GenerateTextFieldAP(pDoc, pAnnotDict);
22 return CPVT_GenerateAP::GenerateComboBoxAP(pDoc, pAnnotDict);
24 return CPVT_GenerateAP::GenerateListBoxAP(pDoc, pAnnotDict);
42 CPVT_FontMap(CPDF_Document * pDoc, CPDF_Dictionary * pResDict, CPDF_Font * pDefFont,
47 static void GetAnnotSysPDFFont(CPDF_Document * pDoc, CPDF_Dictionary * pResDict,
57 CPVT_FontMap::CPVT_FontMap(CPDF_Document * pDoc, CPDF_Dictionary * pResDict, CPDF_Font * pDefFont, argument
59 m_pDocument(pDoc),
71 void CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document * pDoc, CPDF_Dictionary * pResDict, argument
74 if (pDoc
247 GenerateWidgetAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict, const FX_INT32 & nWidgetType) argument
627 GenerateTextFieldAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) argument
631 GenerateComboBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) argument
635 GenerateListBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict) argument
[all...]
/external/pdfium/fpdfsdk/include/javascript/
H A DJS_EventHandler.h70 void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName);
71 void OnDoc_WillPrint(CPDFSDK_Document* pDoc);
72 void OnDoc_DidPrint(CPDFSDK_Document* pDoc);
73 void OnDoc_WillSave(CPDFSDK_Document* pDoc);
74 void OnDoc_DidSave(CPDFSDK_Document* pDoc);
75 void OnDoc_WillClose(CPDFSDK_Document* pDoc);
77 void OnPage_Open(CPDFSDK_Document* pDoc);
78 void OnPage_Close(CPDFSDK_Document* pDoc);
H A DIJavaScript.h26 virtual void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName) = 0;
27 virtual void OnDoc_WillPrint(CPDFSDK_Document* pDoc) = 0;
28 virtual void OnDoc_DidPrint(CPDFSDK_Document* pDoc) = 0;
29 virtual void OnDoc_WillSave(CPDFSDK_Document* pDoc) = 0;
30 virtual void OnDoc_DidSave(CPDFSDK_Document* pDoc) = 0;
31 virtual void OnDoc_WillClose(CPDFSDK_Document* pDoc) = 0;
H A DJS_Context.h30 virtual void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName);
31 virtual void OnDoc_WillPrint(CPDFSDK_Document* pDoc);
32 virtual void OnDoc_DidPrint(CPDFSDK_Document* pDoc);
33 virtual void OnDoc_WillSave(CPDFSDK_Document* pDoc);
34 virtual void OnDoc_DidSave(CPDFSDK_Document* pDoc);
35 virtual void OnDoc_WillClose(CPDFSDK_Document* pDoc);
/external/pdfium/fpdfsdk/src/javascript/
H A DJS_EventHandler.cpp55 void CJS_EventHandler::OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName) argument
59 m_pTargetDoc = pDoc;
63 void CJS_EventHandler::OnDoc_WillPrint(CPDFSDK_Document* pDoc) argument
67 m_pTargetDoc = pDoc;
70 void CJS_EventHandler::OnDoc_DidPrint(CPDFSDK_Document* pDoc) argument
74 m_pTargetDoc = pDoc;
77 void CJS_EventHandler::OnDoc_WillSave(CPDFSDK_Document* pDoc) argument
80 m_pTargetDoc = pDoc;
83 void CJS_EventHandler::OnDoc_DidSave(CPDFSDK_Document* pDoc) argument
87 m_pTargetDoc = pDoc;
90 OnDoc_WillClose(CPDFSDK_Document* pDoc) argument
97 OnPage_Open(CPDFSDK_Document* pDoc) argument
104 OnPage_Close(CPDFSDK_Document* pDoc) argument
111 OnPage_InView(CPDFSDK_Document* pDoc) argument
118 OnPage_OutView(CPDFSDK_Document* pDoc) argument
[all...]
H A DJS_Context.cpp133 void CJS_Context::OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString &strTargetName) argument
136 m_pEventHandler->OnDoc_Open(pDoc,strTargetName);
139 void CJS_Context::OnDoc_WillPrint(CPDFSDK_Document* pDoc) argument
142 m_pEventHandler->OnDoc_WillPrint(pDoc);
145 void CJS_Context::OnDoc_DidPrint(CPDFSDK_Document* pDoc) argument
148 m_pEventHandler->OnDoc_DidPrint(pDoc);
151 void CJS_Context::OnDoc_WillSave(CPDFSDK_Document* pDoc) argument
154 m_pEventHandler->OnDoc_WillSave(pDoc);
157 void CJS_Context::OnDoc_DidSave(CPDFSDK_Document* pDoc) argument
160 m_pEventHandler->OnDoc_DidSave(pDoc);
163 OnDoc_WillClose(CPDFSDK_Document* pDoc) argument
[all...]
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_module.h143 virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) argument
156 virtual void ClearStockFont(CPDF_Document* pDoc) {} argument
170 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) argument
H A Dfpdf_objects.h362 void AddReference(CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
364 void AddReference(CPDF_IndirectObjects* pDoc, CPDF_Object* obj) argument
366 AddReference(pDoc, obj->GetObjNum());
462 void SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
464 void SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, CPDF_Object* obj) argument
466 SetAtReference(key, pDoc, obj->GetObjNum());
469 void AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
471 void AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, CPDF_Object* obj) argument
473 AddReference(key, pDoc, obj->GetObjNum());
678 static CPDF_Reference* Create(CPDF_IndirectObjects* pDoc, in argument
683 CPDF_Reference(CPDF_IndirectObjects* pDoc, int objnum) argument
[all...]
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_ap.h80 static FX_BOOL GenerateTextFieldAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
82 static FX_BOOL GenerateComboBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
84 static FX_BOOL GenerateListBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
H A Dfpdf_tagged.h21 static CPDF_StructTree* LoadDoc(const CPDF_Document* pDoc);
23 static CPDF_StructTree* LoadPage(const CPDF_Document* pDoc, const CPDF_Dictionary* pPageDict);
/external/pdfium/core/include/fpdftext/
H A Dfpdf_text.h25 void PDF_GetPageText(CFX_ByteStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
27 void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
29 void PDF_GetTextStream_Unicode(CFX_WideTextBuf& buffer, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
31 CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc, CPDF_Dictionary* pPage);
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_FontMap.cpp375 CPDF_Font* CPWL_FontMap::AddFontToDocument(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nCharset) argument
378 return AddStandardFont(pDoc, sFontName);
380 return AddSystemFont(pDoc, sFontName, nCharset);
383 CPDF_Font* CPWL_FontMap::AddStandardFont(CPDF_Document* pDoc, CFX_ByteString& sFontName) argument
385 if (!pDoc) return NULL;
390 pFont = pDoc->AddStandardFont(sFontName, NULL);
394 pFont = pDoc->AddStandardFont(sFontName, &fe);
400 CPDF_Font* CPWL_FontMap::AddSystemFont(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nCharset) argument
402 if (!pDoc) return NULL;
408 return m_pSystemHandler->AddNativeTrueTypeFontToPDF(pDoc, sFontNam
[all...]

Completed in 262 milliseconds

123