Home
last modified time | relevance | path

Searched refs:m_pDocument (Results 1 – 25 of 75) sorted by relevance

123

/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_page.cpp17 m_pDocument(pDoc), in CPDFXFA_Page()
32 if (m_pDocument) in Release()
33 m_pDocument->RemovePage(this); in Release()
39 if (!m_pDocument) in LoadPDFPage()
41 CPDF_Document* pPDFDoc = m_pDocument->GetPDFDoc(); in LoadPDFPage()
64 if (!m_pDocument) in LoadXFAPageView()
66 IXFA_Doc* pXFADoc = m_pDocument->GetXFADoc(); in LoadXFAPageView()
70 IXFA_DocView* pXFADocView = m_pDocument->GetXFADocView(); in LoadXFAPageView()
87 if (!m_pDocument || m_iPageIndex < 0) in LoadPage()
90 int iDocType = m_pDocument->GetDocType(); in LoadPage()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_hostpseudomodel.cpp35 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_AppType()
51 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_FoxitAppType()
67 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_CalculationsEnabled()
84 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_CurrentPage()
101 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_Language()
117 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_NumPages()
133 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_Platform()
149 if (!m_pDocument->GetScriptContext()->IsRunAtClient()) { in Script_HostPseudoModel_Title()
152 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_Title()
172 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_HostPseudoModel_ValidationsEnabled()
[all …]
Dxfa_script_layoutpseudomodel.cpp29 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_LayoutPseudoModel_Ready()
81 IXFA_DocLayout* pDocLayout = m_pDocument->GetDocLayout(); in Script_LayoutPseudoModel_HWXY()
141 IXFA_DocLayout* pDocLayout = m_pDocument->GetDocLayout(); in Script_LayoutPseudoModel_NumberedPageCount()
184 IXFA_DocLayout* pDocLayout = m_pDocument->GetDocLayout(); in Script_LayoutPseudoModel_PageSpan()
370 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_LayoutPseudoModel_PageContent()
374 IXFA_DocLayout* pDocLayout = m_pDocument->GetDocLayout(); in Script_LayoutPseudoModel_PageContent()
381 CXFA_ArrayNodeList* pArrayNodeList = new CXFA_ArrayNodeList(m_pDocument); in Script_LayoutPseudoModel_PageContent()
385 m_pDocument->GetScriptContext()->GetJseNormalClass()); in Script_LayoutPseudoModel_PageContent()
393 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_LayoutPseudoModel_AbsPageCountInBatch()
406 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_LayoutPseudoModel_SheetCountInBatch()
[all …]
Dxfa_script_signaturepseudomodel.cpp31 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_SignaturePseudoModel_Verify()
53 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_SignaturePseudoModel_Sign()
87 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_SignaturePseudoModel_Enumerate()
94 m_pDocument->GetScriptContext()->GetJSValueFromMap(pList)); in Script_SignaturePseudoModel_Enumerate()
103 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_SignaturePseudoModel_Clear()
Dxfa_object_imp.cpp20 : m_pDocument(pDocument), m_uFlags(uFlags) {} in CXFA_Object()
57 IXFA_AppProvider* pAppProvider = m_pDocument->GetNotify()->GetAppProvider(); in ThrowScriptErrorMessage()
98 ASSERT(m_pDocument); in CXFA_Node()
115 IXFA_ObjFactory* pFactory = m_pDocument->GetParser()->GetFactory(); in Clone()
281 IXFA_ObjFactory* pFactory = m_pDocument->GetParser()->GetFactory(); in GetNodeList()
300 IXFA_ObjFactory* pFactory = m_pDocument->GetParser()->GetFactory(); in CreateSamePacketNode()
307 IXFA_ObjFactory* pFactory = m_pDocument->GetParser()->GetFactory(); in CloneTemplateToForm()
528 m_pDocument->GetCurVersionMode() < XFA_VERSION_208) { in GetIntact()
584 XFA_VERSION version = m_pDocument->GetCurVersionMode(); in GetIntact()
622 IXFA_ScriptContext* pScriptContext = m_pDocument->GetScriptContext(); in Script_TreeClass_ResolveNode()
[all …]
Dxfa_document_serialize.cpp22 : m_pDocument(pDocument) { in CXFA_DataImporter()
23 ASSERT(m_pDocument != NULL); in CXFA_DataImporter()
26 IXFA_Parser* pDataDocumentParser = IXFA_Parser::Create(m_pDocument); in ImportData()
45 (CXFA_Node*)m_pDocument->GetXFANode(XFA_HASHCODE_Datasets); in ImportData()
50 CXFA_Node* pDataNode = (CXFA_Node*)m_pDocument->GetXFANode(XFA_HASHCODE_Data); in ImportData()
68 m_pDocument->DoDataRemerge(FALSE); in ImportData()
470 : m_pDocument(pDocument) { in CXFA_DataExporter()
471 ASSERT(m_pDocument != NULL); in CXFA_DataExporter()
474 return Export(pWrite, m_pDocument->GetRoot()); in Export()
499 IFDE_XMLDoc* pXMLDoc = m_pDocument->GetParser()->GetXMLDoc(); in Export()
Dxfa_document_serialize.h16 CXFA_Document* m_pDocument;
33 CXFA_Document* m_pDocument; variable
Dxfa_script_eventpseudomodel.cpp56 IXFA_ScriptContext* pScriptContext = m_pDocument->GetScriptContext(); in Script_EventPseudoModel_Property()
239 IXFA_ScriptContext* pScriptContext = m_pDocument->GetScriptContext(); in Script_EventPseudoModel_Emit()
247 IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify(); in Script_EventPseudoModel_Emit()
259 IXFA_ScriptContext* pScriptContext = m_pDocument->GetScriptContext(); in Script_EventPseudoModel_Reset()
/external/pdfium/fpdfsdk/src/javascript/
DDocument.cpp152 m_pDocument(NULL), in Document()
173 CPDFSDK_InterForm* pInterForm = m_pDocument->GetInterForm(); in numFields()
183 if (m_pDocument->GetChangeMark()) in dirty()
193 m_pDocument->SetChangeMark(); in dirty()
195 m_pDocument->ClearChangeMark(); in dirty()
216 if (CPDFSDK_PageView* pPageView = m_pDocument->GetCurrentView()) { in pageNum()
220 int iPageCount = m_pDocument->GetPageCount(); in pageNum()
224 CPDFDoc_Environment* pEnv = m_pDocument->GetEnv(); in pageNum()
294 CPDFSDK_InterForm* pInterForm = m_pDocument->GetInterForm(); in getField()
331 CPDFSDK_InterForm* pInterForm = m_pDocument->GetInterForm(); in getNthFieldName()
[all …]
DField.cpp120 m_pDocument(NULL), in Field()
158 m_pDocument = pDocument->GetReaderDoc(); in AttachField()
159 m_bCanSet = m_pDocument->GetPermissions(FPDFPERM_FILL_FORM) || in AttachField()
160 m_pDocument->GetPermissions(FPDFPERM_ANNOT_FORM) || in AttachField()
161 m_pDocument->GetPermissions(FPDFPERM_MODIFY); in AttachField()
163 CPDFSDK_InterForm* pRDInterForm = m_pDocument->GetInterForm(); in AttachField()
201 return Field::GetFormFields(m_pDocument, csFieldName); in GetFormFields()
307 ASSERT(m_pDocument); in alignment()
319 Field::SetAlignment(m_pDocument, m_FieldName, m_nFormControlIndex, in alignment()
363 ASSERT(m_pDocument); in borderStyle()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp19 m_pDocument = NULL; in CPDF_PageContentGenerate()
21 m_pDocument = m_pPage->m_pDocument; in CPDF_PageContentGenerate()
53 m_pDocument->AddIndirectObject(pStream); in GenerateContent()
54 pPageDict->SetAtReference("Contents", m_pDocument, pStream->GetObjNum()); in GenerateContent()
61 int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources); in RealizeResource()
62 m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum); in RealizeResource()
69 m_pDocument->AddIndirectObject(pResourceObj); in RealizeResource()
79 pResList->AddReference(name, m_pDocument, pResourceObj->GetObjNum()); in RealizeResource()
96 pImageObj->m_pImage = m_pDocument->GetPageData()->GetImage(pStream); in ProcessImage()
162 m_pDocument->AddIndirectObject(pStream); in TransformContent()
[all …]
Dfpdf_edit_image.cpp168 m_pDocument->AddIndirectObject(pCS); in SetImage()
183 m_pDocument->AddIndirectObject(pCTS); in SetImage()
184 pCS->AddReference(m_pDocument, pCTS); in SetImage()
185 pDict->SetAtReference("ColorSpace", m_pDocument, pCS); in SetImage()
235 _JBIG2EncodeBitmap(pMaskDict, pMaskBitmap, m_pDocument, mask_buf, in SetImage()
256 m_pDocument->AddIndirectObject(pMaskStream); in SetImage()
257 pDict->SetAtReference("SMask", m_pDocument, pMaskStream); in SetImage()
266 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, in SetImage()
271 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, in SetImage()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp15 m_pDocument(NULL), in CBA_FontMap()
21 m_pDocument = pPage->m_pDocument; in CBA_FontMap()
103 return m_pDocument; in GetDocument()
158 ASSERT(m_pDocument != NULL); in AddFontToAnnotDict()
175 int32_t objnum = m_pDocument->AddIndirectObject(pStream); in AddFontToAnnotDict()
176 pAPDict->SetAtReference(m_sAPType, m_pDocument, objnum); in AddFontToAnnotDict()
197 int32_t objnum = m_pDocument->AddIndirectObject(pStreamResFontList); in AddFontToAnnotDict()
198 pStreamResList->SetAtReference("Font", m_pDocument, objnum); in AddFontToAnnotDict()
201 pStreamResFontList->SetAtReference(sAlias, m_pDocument, in AddFontToAnnotDict()
209 ASSERT(m_pDocument != NULL); in GetAnnotDefaultFont()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffdoc.cpp17 m_pDocument(nullptr), in CXFA_FFDoc()
35 m_pDocument = pDocParser->GetDocument(); in StartLoad()
101 int32_t iStatus = m_pDocument->GetParser()->DoParse(pPause); in DoLoad()
103 CXFA_Node* pPDFNode = (CXFA_Node*)m_pDocument->GetXFANode(XFA_HASHCODE_Pdf); in DoLoad()
139 IXFA_Parser* pParser = IXFA_Parser::Create(m_pDocument, TRUE); in DoLoad()
148 if (pRootNode && m_pDocument->GetRoot()) { in DoLoad()
149 XFA_XPDPacket_MergeRootNode(m_pDocument->GetRoot(), pRootNode); in DoLoad()
162 CXFA_Node* pConfig = (CXFA_Node*)m_pDocument->GetXFANode(XFA_HASHCODE_Config); in StopLoad()
271 if (m_pDocument) { in CloseDoc()
272 m_pDocument->ClearLayoutData(); in CloseDoc()
[all …]
Dxfa_ffdoc.h37 CXFA_Document* GetXFADoc() { return m_pDocument; } in GetXFADoc()
53 CXFA_Document* m_pDocument; variable
/external/pdfium/core/src/fpdfdoc/
Ddoc_action.cpp261 CPDF_DocJSActions::CPDF_DocJSActions(CPDF_Document* pDoc) : m_pDocument(pDoc) {} in CPDF_DocJSActions()
264 ASSERT(m_pDocument); in CountJSActions()
265 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in CountJSActions()
270 ASSERT(m_pDocument); in GetJSAction()
271 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction()
279 ASSERT(m_pDocument); in GetJSAction()
280 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in GetJSAction()
288 ASSERT(m_pDocument); in FindJSAction()
289 CPDF_NameTree name_tree(m_pDocument, "JavaScript"); in FindJSAction()
Ddoc_annot.cpp11 : m_pDocument(pPage->m_pDocument) { in CPDF_AnnotList()
19 CPDF_Dictionary* pRoot = m_pDocument->GetRoot(); in CPDF_AnnotList()
29 dwObjNum = m_pDocument->AddIndirectObject(pDict); in CPDF_AnnotList()
30 CPDF_Reference* pAction = new CPDF_Reference(m_pDocument, dwObjNum); in CPDF_AnnotList()
38 FPDF_GenerateAP(m_pDocument, pDict); in CPDF_AnnotList()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_image.cpp51 return m_pDocument->GetPageData()->GetImage(m_pStream); in Clone()
53 CPDF_Image* pImage = new CPDF_Image(m_pDocument); in Clone()
61 m_pDocument = pDoc; in CPDF_Image()
Dfpdf_page_pattern.cpp34 m_pDocument(pDoc), in CPDF_Pattern()
73 m_pForm = new CPDF_Form(m_pDocument, NULL, pStream); in Load()
108 if (pCS && m_pDocument) in ~CPDF_ShadingPattern()
109 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_ShadingPattern()
143 CPDF_DocPageData* pDocPageData = m_pDocument->GetPageData(); in Load()
Dfpdf_page_colors.cpp689 if (m_pProfile && m_pDocument) { in ~CPDF_ICCBasedCS()
690 m_pDocument->GetPageData()->ReleaseIccProfile(m_pProfile); in ~CPDF_ICCBasedCS()
891 if (pCS && m_pDocument) { in ~CPDF_IndexedCS()
892 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_IndexedCS()
976 if (pCS && m_pDocument) { in ~CPDF_PatternCS()
977 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_PatternCS()
1411 if (pPattern && pPattern->m_pDocument) { in ReleaseBuffer()
1412 CPDF_DocPageData* pPageData = pPattern->m_pDocument->GetPageData(); in ReleaseBuffer()
1422 if (m_pCS && m_pCS->m_pDocument && m_pCS->GetArray()) { in ReleaseColorSpace()
1423 m_pCS->m_pDocument->GetPageData()->ReleaseColorSpace(m_pCS->GetArray()); in ReleaseColorSpace()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp93 pEntry = new CPDF_ImageCacheEntry(m_pPage->m_pDocument, pStream); in GetCachedBitmap()
120 new CPDF_ImageCacheEntry(m_pPage->m_pDocument, pStream); in StartGetCachedBitmap()
155 pEntry = new CPDF_ImageCacheEntry(m_pPage->m_pDocument, pStream); in ResetBitmap()
171 m_pDocument(pDoc), in CPDF_ImageCacheEntry()
227 if (!pSrc->Load(m_pDocument, m_pStream, &pMaskSrc, &MatteColor, in GetCachedBitmap()
281 ->StartLoadDIBSource(m_pDocument, m_pStream, TRUE, pFormResources, in StartGetCachedBitmap()
Dfpdf_render_text.cpp302 if (!pFont->m_pDocument) { in GetCachedType3()
305 pFont->m_pDocument->GetPageData()->GetFont(pFont->GetFontDict(), FALSE); in GetCachedType3()
306 return pFont->m_pDocument->GetRenderData()->GetCachedType3(pFont); in GetCachedType3()
309 if (!pFont->m_pDocument) { in ReleaseCachedType3()
312 pFont->m_pDocument->GetRenderData()->ReleaseCachedType3(pFont); in ReleaseCachedType3()
313 pFont->m_pDocument->GetPageData()->ReleaseFont(pFont->GetFontDict()); in ReleaseCachedType3()
600 pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() in DrawTextPath()
691 pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() in DrawNormalText()
751 if (pFont->m_pDocument) { in DrawTextPathWithPattern()
752 pCache = pFont->m_pDocument->GetRenderData()->GetFontCache(); in DrawTextPathWithPattern()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp115 m_pDocument = NULL; in CPDF_Parser()
165 delete m_pDocument; in CloseParser()
166 m_pDocument = NULL; in CloseParser()
237 m_pDocument = new CPDF_Document(this); in StartParse()
273 m_pDocument->LoadDoc(); in StartParse()
274 if (!m_pDocument->GetRoot() || m_pDocument->GetPageCount() == 0) { in StartParse()
286 m_pDocument->LoadDoc(); in StartParse()
287 if (!m_pDocument->GetRoot()) in StartParse()
303 ToReference(m_pDocument->GetRoot()->GetElement("Metadata")); in StartParse()
321 m_pDocument->GetIndirectObject(pRef->GetRefObjNum(), nullptr); in SetEncryptHandler()
[all …]
/external/pdfium/fpdfsdk/include/fpdfxfa/
Dfpdfxfa_page.h19 CPDFXFA_Document* GetDocument() { return m_pDocument; } in GetDocument()
61 CPDFXFA_Document* m_pDocument; variable
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h69 explicit CPDF_BookmarkTree(CPDF_Document* pDoc) : m_pDocument(pDoc) {} in CPDF_BookmarkTree()
75 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument()
78 CPDF_Document* m_pDocument;
136 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument()
159 CPDF_Document* m_pDocument; variable
315 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument()
318 CPDF_Document* const m_pDocument;
450 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument()
462 CPDF_Document* const m_pDocument; variable
577 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument()
[all …]

123