/external/pdfium/fpdfsdk/src/javascript/ |
D | Document.cpp | 161 m_pDocument(NULL), in Document() 195 ASSERT(m_pDocument != NULL); in numFields() 197 CPDFSDK_InterForm *pInterForm = m_pDocument->GetInterForm(); in numFields() 210 ASSERT(m_pDocument != NULL); in dirty() 214 if (m_pDocument->GetChangeMark()) in dirty() 226 m_pDocument->SetChangeMark(); in dirty() 228 m_pDocument->ClearChangeMark(); in dirty() 236 ASSERT(m_pDocument != NULL); in ADBE() 251 ASSERT(m_pDocument != NULL); in pageNum() 255 if (CPDFSDK_PageView* pPageView = m_pDocument->GetCurrentView()) in pageNum() [all …]
|
D | Field.cpp | 129 m_pDocument(NULL), in Field() 177 m_pDocument = pDocument->GetReaderDoc(); in AttachField() 178 ASSERT(m_pDocument != NULL); in AttachField() 180 m_bCanSet = m_pDocument->GetPermissions(FPDFPERM_FILL_FORM) || in AttachField() 181 m_pDocument->GetPermissions(FPDFPERM_ANNOT_FORM) || in AttachField() 182 m_pDocument->GetPermissions(FPDFPERM_MODIFY); in AttachField() 184 CPDFSDK_InterForm* pRDInterForm = m_pDocument->GetInterForm(); in AttachField() 232 ASSERT(m_pDocument != NULL); in GetFormFields() 234 Field::GetFormFields(m_pDocument, csFieldName, FieldArray); in GetFormFields() 382 ASSERT(m_pDocument != NULL); in alignment() [all …]
|
D | JS_Runtime.cpp | 99 m_pDocument(NULL), in CJS_Runtime() 126 m_pDocument = NULL; in ~CJS_Runtime() 207 if (m_pDocument != pReaderDoc) in SetReaderDocument() 214 m_pDocument = pReaderDoc; in SetReaderDocument()
|
/external/pdfium/fpdfsdk/src/formfiller/ |
D | FFL_CBA_Fontmap.cpp | 12 m_pDocument(NULL), in CBA_FontMap() 21 m_pDocument = pPage->m_pDocument; in CBA_FontMap() 28 m_pDocument(pDocument), in CBA_FontMap() 118 return m_pDocument; in GetDocument() 171 ASSERT(m_pDocument != NULL); in AddFontToAnnotDict() 190 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStream); in AddFontToAnnotDict() 191 pAPDict->SetAtReference(m_sAPType, m_pDocument, objnum); in AddFontToAnnotDict() 217 FX_INT32 objnum = m_pDocument->AddIndirectObject(pStreamResFontList); in AddFontToAnnotDict() 218 pStreamResList->SetAtReference("Font", m_pDocument, objnum); in AddFontToAnnotDict() 221 pStreamResFontList->SetAtReference(sAlias, m_pDocument, pFont->GetFontDict()); in AddFontToAnnotDict() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_content.cpp | 19 m_pDocument = NULL; in CPDF_PageContentGenerate() 21 m_pDocument = m_pPage->m_pDocument; in CPDF_PageContentGenerate() 57 m_pDocument->AddIndirectObject(pStream); in GenerateContent() 58 pPageDict->SetAtReference("Contents", m_pDocument, pStream->GetObjNum()); in GenerateContent() 64 int objnum = m_pDocument->AddIndirectObject(m_pPage->m_pResources); in RealizeResource() 65 m_pPage->m_pFormDict->SetAtReference("Resources", m_pDocument, objnum); in RealizeResource() 72 m_pDocument->AddIndirectObject(pResourceObj); in RealizeResource() 82 pResList->AddReference(name, m_pDocument, pResourceObj->GetObjNum()); in RealizeResource() 98 pImageObj->m_pImage = m_pDocument->GetPageData()->GetImage(pStream); in ProcessImage() 162 m_pDocument->AddIndirectObject(pStream); in TransformContent() [all …]
|
D | fpdf_edit_image.cpp | 161 m_pDocument->AddIndirectObject(pCS); in SetImage() 175 m_pDocument->AddIndirectObject(pCTS); in SetImage() 176 pCS->AddReference(m_pDocument, pCTS); in SetImage() 177 pDict->SetAtReference(FX_BSTRC("ColorSpace"), m_pDocument, pCS); in SetImage() 224 _JBIG2EncodeBitmap(pMaskDict, pMaskBitmap, m_pDocument, mask_buf, mask_size, TRUE); in SetImage() 245 m_pDocument->AddIndirectObject(pMaskStream); in SetImage() 247 pDict->SetAtReference(FX_BSTRC("SMask"), m_pDocument, pMaskStream); in SetImage() 257 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, TRUE); in SetImage() 261 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, FALSE); in SetImage()
|
D | fpdf_edit_create.cpp | 789 …if ((len = PDF_CreatorWriteTrailer(pCreator->m_pDocument, pFile, pCreator->m_pIDArray, pCreator->m… in GenerateXRefStream() 870 m_pDocument = pDoc; in CPDF_Creator() 892 m_dwLastObjNum = m_pDocument->GetLastObjNum(); in CPDF_Creator() 939 if (pDict == m_pDocument->m_pRootDict || pDict == m_pEncryptDict) { in WriteIndirectObjectToStream() 1259 …FX_BOOL bExistInMap = m_pDocument->m_IndirectObjs.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, valuetemp); in WriteOldIndirectObject() 1262 CPDF_Object* pObj = m_pDocument->GetIndirectObject(objnum); in WriteOldIndirectObject() 1272 m_pDocument->ReleaseIndirectObject(objnum); in WriteOldIndirectObject() 1345 m_pDocument->m_IndirectObjs.Lookup((FX_LPVOID)(FX_UINTPTR)objnum, (FX_LPVOID&)pObj); in WriteNewObjs() 1392 FX_POSITION pos = m_pDocument->m_IndirectObjs.GetStartPosition(); in InitNewObjNumOffsets() 1396 m_pDocument->m_IndirectObjs.GetNextAssoc(pos, (FX_LPVOID&)key, (FX_LPVOID&)pObj); in InitNewObjNumOffsets() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_image.cpp | 55 return m_pDocument->GetPageData()->GetImage(m_pStream); in Clone() 57 CPDF_Image* pImage = FX_NEW CPDF_Image(m_pDocument); in Clone() 67 m_pDocument = pDoc; in CPDF_Image() 84 if (pCSObj && m_pDocument) { in ~CPDF_Image() 85 m_pDocument->RemoveColorSpaceFromPageData(pCSObj); in ~CPDF_Image()
|
D | fpdf_page_pattern.cpp | 14 m_pDocument = pDoc; in CPDF_TilingPattern() 46 m_pForm = FX_NEW CPDF_Form(m_pDocument, NULL, pStream); in Load() 55 m_pDocument = pDoc; in CPDF_ShadingPattern() 88 if (pCS && m_pDocument) { in Clear() 89 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in Clear() 130 CPDF_DocPageData* pDocPageData = m_pDocument->GetPageData(); in Load()
|
D | fpdf_page_colors.cpp | 573 if (m_pProfile && m_pDocument) { in ~CPDF_ICCBasedCS() 574 m_pDocument->GetPageData()->ReleaseIccProfile(NULL, m_pProfile); in ~CPDF_ICCBasedCS() 753 if (pCS && m_pDocument) { in ~CPDF_IndexedCS() 754 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_IndexedCS() 839 if (pCS && m_pDocument) { in ~CPDF_PatternCS() 840 m_pDocument->GetPageData()->ReleaseColorSpace(pCS->GetArray()); in ~CPDF_PatternCS() 1122 pCS->m_pDocument = pDoc; in Load() 1135 m_pDocument = NULL; in CPDF_ColorSpace() 1270 if (pPattern && pPattern->m_pDocument) { in ReleaseBuffer() 1271 pPattern->m_pDocument->GetPageData()->ReleasePattern(pPattern->m_pPatternObj); in ReleaseBuffer() [all …]
|
D | fpdf_page_parser_new.cpp | 342 ((CPDF_Array*)pCurObj)->Add(pObject, m_pDocument); in SetToCurObj() 345 ((CPDF_Dictionary*)pCurObj)->SetAt((FX_LPCSTR)m_pDictName, pObject, m_pDocument); in SetToCurObj() 492 m_pLastImageDict->SetAt(FX_BSTRC("ColorSpace"), pCSObj, m_pDocument); in EndImageDict() 516 CPDF_ColorSpace* pCS = m_pDocument->LoadColorSpace(pCSObj); in EndImageDict() 521 m_pDocument->GetPageData()->ReleaseColorSpace(pCSObj); in EndImageDict() 609 …if (m_Status != Ready || pPage == NULL || pPage->m_pDocument == NULL || pPage->m_pFormDict == NULL… in Start() 636 m_pParser->PrepareParse(pPage->m_pDocument, pPage->m_pResources, NULL, NULL, pPage, in Start() 666 …m_pParser->PrepareParse(pForm->m_pDocument, pForm->m_pPageResources, pForm->m_pResources, pParentM… in Start()
|
D | fpdf_page_graph_state.cpp | 301 if (m_pFont && m_pFont->m_pDocument) { in CPDF_TextStateData() 302 m_pFont = m_pFont->m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict(), FALSE); in CPDF_TextStateData() 308 if (pFont && pFont->m_pDocument) { in ~CPDF_TextStateData() 309 pFont->m_pDocument->GetPageData()->ReleaseFont(pFont->GetFontDict()); in ~CPDF_TextStateData() 316 if (pStateFont && pStateFont->m_pDocument) { in SetFont() 317 pDocPageData = pStateFont->m_pDocument->GetPageData(); in SetFont()
|
/external/pdfium/core/src/fpdfdoc/ |
D | doc_action.cpp | 329 m_pDocument = pDoc; in CPDF_DocJSActions() 333 ASSERT(m_pDocument != NULL); in CountJSActions() 334 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript")); in CountJSActions() 339 ASSERT(m_pDocument != NULL); in GetJSAction() 340 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript")); in GetJSAction() 349 ASSERT(m_pDocument != NULL); in GetJSAction() 350 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript")); in GetJSAction() 359 ASSERT(m_pDocument != NULL); in FindJSAction() 360 CPDF_NameTree name_tree(m_pDocument, FX_BSTRC("JavaScript")); in FindJSAction()
|
D | doc_annot.cpp | 16 m_pDocument = pPage->m_pDocument; in CPDF_AnnotList() 21 CPDF_Dictionary* pRoot = m_pDocument->GetRoot(); in CPDF_AnnotList() 31 dwObjNum = m_pDocument->AddIndirectObject(pDict); in CPDF_AnnotList() 32 CPDF_Reference* pAction = CPDF_Reference::Create(m_pDocument, dwObjNum); in CPDF_AnnotList() 48 FPDF_GenerateAP(m_pDocument, pDict); in CPDF_AnnotList() 151 m_pList->m_pDocument->AddIndirectObject(m_pAnnotDict); in NewAnnotRef() 153 return CPDF_Reference::Create(m_pList->m_pDocument, m_pAnnotDict->GetObjNum()); in NewAnnotRef() 227 pForm = FX_NEW CPDF_Form(m_pList->m_pDocument, pPage->m_pResources, pStream); in GetAPForm()
|
D | doc_form.cpp | 269 m_pDocument = pDocument; in CPDF_InterForm() 274 CPDF_Dictionary* pRoot = m_pDocument->GetRoot(); in CPDF_InterForm() 1043 InitInterFormDict(m_pFormDict, m_pDocument); in NeedConstructAP() 1097 return GetInterFormFont(m_pFormDict, m_pDocument, index, csNameTag); in GetFormFont() 1101 return GetInterFormFont(m_pFormDict, m_pDocument, csNameTag); in GetFormFont() 1105 return GetInterFormFont(m_pFormDict, m_pDocument, csFontName, csNameTag); in GetFormFont() 1109 return GetNativeInterFormFont(m_pFormDict, m_pDocument, charSet, csNameTag); in GetNativeFormFont() 1113 return GetNativeInterFormFont(m_pFormDict, m_pDocument, csNameTag); in GetNativeFormFont() 1121 return FindInterFormFont(m_pFormDict, m_pDocument, csFontName, pFont, csNameTag); in FindFormFont() 1125 AddInterFormFont(m_pFormDict, m_pDocument, pFont, csNameTag); in AddFormFont() [all …]
|
D | doc_basic.cpp | 503 if (m_pDocument == NULL) { in GetLabel() 506 CPDF_Dictionary* pPDFRoot = m_pDocument->GetRoot(); in GetLabel() 540 if (m_pDocument == NULL) { in GetPageByLabel() 543 CPDF_Dictionary* pPDFRoot = m_pDocument->GetRoot(); in GetPageByLabel() 547 int nPages = m_pDocument->GetPageCount(); in GetPageByLabel()
|
/external/pdfium/core/include/fpdfdoc/ |
D | fpdf_doc.h | 82 m_pDocument = pDoc; in CPDF_BookmarkTree() 95 return m_pDocument; in GetDocument() 99 CPDF_Document* m_pDocument; 188 return m_pDocument; in GetDocument() 211 CPDF_Document *m_pDocument; variable 513 return m_pDocument; in GetDocument() 518 CPDF_Document* m_pDocument; 553 m_pDocument = pDoc; in CPDF_LinkList() 566 return m_pDocument; in GetDocument() 570 CPDF_Document* m_pDocument; [all …]
|
/external/pdfium/fpdfsdk/src/ |
D | fsdk_baseform.cpp | 1685 :m_pDocument(pDocument), in CPDFSDK_InterForm() 1690 ASSERT(m_pDocument != NULL); in CPDFSDK_InterForm() 1691 m_pInterForm = new CPDF_InterForm(m_pDocument->GetDocument(), FALSE); in CPDFSDK_InterForm() 1721 return m_pDocument; in GetDocument() 1761 ASSERT(m_pDocument != NULL); in GetWidget() 1762 CPDF_Document* pDocument = m_pDocument->GetDocument(); in GetWidget() 1771 pPage = m_pDocument->GetPageView(nPageIndex); in GetWidget() 1780 pPage = m_pDocument->GetPageView(nPageIndex); in GetWidget() 1868 ASSERT(m_pDocument != NULL); in LoadImageFromFile() 1869 CPDF_Document* pDocument = m_pDocument->GetDocument(); in LoadImageFromFile() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_cache.cpp | 114 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in GetCachedBitmap() 129 m_pCurImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in StartGetCachedBitmap() 166 pImageCache = FX_NEW CPDF_ImageCache(m_pPage->m_pDocument, pStream); in ResetBitmap() 174 : m_pDocument(pDoc) in CPDF_ImageCache() 245 …if (!pSrc->Load(m_pDocument, m_pStream, &pMaskSrc, &MatteColor, pRenderStatus->m_pFormResource, pP… in GetCachedBitmap() 310 …int ret = ((CPDF_DIBSource*)m_pCurBitmap)->StartLoadDIBSource(m_pDocument, m_pStream, TRUE, pFormR… in StartGetCachedBitmap()
|
D | fpdf_render_text.cpp | 305 if (pFont->m_pDocument == NULL) { in GetCachedType3() 308 pFont->m_pDocument->GetPageData()->GetFont(pFont->GetFontDict(), FALSE); in GetCachedType3() 309 return pFont->m_pDocument->GetRenderData()->GetCachedType3(pFont); in GetCachedType3() 313 if (pFont->m_pDocument == NULL) { in ReleaseCachedType3() 316 pFont->m_pDocument->GetRenderData()->ReleaseCachedType3(pFont); in ReleaseCachedType3() 317 pFont->m_pDocument->GetPageData()->ReleaseFont(pFont->GetFontDict()); in ReleaseCachedType3() 343 … if (!dibsrc.Load(pContext->m_pDocument, pInlines->m_pStream, NULL, NULL, NULL, NULL)) { in LoadBitmap() 599 …CFX_FontCache* pCache = pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() :… in DrawTextPath() 668 …CFX_FontCache* pCache = pFont->m_pDocument ? pFont->m_pDocument->GetRenderData()->GetFontCache() :… in DrawNormalText() 721 if (pFont->m_pDocument) { in DrawTextPathWithPattern() [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_parser.cpp | 45 m_pDocument = NULL; in CPDF_Parser() 71 if (m_pDocument && !bReParse) { in CloseParser() 72 delete m_pDocument; in CloseParser() 73 m_pDocument = NULL; in CloseParser() 165 m_pDocument = FX_NEW CPDF_Document(this); in StartParse() 198 m_pDocument->LoadDoc(); in StartParse() 199 if (m_pDocument->GetRoot() == NULL || m_pDocument->GetPageCount() == 0) { in StartParse() 211 m_pDocument->LoadDoc(); in StartParse() 212 if (m_pDocument->GetRoot() == NULL) { in StartParse() 231 …CPDF_Reference* pMetadata = (CPDF_Reference*)m_pDocument->GetRoot()->GetElement(FX_BSTRC("Metadata… in StartParse() [all …]
|
/external/pdfium/fpdfsdk/include/javascript/ |
D | JS_Runtime.h | 29 virtual CPDFSDK_Document * GetReaderDocument(){return m_pDocument;} in GetReaderDocument() 60 CPDFSDK_Document * m_pDocument; variable
|
/external/pdfium/core/include/fpdfapi/ |
D | fpdf_page.h | 116 CPDF_Document* m_pDocument; variable 246 CPDF_Document* m_pDocument; variable
|
D | fpdf_resource.h | 230 CPDF_Document* m_pDocument; variable 652 CPDF_Document* m_pDocument; variable 743 CPDF_Document* m_pDocument; variable 895 return m_pDocument; in GetDocument() 955 CPDF_Document* m_pDocument; variable
|
/external/pdfium/fpdfsdk/include/formfiller/ |
D | FFL_CBA_Fontmap.h | 43 CPDF_Document* m_pDocument;
|