Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFDF_Document Class Referencefinal

#include <cfdf_document.h>

+ Inheritance diagram for CFDF_Document:
+ Collaboration diagram for CFDF_Document:

Public Member Functions

 CFDF_Document ()
 
 ~CFDF_Document () override
 
ByteString WriteToString () const
 
const CPDF_DictionaryGetRoot () const
 
RetainPtr< CPDF_DictionaryGetMutableRoot () const
 
- Public Member Functions inherited from CPDF_IndirectObjectHolder
 CPDF_IndirectObjectHolder ()
 
virtual ~CPDF_IndirectObjectHolder ()
 
RetainPtr< CPDF_ObjectGetOrParseIndirectObject (uint32_t objnum)
 
RetainPtr< const CPDF_ObjectGetIndirectObject (uint32_t objnum) const
 
RetainPtr< CPDF_ObjectGetMutableIndirectObject (uint32_t objnum)
 
void DeleteIndirectObject (uint32_t objnum)
 
template<typename T , typename... Args>
RetainPtr< T > NewIndirect (Args &&... args)
 
template<typename T , typename... Args>
std::enable_if< CanInternStrings< T >::value, RetainPtr< T > >::type New (Args &&... args)
 
template<typename T , typename... Args>
std::enable_if<!CanInternStrings< T >::value, RetainPtr< T > >::type New (Args &&... args)
 
uint32_t AddIndirectObject (RetainPtr< CPDF_Object > pObj)
 
bool ReplaceIndirectObjectIfHigherGeneration (uint32_t objnum, RetainPtr< CPDF_Object > pObj)
 
uint32_t GetLastObjNum () const
 
void SetLastObjNum (uint32_t objnum)
 
WeakPtr< ByteStringPoolGetByteStringPool () const
 
const_iterator begin () const
 
const_iterator end () const
 

Static Public Member Functions

static std::unique_ptr< CFDF_DocumentCreateNewDoc ()
 
static std::unique_ptr< CFDF_DocumentParseMemory (pdfium::span< const uint8_t > span)
 

Additional Inherited Members

- Public Types inherited from CPDF_IndirectObjectHolder
using const_iterator
 
- Protected Member Functions inherited from CPDF_IndirectObjectHolder
virtual RetainPtr< CPDF_ObjectParseIndirectObject (uint32_t objnum)
 

Detailed Description

Definition at line 19 of file cfdf_document.h.

Constructor & Destructor Documentation

◆ CFDF_Document()

CFDF_Document::CFDF_Document ( )
default

◆ ~CFDF_Document()

CFDF_Document::~CFDF_Document ( )
overridedefault

Member Function Documentation

◆ CreateNewDoc()

std::unique_ptr< CFDF_Document > CFDF_Document::CreateNewDoc ( )
static

Definition at line 24 of file cfdf_document.cpp.

◆ GetMutableRoot()

RetainPtr< CPDF_Dictionary > CFDF_Document::GetMutableRoot ( ) const
inline

Definition at line 30 of file cfdf_document.h.

◆ GetRoot()

const CPDF_Dictionary * CFDF_Document::GetRoot ( ) const
inline

Definition at line 29 of file cfdf_document.h.

◆ ParseMemory()

std::unique_ptr< CFDF_Document > CFDF_Document::ParseMemory ( pdfium::span< const uint8_t > span)
static

Definition at line 31 of file cfdf_document.cpp.

◆ WriteToString()

ByteString CFDF_Document::WriteToString ( ) const

Definition at line 78 of file cfdf_document.cpp.

References fxcrt::ByteString::ByteString().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: