Searched refs:m_pDocument (Results 1 - 25 of 57) sorted by relevance

123

/external/pdfium/fpdfsdk/src/javascript/
H A DDocument.cpp161 m_pDocument(NULL),
195 ASSERT(m_pDocument != NULL);
197 CPDFSDK_InterForm *pInterForm = m_pDocument->GetInterForm();
210 ASSERT(m_pDocument != NULL);
214 if (m_pDocument->GetChangeMark())
226 m_pDocument->SetChangeMark();
228 m_pDocument->ClearChangeMark();
236 ASSERT(m_pDocument != NULL);
251 ASSERT(m_pDocument != NULL);
255 if (CPDFSDK_PageView* pPageView = m_pDocument
[all...]
H A DField.cpp129 m_pDocument(NULL),
177 m_pDocument = pDocument->GetReaderDoc();
178 ASSERT(m_pDocument != NULL);
180 m_bCanSet = m_pDocument->GetPermissions(FPDFPERM_FILL_FORM) ||
181 m_pDocument->GetPermissions(FPDFPERM_ANNOT_FORM) ||
182 m_pDocument->GetPermissions(FPDFPERM_MODIFY);
184 CPDFSDK_InterForm* pRDInterForm = m_pDocument->GetInterForm();
232 ASSERT(m_pDocument != NULL);
234 Field::GetFormFields(m_pDocument, csFieldName, FieldArray);
382 ASSERT(m_pDocument !
[all...]
H A DJS_Runtime.cpp99 m_pDocument(NULL),
126 m_pDocument = NULL;
207 if (m_pDocument != pReaderDoc)
214 m_pDocument = pReaderDoc;
/external/pdfium/fpdfsdk/src/formfiller/
H A DFFL_CBA_Fontmap.cpp12 m_pDocument(NULL),
21 m_pDocument = pPage->m_pDocument;
28 m_pDocument(pDocument),
118 return m_pDocument;
171 ASSERT(m_pDocument != NULL);
190 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStream);
191 pAPDict->SetAtReference(m_sAPType, m_pDocument, objnum);
217 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStreamResFontList);
218 pStreamResList->SetAtReference("Font", m_pDocument, objnu
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_content.cpp19 m_pDocument = NULL;
21 m_pDocument = m_pPage->m_pDocument;
57 m_pDocument->AddIndirectObject(pStream);
58 pPageDict->SetAtReference("Contents", m_pDocument, pStream->GetObjNum());
64 int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources);
65 m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum);
72 m_pDocument->AddIndirectObject(pResourceObj);
82 pResList->AddReference(name, m_pDocument, pResourceObj->GetObjNum());
98 pImageObj->m_pImage = m_pDocument
[all...]
H A Dfpdf_edit_image.cpp161 m_pDocument->AddIndirectObject(pCS);
175 m_pDocument->AddIndirectObject(pCTS);
176 pCS->AddReference(m_pDocument, pCTS);
177 pDict->SetAtReference(FX_BSTRC("ColorSpace"), m_pDocument, pCS);
224 _JBIG2EncodeBitmap(pMaskDict, pMaskBitmap, m_pDocument, mask_buf, mask_size, TRUE);
245 m_pDocument->AddIndirectObject(pMaskStream);
247 pDict->SetAtReference(FX_BSTRC("SMask"), m_pDocument, pMaskStream);
257 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, TRUE);
261 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, FALSE);
H A Dfpdf_edit_create.cpp789 if ((len = PDF_CreatorWriteTrailer(pCreator->m_pDocument, pFile, pCreator->m_pIDArray, pCreator->m_bCompress)) < 0) {
870 m_pDocument = pDoc;
892 m_dwLastObjNum = m_pDocument->GetLastObjNum();
939 if (pDict == m_pDocument->m_pRootDict || pDict == m_pEncryptDict) {
1259 FX_BOOL bExistInMap = m_pDocument->m_IndirectObjs.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, valuetemp);
1262 CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum);
1272 m_pDocument->ReleaseIndirectObject(objnum);
1345 m_pDocument->m_IndirectObjs.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, (FX_LPVOID&)pObj);
1392 FX_POSITION pos = m_pDocument->m_IndirectObjs.GetStartPosition();
1396 m_pDocument
2042 m_pIDArray->Add(CPDF_String::Create(bsBuffer, TRUE), m_pDocument); local
2060 m_pIDArray->Add(CPDF_String::Create(bsBuffer, TRUE), m_pDocument); local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page_image.cpp55 return m_pDocument->GetPageData()->GetImage(m_pStream);
57 CPDF_Image* pImage = FX_NEW CPDF_Image(m_pDocument);
67 m_pDocument = pDoc;
84 if (pCSObj && m_pDocument) {
85 m_pDocument->RemoveColorSpaceFromPageData(pCSObj);
H A Dfpdf_page_pattern.cpp14 m_pDocument = pDoc;
46 m_pForm = FX_NEW CPDF_Form(m_pDocument, NULL, pStream);
55 m_pDocument = pDoc;
88 if (pCS && m_pDocument) {
89 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray());
130 CPDF_DocPageData* pDocPageData = m_pDocument->GetPageData();
H A Dfpdf_page_parser_new.cpp342 ((CPDF_Array*)pCurObj)->Add(pObject, m_pDocument);
345 ((CPDF_Dictionary*)pCurObj)->SetAt((FX_LPCSTR)m_pDictName, pObject, m_pDocument);
492 m_pLastImageDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument);
516 CPDF_ColorSpace* pCS = m_pDocument->LoadColorSpace(pCSObj);
521 m_pDocument->GetPageData()->ReleaseColorSpace(pCSObj);
609 if (m_Status != Ready || pPage == NULL || pPage->m_pDocument == NULL || pPage->m_pFormDict == NULL) {
636 m_pParser->PrepareParse(pPage->m_pDocument, pPage->m_pResources, NULL, NULL, pPage,
666 m_pParser->PrepareParse(pForm->m_pDocument, pForm->m_pPageResources, pForm->m_pResources, pParentMatrix, pForm,
H A Dfpdf_page_colors.cpp573 if (m_pProfile && m_pDocument) {
574 m_pDocument->GetPageData()->ReleaseIccProfile(NULL, m_pProfile);
753 if (pCS && m_pDocument) {
754 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray());
839 if (pCS && m_pDocument) {
840 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray());
1122 pCS->m_pDocument = pDoc;
1135 m_pDocument = NULL;
1270 if (pPattern && pPattern->m_pDocument) {
1271 pPattern->m_pDocument
[all...]
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_action.cpp329 m_pDocument = pDoc;
333 ASSERT(m_pDocument != NULL);
334 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript"));
339 ASSERT(m_pDocument != NULL);
340 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript"));
349 ASSERT(m_pDocument != NULL);
350 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript"));
359 ASSERT(m_pDocument != NULL);
360 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript"));
H A Ddoc_annot.cpp16 m_pDocument = pPage->m_pDocument;
21 CPDF_Dictionary* pRoot = m_pDocument->GetRoot();
31 dwObjNum = m_pDocument->AddIndirectObject(pDict);
32 CPDF_Reference* pAction = CPDF_Reference::Create(m_pDocument, dwObjNum);
48 FPDF_GenerateAP(m_pDocument, pDict);
151 m_pList->m_pDocument->AddIndirectObject(m_pAnnotDict);
153 return CPDF_Reference::Create(m_pList->m_pDocument, m_pAnnotDict->GetObjNum());
227 pForm = FX_NEW CPDF_Form(m_pList->m_pDocument, pPage->m_pResources, pStream);
H A Ddoc_bookmark.cpp11 CPDF_Dictionary* pRoot = m_pDocument->GetRoot()->GetDict("Outlines");
H A Ddoc_form.cpp269 m_pDocument = pDocument;
274 CPDF_Dictionary* pRoot = m_pDocument->GetRoot();
1043 InitInterFormDict(m_pFormDict, m_pDocument);
1097 return GetInterFormFont(m_pFormDict, m_pDocument, index, csNameTag);
1101 return GetInterFormFont(m_pFormDict, m_pDocument, csNameTag);
1105 return GetInterFormFont(m_pFormDict, m_pDocument, csFontName, csNameTag);
1109 return GetNativeInterFormFont(m_pFormDict, m_pDocument, charSet, csNameTag);
1113 return GetNativeInterFormFont(m_pFormDict, m_pDocument, csNameTag);
1121 return FindInterFormFont(m_pFormDict, m_pDocument, csFontName, pFont, csNameTag);
1125 AddInterFormFont(m_pFormDict, m_pDocument, pFon
[all...]
H A Ddoc_basic.cpp503 if (m_pDocument == NULL) {
506 CPDF_Dictionary* pPDFRoot = m_pDocument->GetRoot();
540 if (m_pDocument == NULL) {
543 CPDF_Dictionary* pPDFRoot = m_pDocument->GetRoot();
547 int nPages = m_pDocument->GetPageCount();
/external/pdfium/fpdfsdk/include/javascript/
H A DJS_Runtime.h29 virtual CPDFSDK_Document * GetReaderDocument(){return m_pDocument;}
60 CPDFSDK_Document * m_pDocument; member in class:CJS_Runtime
/external/pdfium/core/include/fpdfdoc/
H A Dfpdf_doc.h82 m_pDocument = pDoc;
95 return m_pDocument;
99 CPDF_Document* m_pDocument; member in class:CPDF_BookmarkTree
188 return m_pDocument;
211 CPDF_Document *m_pDocument; member in class:CPDF_OCContext
513 return m_pDocument;
518 CPDF_Document* m_pDocument; member in class:CPDF_DocJSActions
553 m_pDocument = pDoc;
566 return m_pDocument;
570 CPDF_Document* m_pDocument; member in class:CPDF_LinkList
728 CPDF_Document* m_pDocument; member in class:CPDF_AnnotList
1042 CPDF_Document* m_pDocument; member in class:CPDF_InterForm
1623 CPDF_Document* m_pDocument; member in class:CPDF_PageLabel
[all...]
/external/pdfium/fpdfsdk/include/formfiller/
H A DFFL_CBA_Fontmap.h43 CPDF_Document* m_pDocument; member in class:CBA_FontMap
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_cache.cpp114 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream);
129 m_pCurImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream);
166 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream);
174 : m_pDocument(pDoc)
245 if (!pSrc->Load(m_pDocument, m_pStream, &pMaskSrc, &MatteColor, pRenderStatus->m_pFormResource, pPageResources, bStdCS, GroupFamily, bLoadMask)) {
310 int ret = ((CPDF_DIBSource*)m_pCurBitmap)->StartLoadDIBSource(m_pDocument, m_pStream, TRUE, pFormResources, pPageResources, bStdCS, GroupFamily, bLoadMask);
H A Dfpdf_render_text.cpp305 if (pFont->m_pDocument == NULL) {
308 pFont->m_pDocument->GetPageData()->GetFont(pFont->GetFontDict(), FALSE);
309 return pFont->m_pDocument->GetRenderData()->GetCachedType3(pFont);
313 if (pFont->m_pDocument == NULL) {
316 pFont->m_pDocument->GetRenderData()->ReleaseCachedType3(pFont);
317 pFont->m_pDocument->GetPageData()->ReleaseFont(pFont->GetFontDict());
343 if (!dibsrc.Load(pContext->m_pDocument, pInlines->m_pStream, NULL, NULL, NULL, NULL)) {
599 CFX_FontCache* pCache = pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() : NULL;
668 CFX_FontCache* pCache = pFont->m_pDocument
[all...]
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_page.h116 CPDF_Document* m_pDocument; member in class:CPDF_PageObjects
246 CPDF_Document* m_pDocument; member in class:CPDF_PageContentGenerate
H A Dfpdf_resource.h230 CPDF_Document* m_pDocument; member in class:CPDF_Font
652 CPDF_Document* m_pDocument; member in class:CPDF_ColorSpace
743 CPDF_Document* m_pDocument; member in class:CPDF_Pattern
895 return m_pDocument;
955 CPDF_Document* m_pDocument; member in class:CPDF_Image
/external/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_parser.cpp45 m_pDocument = NULL;
71 if (m_pDocument && !bReParse) {
72 delete m_pDocument;
73 m_pDocument = NULL;
165 m_pDocument = FX_NEW CPDF_Document(this);
198 m_pDocument->LoadDoc();
199 if (m_pDocument->GetRoot() == NULL || m_pDocument->GetPageCount() == 0) {
211 m_pDocument->LoadDoc();
212 if (m_pDocument
[all...]
/external/pdfium/fpdfsdk/src/
H A Dfsdk_baseform.cpp1685 :m_pDocument(pDocument),
1690 ASSERT(m_pDocument != NULL);
1691 m_pInterForm = new CPDF_InterForm(m_pDocument->GetDocument(), FALSE);
1721 return m_pDocument;
1761 ASSERT(m_pDocument != NULL);
1762 CPDF_Document* pDocument = m_pDocument->GetDocument();
1771 pPage = m_pDocument->GetPageView(nPageIndex);
1780 pPage = m_pDocument->GetPageView(nPageIndex);
1868 ASSERT(m_pDocument != NULL);
1869 CPDF_Document* pDocument = m_pDocument
[all...]

Completed in 398 milliseconds

123