Home
last modified time | relevance | path

Searched refs:m_pRootDict (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcfdf_document.cpp18 : CPDF_IndirectObjectHolder(), m_pRootDict(nullptr) {} in CFDF_Document()
24 pDoc->m_pRootDict = pDoc->NewIndirect<CPDF_Dictionary>(); in CreateNewDoc()
25 pDoc->m_pRootDict->SetNewFor<CPDF_Dictionary>("FDF"); in CreateNewDoc()
36 return pDoc->m_pRootDict ? std::move(pDoc) : nullptr; in ParseFile()
81 m_pRootDict = pMainDict->GetDictFor("Root"); in ParseStream()
89 if (!m_pRootDict) in WriteBuf()
97 buf << "trailer\r\n<</Root " << m_pRootDict->GetObjNum() in WriteBuf()
Dcfdf_document.h30 CPDF_Dictionary* GetRoot() const { return m_pRootDict; } in GetRoot()
35 CPDF_Dictionary* m_pRootDict; variable
Dcpdf_document.h52 CPDF_Dictionary* GetRoot() const { return m_pRootDict; } in GetRoot()
132 CPDF_Dictionary* m_pRootDict; variable
Dcpdf_document.cpp343 m_pRootDict(nullptr), in CPDF_Document()
373 m_pRootDict = pRootObj->GetDict(); in LoadDocInternal()
374 if (!m_pRootDict) in LoadDocInternal()
655 ASSERT(!m_pRootDict && !m_pInfoDict); in CreateNewDoc()
656 m_pRootDict = NewIndirect<CPDF_Dictionary>(); in CreateNewDoc()
657 m_pRootDict->SetNewFor<CPDF_Name>("Type", "Catalog"); in CreateNewDoc()
663 m_pRootDict->SetNewFor<CPDF_Reference>("Pages", this, pPages->GetObjNum()); in CreateNewDoc()
Dcpdf_document_unittest.cpp90 m_pRootDict = m_pOwnedRootDict.get(); in CPDF_TestDocumentForPages()
114 m_pRootDict = m_pOwnedRootDict.get(); in CPDF_TestDocumentWithPageWithoutPageNum()
/external/pdfium/fpdfsdk/
Dfpdfdoc_unittest.cpp32 void SetRoot(CPDF_Dictionary* root) { m_pRootDict = root; } in SetRoot()