LibreOffice Module sdext (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
pdfparse::PDFDict Struct Reference

#include <pdfparse.hxx>

Inheritance diagram for pdfparse::PDFDict:
[legend]
Collaboration diagram for pdfparse::PDFDict:
[legend]

Public Types

typedef std::unordered_map< OString, PDFEntry * > Map
 

Public Member Functions

 PDFDict ()
 
virtual ~PDFDict () override
 
virtual bool emit (EmitContext &rWriteContext) const override
 
virtual PDFEntryclone () const override
 
void insertValue (const OString &rName, std::unique_ptr< PDFEntry > pValue)
 
void eraseValue (const OString &rName)
 
PDFEntrybuildMap ()
 
- Public Member Functions inherited from pdfparse::PDFContainer
 PDFContainer ()
 
virtual ~PDFContainer () override
 
bool emitSubElements (EmitContext &rWriteContext) const
 
void cloneSubElements (std::vector< std::unique_ptr< PDFEntry >> &rNewSubElements) const
 
PDFObjectfindObject (unsigned int nNumber, unsigned int nGeneration) const
 
PDFObjectfindObject (PDFObjectRef const *pRef) const
 
- Public Member Functions inherited from pdfparse::PDFEntry
 PDFEntry ()
 
virtual ~PDFEntry ()
 

Public Attributes

Map m_aMap
 
- Public Attributes inherited from pdfparse::PDFContainer
sal_Int32 m_nOffset
 
std::vector< std::unique_ptr< PDFEntry > > m_aSubElements
 

Additional Inherited Members

- Static Protected Member Functions inherited from pdfparse::PDFEntry
static EmitImplDatagetEmitData (EmitContext const &rContext)
 
static void setEmitData (EmitContext &rContext, EmitImplData *pNewEmitData)
 

Detailed Description

Definition at line 182 of file pdfparse.hxx.

Member Typedef Documentation

typedef std::unordered_map<OString,PDFEntry*> pdfparse::PDFDict::Map

Definition at line 184 of file pdfparse.hxx.

Constructor & Destructor Documentation

pdfparse::PDFDict::PDFDict ( )
inline

Definition at line 187 of file pdfparse.hxx.

Referenced by clone().

PDFDict::~PDFDict ( )
overridevirtual

Definition at line 511 of file pdfentries.cxx.

Member Function Documentation

PDFEntry * PDFDict::buildMap ( )

Definition at line 578 of file pdfentries.cxx.

References i, m_aMap, pdfparse::PDFName::m_aName, and pdfparse::PDFContainer::m_aSubElements.

Referenced by clone(), and eraseValue().

PDFEntry * PDFDict::clone ( ) const
overridevirtual
bool PDFDict::emit ( EmitContext rWriteContext) const
overridevirtual
void PDFDict::eraseValue ( const OString &  rName)

Definition at line 555 of file pdfentries.cxx.

References buildMap(), i, pdfparse::PDFName::m_aName, and pdfparse::PDFContainer::m_aSubElements.

Referenced by insertValue().

void PDFDict::insertValue ( const OString &  rName,
std::unique_ptr< PDFEntry pValue 
)

Definition at line 524 of file pdfentries.cxx.

References eraseValue(), i, m_aMap, and pdfparse::PDFContainer::m_aSubElements.

Member Data Documentation

Map pdfparse::PDFDict::m_aMap

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