LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
vcl::filter::PDFTrailerElement Class Referencefinal

The trailer singleton is at the end of the doc. More...

#include <pdfdocument.hxx>

Inheritance diagram for vcl::filter::PDFTrailerElement:
Collaboration diagram for vcl::filter::PDFTrailerElement:

Public Member Functions

 PDFTrailerElement (PDFDocument &rDoc)
bool Read (SvStream &rStream) override
PDFElementLookup (const OString &rDictionaryKey)
sal_uInt64 GetLocation () const
void SetDictionary (PDFDictionaryElement *pDictionaryElement)
PDFDictionaryElementGetDictionary ()
void writeString (OStringBuffer &) override
- Public Member Functions inherited from vcl::filter::PDFElement
 PDFElement ()=default
virtual bool Read (SvStream &rStream)=0
virtual ~PDFElement ()=default
void setVisiting (bool bVisiting)
bool alreadyVisiting () const
void setParsing (bool bParsing)
bool alreadyParsing () const
virtual void writeString (OStringBuffer &rBuffer)=0

Private Attributes

sal_uInt64 m_nOffset = 0
 Location of the end of the trailer token. More...

Detailed Description

The trailer singleton is at the end of the doc.

Definition at line 605 of file pdfdocument.hxx.

Constructor & Destructor Documentation

◆ PDFTrailerElement()

vcl::filter::PDFTrailerElement::PDFTrailerElement ( PDFDocument rDoc)

Definition at line 2259 of file pdfdocument.cxx.

References m_rDoc.

Member Function Documentation

◆ GetDictionary()

PDFDictionaryElement * vcl::filter::PDFTrailerElement::GetDictionary ( )

Definition at line 623 of file pdfdocument.hxx.

◆ GetLocation()

sal_uInt64 vcl::filter::PDFTrailerElement::GetLocation ( ) const

Definition at line 2283 of file pdfdocument.cxx.

References m_nOffset.

Referenced by vcl::filter::PDFDocument::Read().

◆ Lookup()

PDFElement * vcl::filter::PDFTrailerElement::Lookup ( const OString &  rDictionaryKey)

◆ Read()

bool vcl::filter::PDFTrailerElement::Read ( SvStream rStream)

Implements vcl::filter::PDFElement.

Definition at line 2265 of file pdfdocument.cxx.

References m_nOffset, and SvStream::Tell().

◆ SetDictionary()

void vcl::filter::PDFTrailerElement::SetDictionary ( PDFDictionaryElement pDictionaryElement)

Definition at line 618 of file pdfdocument.hxx.

◆ writeString()

void vcl::filter::PDFTrailerElement::writeString ( OStringBuffer &  )

Implements vcl::filter::PDFElement.

Definition at line 625 of file pdfdocument.hxx.

Member Data Documentation

◆ m_nOffset

sal_uInt64 vcl::filter::PDFTrailerElement::m_nOffset = 0

Location of the end of the trailer token.

Definition at line 610 of file pdfdocument.hxx.

Referenced by GetLocation(), and Read().

◆ m_pDictionaryElement

PDFDictionaryElement* vcl::filter::PDFTrailerElement::m_pDictionaryElement

Definition at line 608 of file pdfdocument.hxx.

Referenced by Lookup().

◆ m_rDoc

PDFDocument& vcl::filter::PDFTrailerElement::m_rDoc

Definition at line 607 of file pdfdocument.hxx.

Referenced by Lookup().

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