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

#include <pdfparse.hxx>

Inheritance diagram for pdfparse::PDFDict:
Collaboration diagram for pdfparse::PDFDict:

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 (std::string_view 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 183 of file pdfparse.hxx.

Member Typedef Documentation

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

Definition at line 185 of file pdfparse.hxx.

Constructor & Destructor Documentation

pdfparse::PDFDict::PDFDict ( )

Definition at line 188 of file pdfparse.hxx.

Referenced by clone().

PDFDict::~PDFDict ( )

Definition at line 511 of file pdfentries.cxx.

Member Function Documentation

PDFEntry * PDFDict::buildMap ( )

Definition at line 576 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
bool PDFDict::emit ( EmitContext rWriteContext) const
void PDFDict::eraseValue ( std::string_view  rName)

Definition at line 553 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: