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:
[legend]
Collaboration diagram for vcl::filter::PDFTrailerElement:
[legend]

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 ~PDFElement ()=default
 
void setVisiting (bool bVisiting)
 
bool alreadyVisiting () const
 
void setParsing (bool bParsing)
 
bool alreadyParsing () const
 

Private Attributes

PDFDocumentm_rDoc
 
PDFDictionaryElementm_pDictionaryElement
 
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 601 of file pdfdocument.hxx.

Constructor & Destructor Documentation

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

Definition at line 2231 of file pdfdocument.cxx.

References m_rDoc.

Member Function Documentation

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

Definition at line 619 of file pdfdocument.hxx.

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

Definition at line 2255 of file pdfdocument.cxx.

References m_nOffset.

PDFElement * vcl::filter::PDFTrailerElement::Lookup ( const OString &  rDictionaryKey)
bool vcl::filter::PDFTrailerElement::Read ( SvStream rStream)
overridevirtual

Implements vcl::filter::PDFElement.

Definition at line 2237 of file pdfdocument.cxx.

References m_nOffset, and SvStream::Tell().

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

Definition at line 614 of file pdfdocument.hxx.

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

Implements vcl::filter::PDFElement.

Definition at line 621 of file pdfdocument.hxx.

Member Data Documentation

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

Location of the end of the trailer token.

Definition at line 606 of file pdfdocument.hxx.

Referenced by GetLocation(), and Read().

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

Definition at line 604 of file pdfdocument.hxx.

Referenced by Lookup().

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

Definition at line 603 of file pdfdocument.hxx.

Referenced by Lookup().


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