/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_data_avail.cpp | 85 if (m_pDocument) in ~CPDF_DataAvail() 86 m_pDocument->RemoveObserver(this); in ~CPDF_DataAvail() 90 m_pDocument = nullptr; in OnObservableDestroyed() 214 CPDF_Parser* pParser = m_pDocument ? m_pDocument->GetParser() : &m_parser; in GetObject() 276 const CPDF_Dictionary* pRoot = m_pDocument->GetRoot(); in PreparePageItem() 675 if (iPage == iCount && m_pDocument) in CheckPageNode() 676 m_pDocument->SetPageObjNum(iPage, pNode->m_dwPageNo); in CheckPageNode() 697 if (m_pDocument->GetPageCount() <= iPage || in LoadDocPage() 698 m_pDocument->IsPageLoaded(iPage)) { in LoadDocPage() 754 m_pDocument->LoadPages(); in LoadPages() [all …]
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 49 CPDF_Image::CPDF_Image(CPDF_Document* pDoc) : m_pDocument(pDoc) { in CPDF_Image() 50 DCHECK(m_pDocument); in CPDF_Image() 54 : m_bIsInline(true), m_pDocument(pDoc), m_pStream(std::move(pStream)) { in CPDF_Image() 55 DCHECK(m_pDocument); in CPDF_Image() 60 : m_pDocument(pDoc), in CPDF_Image() 62 DCHECK(m_pDocument); in CPDF_Image() 82 m_pDocument->AddIndirectObject(m_pStream); in ConvertStreamToIndirectObject() 238 auto pCS = m_pDocument->NewIndirect<CPDF_Array>(); in SetImage() 251 auto pNewDict = m_pDocument->New<CPDF_Dictionary>(); in SetImage() 252 auto pCTS = m_pDocument->NewIndirect<CPDF_Stream>(std::move(color_table), in SetImage() [all …]
|
D | cpdf_textstate.cpp | 88 m_pDocument(that.m_pDocument), in TextData() 99 if (m_pDocument && m_pFont) { in TextData() 100 auto* pPageData = CPDF_DocPageData::FromDocument(m_pDocument); in TextData() 112 m_pDocument = pFont ? pFont->GetDocument() : nullptr; in SetFont()
|
D | cpdf_pattern.cpp | 17 : m_pDocument(pDoc), in CPDF_Pattern() 20 DCHECK(m_pDocument); in CPDF_Pattern()
|
D | cpdf_pattern.h | 38 CPDF_Document* document() const { return m_pDocument; } in document() 45 UnownedPtr<CPDF_Document> const m_pDocument;
|
D | cpdf_image.h | 39 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument() 87 UnownedPtr<CPDF_Document> const m_pDocument; variable
|
D | cpdf_streamcontentparser.cpp | 254 : m_pDocument(pDocument), in CPDF_StreamContentParser() 352 param.m_pObject = m_pDocument->New<CPDF_Name>(param.m_Name); in GetObject() 606 auto pDict = m_pDocument->New<CPDF_Dictionary>(); in Handle_BeginImage() 622 pDict->SetNewFor<CPDF_Reference>(key, m_pDocument, pObj->GetObjNum()); in Handle_BeginImage() 642 m_pSyntax->ReadInlineStream(m_pDocument, std::move(pDict), pCSObj.Get()); in Handle_BeginImage() 774 m_pDocument, m_pPageResources, std::move(pStream), m_pResources.Get()); in AddForm() 800 pdfium::MakeRetain<CPDF_Image>(m_pDocument, std::move(pStream))); in AddImageFromStream() 811 CPDF_DocPageData::FromDocument(m_pDocument)->GetImage(stream_obj_num)); in AddImageFromStreamObjNum() 821 pImageObj->SetImage(CPDF_DocPageData::FromDocument(m_pDocument) in AddLastImage() 1157 return CPDF_Font::GetStockFont(m_pDocument, CFX_Font::kDefaultAnsiFontName); in FindFont() [all …]
|
D | cpdf_pageobjectholder.h | 71 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument() 136 UnownedPtr<CPDF_Document> m_pDocument; variable
|
D | cpdf_pageobjectholder.cpp | 45 m_pDocument(pDoc) { in CPDF_PageObjectHolder() 71 m_pDocument->IncrementParsedPageCount(); in ContinueParse()
|
D | cpdf_occontext.h | 42 UnownedPtr<CPDF_Document> const m_pDocument; variable
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_bafontmap.cpp | 71 : m_pDocument(pDocument), in CPDF_BAFontMap() 179 const CPDF_Dictionary* pRootDict = m_pDocument->GetRoot(); in FindFontSameCharset() 215 auto* pData = CPDF_DocPageData::FromDocument(m_pDocument); in FindResFontSameCharset() 234 RetainPtr<CPDF_Dictionary> pRootDict = m_pDocument->GetMutableRoot(); in GetAnnotDefaultFont() 285 return CPDF_DocPageData::FromDocument(m_pDocument)->GetFont(pFontDict); in GetAnnotDefaultFont() 302 pStream = m_pDocument->NewIndirect<CPDF_Stream>(); in AddFontToAnnotDict() 303 pAPDict->SetNewFor<CPDF_Reference>(m_sAPType, m_pDocument, in AddFontToAnnotDict() 309 pStreamDict = m_pDocument->New<CPDF_Dictionary>(); in AddFontToAnnotDict() 318 pStreamResFontList = m_pDocument->NewIndirect<CPDF_Dictionary>(); in AddFontToAnnotDict() 319 pStreamResList->SetNewFor<CPDF_Reference>("Font", m_pDocument, in AddFontToAnnotDict() [all …]
|
D | cpvt_fontmap.cpp | 25 : m_pDocument(pDoc), in CPVT_FontMap() 33 if (!m_pDocument || !m_pResDict) in SetupAnnotSysPDFFont() 37 CPDF_InteractiveForm::AddNativeInteractiveFormFont(m_pDocument, in SetupAnnotSysPDFFont() 45 pFontList->SetNewFor<CPDF_Reference>(m_sSysFontAlias, m_pDocument, in SetupAnnotSysPDFFont()
|
D | cpdf_pagelabel.cpp | 80 : m_pDocument(pDocument) {} in CPDF_PageLabel() 85 if (!m_pDocument) in GetLabel() 88 if (nPage < 0 || nPage >= m_pDocument->GetPageCount()) in GetLabel() 91 const CPDF_Dictionary* pPDFRoot = m_pDocument->GetRoot(); in GetLabel()
|
D | cpdf_annotlist.cpp | 174 : m_pDocument(pPage->GetDocument()) { in CPDF_AnnotList() 179 const CPDF_Dictionary* pRoot = m_pDocument->GetRoot(); in CPDF_AnnotList() 195 pAnnots->ConvertToIndirectObjectAt(i, m_pDocument); in CPDF_AnnotList() 196 m_AnnotList.push_back(std::make_unique<CPDF_Annot>(pDict, m_pDocument)); in CPDF_AnnotList() 200 GenerateAP(m_pDocument, pDict.Get()); in CPDF_AnnotList() 207 CreatePopupAnnot(m_pDocument, pPage, m_AnnotList[i].get()); in CPDF_AnnotList()
|
D | cpdf_pagelabel.h | 24 UnownedPtr<CPDF_Document> const m_pDocument;
|
/external/pdfium/fpdfsdk/fpdfxfa/ |
D | cpdfxfa_page.cpp | 74 : m_pDocument(pDocument), m_iPageIndex(page_index) { in CPDFXFA_Page() 75 DCHECK(m_pDocument->GetExtension()); in CPDFXFA_Page() 90 return m_pDocument; in GetDocument() 106 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetXFAPageView() 112 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in LoadPage() 136 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageWidth() 158 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageHeight() 205 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetDisplayMatrix()
|
/external/pdfium/core/fpdfapi/edit/ |
D | cpdf_pagecontentgenerator.cpp | 132 : m_pObjHolder(pObjHolder), m_pDocument(pObjHolder->GetDocument()) { in CPDF_PageContentGenerator() 225 CPDF_PageContentManager page_content_manager(m_pObjHolder, m_pDocument); in UpdateContentStreams() 251 if (pdfium::Contains(GetObjectsWithMultipleReferences(m_pDocument), in UpdateResourcesDict() 255 m_pDocument->AddIndirectObject(resources); in UpdateResourcesDict() 258 pdfium::page_object::kResources, m_pDocument, clone_object_number); in UpdateResourcesDict() 278 m_pObjHolder->SetResources(m_pDocument->NewIndirect<CPDF_Dictionary>()); in RealizeResource() 280 pdfium::page_object::kResources, m_pDocument, in RealizeResource() 295 pResList->SetNewFor<CPDF_Reference>(name, m_pDocument, in RealizeResource() 426 auto* pPageData = CPDF_DocPageData::FromDocument(m_pDocument); in ProcessImage() 601 m_pDocument->AddIndirectObject(gsDict); in ProcessGraphics() [all …]
|
D | cpdf_creator.cpp | 125 : m_pDocument(pDoc), in CPDF_Creator() 129 m_dwLastObjNum(m_pDocument->GetLastObjNum()), in CPDF_Creator() 154 bool bExistInMap = !!m_pDocument->GetIndirectObject(objnum); in WriteOldIndirectObject() 155 RetainPtr<CPDF_Object> pObj = m_pDocument->GetOrParseIndirectObject(objnum); in WriteOldIndirectObject() 163 m_pDocument->DeleteIndirectObject(objnum); in WriteOldIndirectObject() 177 GetObjectsWithReferences(m_pDocument); in WriteOldObjs() 199 RetainPtr<const CPDF_Object> pObj = m_pDocument->GetIndirectObject(objnum); in WriteNewObjs() 211 for (const auto& pair : *m_pDocument) { in InitNewObjNumOffsets() 424 if (!m_Archive->WriteDWord(m_pDocument->GetLastObjNum() + 1) || in WriteDoc_Stage4() 450 !m_Archive->WriteDWord(m_pDocument->GetRoot()->GetObjNum()) || in WriteDoc_Stage4() [all …]
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdoc.cpp | 68 m_pDocument(cppgc::MakeGarbageCollected<CXFA_Document>( in CXFA_FFDoc() 82 if (m_pDocument) in PreFinalize() 83 m_pDocument->ClearLayoutData(); in PreFinalize() 89 visitor->Trace(m_pDocument); in Trace() 96 CXFA_DocumentBuilder builder(m_pDocument); in BuildDoc() 100 m_pDocument->SetRoot(builder.GetRootNode()); in BuildDoc() 241 CXFA_Node* pConfig = ToNode(m_pDocument->GetXFAObject(XFA_HASHCODE_Config)); in OpenDoc()
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_object.cpp | 28 m_pDocument(pDocument), in CXFA_Object() 34 visitor->Trace(m_pDocument); in Trace()
|
D | cxfa_document.h | 77 void SetDocument(CXFA_Document* pDocument) { m_pDocument = pDocument; } in SetDocument() 78 CXFA_Document* GetDocument() const { return m_pDocument; } in GetDocument() 81 cppgc::Member<CXFA_Document> m_pDocument;
|
D | cxfa_object.h | 48 CXFA_Document* GetDocument() const { return m_pDocument.Get(); } in GetDocument() 106 cppgc::WeakMember<CXFA_Document> m_pDocument; variable
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_rendercontext.h | 63 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument() 73 UnownedPtr<CPDF_Document> const m_pDocument;
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_font.cpp | 53 : m_pDocument(pDocument), in CPDF_Font() 59 m_pDocument->MaybePurgeFontFileStreamAcc(std::move(m_pFontFile)); in ~CPDF_Font() 209 m_pFontFile = m_pDocument->GetFontFileStreamAcc(std::move(pFontFile)); in LoadFontDescriptor() 214 m_pDocument->MaybePurgeFontFileStreamAcc(std::move(m_pFontFile)); in LoadFontDescriptor()
|
D | cpdf_font.h | 129 CPDF_Document* GetDocument() const { return m_pDocument; } in GetDocument() 168 UnownedPtr<CPDF_Document> const m_pDocument; variable
|