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 ()
virtual bool emit (EmitContext &rWriteContext) const =0
virtual PDFEntryclone () const =0

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 184 of file pdfparse.hxx.

Member Typedef Documentation

◆ Map

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

Definition at line 186 of file pdfparse.hxx.

Constructor & Destructor Documentation

◆ PDFDict()

pdfparse::PDFDict::PDFDict ( )

Definition at line 189 of file pdfparse.hxx.

Referenced by clone().

◆ ~PDFDict()

PDFDict::~PDFDict ( )

Definition at line 511 of file pdfentries.cxx.

Member Function Documentation

◆ buildMap()

PDFEntry * PDFDict::buildMap ( )

Definition at line 576 of file pdfentries.cxx.

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

Referenced by clone(), and eraseValue().

◆ clone()

PDFEntry * PDFDict::clone ( ) const

◆ emit()

bool PDFDict::emit ( EmitContext rWriteContext) const

◆ eraseValue()

void PDFDict::eraseValue ( std::string_view  rName)

Definition at line 553 of file pdfentries.cxx.

References buildMap(), get(), i, pdfparse::PDFContainer::m_aSubElements, and pName.

Referenced by insertValue().

◆ insertValue()

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

Definition at line 524 of file pdfentries.cxx.

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

Member Data Documentation

◆ m_aMap

Map pdfparse::PDFDict::m_aMap

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