HomeSort by relevance Sort by last modified time
    Searched refs:pDoc (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/pdfium/core/src/fpdfdoc/
doc_viewerPreferences.cpp 8 CPDF_ViewerPreferences::CPDF_ViewerPreferences(CPDF_Document *pDoc): m_pDoc(pDoc)
doc_ap.cpp 11 FX_BOOL FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict)
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,
59 m_pDocument(pDoc),
71 void CPVT_FontMap::GetAnnotSysPDFFont(CPDF_Document * pDoc, CPDF_Dictionary * pResDict,
74 if (pDoc && pResDict) {
    [all...]
doc_link.cpp 87 CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc)
94 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests"));
96 return name_tree.LookupNamedDest(pDoc, name);
doc_metadata.cpp 55 void CPDF_Metadata::LoadDoc(CPDF_Document *pDoc)
57 FXSYS_assert(pDoc != NULL);
58 ((PDFDOC_LPMETADATA)m_pData)->m_pDoc = pDoc;
59 CPDF_Dictionary *pRoot = pDoc->GetRoot();
doc_action.cpp 8 CPDF_Dest CPDF_Action::GetDest(CPDF_Document* pDoc) const
22 CPDF_NameTree name_tree(pDoc, FX_BSTRC("Dests"));
24 return name_tree.LookupNamedDest(pDoc, name);
73 CFX_ByteString CPDF_Action::GetURI(CPDF_Document* pDoc) const
83 CPDF_Dictionary* pRoot = pDoc->GetRoot();
327 CPDF_DocJSActions::CPDF_DocJSActions(CPDF_Document* pDoc)
329 m_pDocument = pDoc;
  /external/pdfium/fpdfsdk/src/
fpdfdoc.cpp 36 CPDF_Document* pDoc = (CPDF_Document*)document;
37 CPDF_BookmarkTree tree(pDoc);
49 CPDF_Document* pDoc = (CPDF_Document*)document;
50 CPDF_Dest dest = Bookmark.GetDest(pDoc);
56 return Action.GetDest(pDoc);
92 CPDF_Document* pDoc = (CPDF_Document*)document;
95 return Action.GetDest(pDoc);
103 CPDF_Document* pDoc = (CPDF_Document*)document;
106 CFX_ByteString path = Action.GetURI(pDoc);
117 CPDF_Document* pDoc = (CPDF_Document*)document;
    [all...]
fpdf_transformpage.cpp 108 CPDF_Document* pDoc = pPage->m_pDocument;
109 if(!pDoc)
111 pDoc->AddIndirectObject(pStream);
116 pDoc->AddIndirectObject(pEndStream);
122 CPDF_Reference* pRef = FX_NEW CPDF_Reference(pDoc, pStream->GetObjNum());
124 pContentArray->AddReference(pDoc,pEndStream);
136 CPDF_Reference* pRef = FX_NEW CPDF_Reference(pDoc, pStream->GetObjNum());
138 pContentArray->AddReference(pDoc,pEndStream);
144 pContentArray->AddReference(pDoc,pStream->GetObjNum());
145 pContentArray->AddReference(pDoc,pDirectObj->GetObjNum());
    [all...]
fpdfsave.cpp 59 CPDF_Document* pDoc = (CPDF_Document*)document;
60 if (!pDoc)
68 CPDF_Creator FileMaker(pDoc);
fpdfeditpage.cpp 20 CPDF_Document* pDoc = FX_NEW CPDF_Document;
21 if (!pDoc)
23 pDoc->CreateNewDoc();
42 pInfoDict = pDoc->GetInfo();
54 return pDoc;
59 CPDF_Document* pDoc = (CPDF_Document*)document;
60 if (pDoc == NULL)
62 if (page_index < 0 || page_index >= pDoc->GetPageCount())
65 pDoc->DeletePage(page_index);
74 CPDF_Document* pDoc = (CPDF_Document*)document;
    [all...]
fpdfview.cpp 114 CPDF_Document* pDoc, // [IN] The PDF document
290 extern void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code);
321 CPDF_Document * pDoc = NULL;
322 pDoc = pParser?pParser->GetDocument():NULL;
323 CheckUnSupportError(pDoc, err_code);
345 CPDF_Document * pDoc = NULL;
346 pDoc = pParser?pParser->GetDocument():NULL;
347 CheckUnSupportError(pDoc, err_code);
361 CPDF_Document* pDoc = (CPDF_Document*)doc;
362 CPDF_Parser* pParser = (CPDF_Parser*)pDoc->GetParser();
    [all...]
fpdfppo.cpp 20 FX_BOOL UpdateReference(CPDF_Object *pObj, CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr);
21 int GetNewObjId(CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr, CPDF_Reference *pRef);
226 FX_BOOL CPDF_PageOrganizer::UpdateReference(CPDF_Object *pObj, CPDF_Document *pDoc,
234 int newobjnum = GetNewObjId(pDoc, pMapPtrToPtr, pReference);
236 pReference->SetRef(pDoc, newobjnum);//, 0);
252 if(!UpdateReference(pNextObj, pDoc, pMapPtrToPtr))
269 if(!UpdateReference(pNextObj, pDoc, pMapPtrToPtr))
283 if(!UpdateReference(pDict, pDoc, pMapPtrToPtr))
296 int CPDF_PageOrganizer::GetNewObjId(CPDF_Document *pDoc, CFX_MapPtrToPtr* pMapPtrToPtr,
334 dwNewObjNum = pDoc->AddIndirectObject(pClone);//, onum, gnum);
    [all...]
fpdf_ext.cpp 58 void CheckUnSupportAnnot(CPDF_Document * pDoc, CPDF_Annot* pPDFAnnot)
151 void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code)
159 if(!pDoc)
163 CPDF_Dictionary * pRootDict = pDoc->GetRoot();
202 metaData.LoadDoc(pDoc);
209 CPDF_InterForm * pInterForm = FX_NEW CPDF_InterForm(pDoc,FALSE);
  /external/pdfium/core/src/fpdfapi/fpdf_parser/
fpdf_parser_fdf.cpp 22 CFDF_Document* pDoc = FX_NEW CFDF_Document;
23 pDoc->m_pRootDict = FX_NEW CPDF_Dictionary;
24 pDoc->AddIndirectObject(pDoc->m_pRootDict);
26 pDoc->m_pRootDict->SetAt(FX_BSTRC("FDF"), pFDFDict);
27 return pDoc;
42 CFDF_Document* pDoc = FX_NEW CFDF_Document;
43 pDoc->ParseStream(pFile, bOwnFile);
44 if (pDoc->m_pRootDict == NULL) {
45 delete pDoc;
    [all...]
  /external/pdfium/fpdfsdk/include/javascript/
IJavaScript.h 19 virtual void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName) = 0;
20 virtual void OnDoc_WillPrint(CPDFSDK_Document* pDoc) = 0;
21 virtual void OnDoc_DidPrint(CPDFSDK_Document* pDoc) = 0;
22 virtual void OnDoc_WillSave(CPDFSDK_Document* pDoc) = 0;
23 virtual void OnDoc_DidSave(CPDFSDK_Document* pDoc) = 0;
24 virtual void OnDoc_WillClose(CPDFSDK_Document* pDoc) = 0;
JS_Context.h 26 virtual void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName);
27 virtual void OnDoc_WillPrint(CPDFSDK_Document* pDoc);
28 virtual void OnDoc_DidPrint(CPDFSDK_Document* pDoc);
29 virtual void OnDoc_WillSave(CPDFSDK_Document* pDoc);
30 virtual void OnDoc_DidSave(CPDFSDK_Document* pDoc);
31 virtual void OnDoc_WillClose(CPDFSDK_Document* pDoc);
JS_EventHandler.h 63 void OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName);
64 void OnDoc_WillPrint(CPDFSDK_Document* pDoc);
65 void OnDoc_DidPrint(CPDFSDK_Document* pDoc);
66 void OnDoc_WillSave(CPDFSDK_Document* pDoc);
67 void OnDoc_DidSave(CPDFSDK_Document* pDoc);
68 void OnDoc_WillClose(CPDFSDK_Document* pDoc);
70 void OnPage_Open(CPDFSDK_Document* pDoc);
71 void OnPage_Close(CPDFSDK_Document* pDoc);
  /external/pdfium/fpdfsdk/src/javascript/
JS_EventHandler.cpp 55 void CJS_EventHandler::OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString& strTargetName)
59 m_pTargetDoc = pDoc;
63 void CJS_EventHandler::OnDoc_WillPrint(CPDFSDK_Document* pDoc)
67 m_pTargetDoc = pDoc;
70 void CJS_EventHandler::OnDoc_DidPrint(CPDFSDK_Document* pDoc)
74 m_pTargetDoc = pDoc;
77 void CJS_EventHandler::OnDoc_WillSave(CPDFSDK_Document* pDoc)
80 m_pTargetDoc = pDoc;
83 void CJS_EventHandler::OnDoc_DidSave(CPDFSDK_Document* pDoc)
87 m_pTargetDoc = pDoc;
    [all...]
JS_Context.cpp 142 void CJS_Context::OnDoc_Open(CPDFSDK_Document* pDoc, const CFX_WideString &strTargetName)
145 m_pEventHandler->OnDoc_Open(pDoc,strTargetName);
148 void CJS_Context::OnDoc_WillPrint(CPDFSDK_Document* pDoc)
151 m_pEventHandler->OnDoc_WillPrint(pDoc);
154 void CJS_Context::OnDoc_DidPrint(CPDFSDK_Document* pDoc)
157 m_pEventHandler->OnDoc_DidPrint(pDoc);
160 void CJS_Context::OnDoc_WillSave(CPDFSDK_Document* pDoc)
163 m_pEventHandler->OnDoc_WillSave(pDoc);
166 void CJS_Context::OnDoc_DidSave(CPDFSDK_Document* pDoc)
169 m_pEventHandler->OnDoc_DidSave(pDoc);
    [all...]
  /external/pdfium/core/include/fpdfapi/
fpdf_module.h 140 virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc)
153 virtual void ClearStockFont(CPDF_Document* pDoc) {}
178 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc)
fpdf_objects.h 389 void AddReference(CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
391 void AddReference(CPDF_IndirectObjects* pDoc, CPDF_Object* obj)
393 AddReference(pDoc, obj->GetObjNum());
494 void SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
496 void SetAtReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, CPDF_Object* obj)
498 SetAtReference(key, pDoc, obj->GetObjNum());
501 void AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, FX_DWORD objnum);
503 void AddReference(FX_BSTR key, CPDF_IndirectObjects* pDoc, CPDF_Object* obj)
505 AddReference(key, pDoc, obj->GetObjNum());
713 static CPDF_Reference* Create(CPDF_IndirectObjects* pDoc, int objnum)
    [all...]
  /external/pdfium/core/include/fpdfdoc/
fpdf_ap.h 78 static FX_BOOL GenerateTextFieldAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
80 static FX_BOOL GenerateComboBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
82 static FX_BOOL GenerateListBoxAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict);
fpdf_tagged.h 20 static CPDF_StructTree* LoadDoc(const CPDF_Document* pDoc);
22 static CPDF_StructTree* LoadPage(const CPDF_Document* pDoc, const CPDF_Dictionary* pPageDict);
  /external/pdfium/fpdfsdk/include/pdfwindow/
PWL_FontMap.h 82 CPDF_Font* AddFontToDocument(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nCharset);
84 CPDF_Font* AddStandardFont(CPDF_Document* pDoc, CFX_ByteString& sFontName);
85 CPDF_Font* AddSystemFont(CPDF_Document* pDoc, CFX_ByteString& sFontName,
  /external/pdfium/core/include/fpdftext/
fpdf_text.h 24 void PDF_GetPageText(CFX_ByteStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
26 void PDF_GetPageText_Unicode(CFX_WideStringArray& lines, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
28 void PDF_GetTextStream_Unicode(CFX_WideTextBuf& buffer, CPDF_Document* pDoc, CPDF_Dictionary* pPage,
30 CFX_WideString PDF_GetFirstTextLine_Unicode(CPDF_Document* pDoc, CPDF_Dictionary* pPage);
  /external/pdfium/fpdfsdk/src/pdfwindow/
PWL_FontMap.cpp 379 CPDF_Font* CPWL_FontMap::AddFontToDocument(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nCharset)
382 return AddStandardFont(pDoc, sFontName);
384 return AddSystemFont(pDoc, sFontName, nCharset);
387 CPDF_Font* CPWL_FontMap::AddStandardFont(CPDF_Document* pDoc, CFX_ByteString& sFontName)
389 if (!pDoc) return NULL;
394 pFont = pDoc->AddStandardFont(sFontName, NULL);
398 pFont = pDoc->AddStandardFont(sFontName, &fe);
404 CPDF_Font* CPWL_FontMap::AddSystemFont(CPDF_Document* pDoc, CFX_ByteString& sFontName, FX_BYTE nCharset)
406 if (!pDoc) return NULL;
412 return m_pSystemHandler->AddNativeTrueTypeFontToPDF(pDoc, sFontName, nCharset);
    [all...]

Completed in 171 milliseconds

1 2 3