LibreOffice Module sdext (master) 1
|
#include <pdfparse.hxx>
Public Types | |
typedef std::unordered_map< OString, PDFEntry * > | Map |
Public Member Functions | |
PDFDict () | |
virtual | ~PDFDict () override |
virtual bool | emit (EmitContext &rWriteContext) const override |
virtual PDFEntry * | clone () const override |
void | insertValue (const OString &rName, std::unique_ptr< PDFEntry > pValue) |
void | eraseValue (std::string_view rName) |
PDFEntry * | buildMap () |
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 |
PDFObject * | findObject (unsigned int nNumber, unsigned int nGeneration) const |
PDFObject * | findObject (PDFObjectRef const *pRef) const |
Public Member Functions inherited from pdfparse::PDFEntry | |
PDFEntry () | |
virtual | ~PDFEntry () |
virtual bool | emit (EmitContext &rWriteContext) const =0 |
virtual PDFEntry * | clone () 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 EmitImplData * | getEmitData (EmitContext const &rContext) |
static void | setEmitData (EmitContext &rContext, EmitImplData *pNewEmitData) |
Definition at line 184 of file pdfparse.hxx.
typedef std::unordered_map<OString,PDFEntry*> pdfparse::PDFDict::Map |
Definition at line 186 of file pdfparse.hxx.
|
inline |
Definition at line 189 of file pdfparse.hxx.
Referenced by clone().
|
overridevirtual |
Definition at line 511 of file pdfentries.cxx.
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().
|
overridevirtual |
Implements pdfparse::PDFEntry.
Definition at line 599 of file pdfentries.cxx.
References buildMap(), pdfparse::PDFContainer::cloneSubElements(), pdfparse::PDFContainer::m_aSubElements, and PDFDict().
|
overridevirtual |
Implements pdfparse::PDFEntry.
Definition at line 515 of file pdfentries.cxx.
References pdfparse::PDFContainer::emitSubElements(), and pdfparse::EmitContext::write().
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().
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.
Map pdfparse::PDFDict::m_aMap |
Definition at line 187 of file pdfparse.hxx.
Referenced by buildMap(), pdfi::getAdditionalStream(), pdfparse::PDFObject::getDeflatedStream(), pdfparse::PDFStream::getDictLength(), pdfparse::PDFFile::impl_getData(), insertValue(), write_addStreams(), and write_fonts().