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

Reference object: something with a unique ID. More...

#include <pdfdocument.hxx>

Inheritance diagram for vcl::filter::PDFReferenceElement:
Collaboration diagram for vcl::filter::PDFReferenceElement:

Public Member Functions

 PDFReferenceElement (PDFDocument &rDoc, PDFNumberElement &rObject, PDFNumberElement const &rGeneration)
bool Read (SvStream &rStream) override
double LookupNumber (SvStream &rStream) const
 Assuming the reference points to a number object, return its value. More...
PDFObjectElementLookupObject ()
 Lookup referenced object, without assuming anything about its contents. More...
int GetObjectValue () const
int GetGenerationValue () const
sal_uInt64 GetOffset () const
PDFNumberElementGetObjectElement () const
- 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

int m_fObjectValue
int m_fGenerationValue
sal_uInt64 m_nOffset = 0
 Location after the 'R' token. More...
 The element providing the object number. More...

Detailed Description

Reference object: something with a unique ID.

Definition at line 147 of file pdfdocument.hxx.

Constructor & Destructor Documentation

vcl::filter::PDFReferenceElement::PDFReferenceElement ( PDFDocument rDoc,
PDFNumberElement rObject,
PDFNumberElement const &  rGeneration 

Definition at line 2907 of file pdfdocument.cxx.

References GetValue.

Member Function Documentation

int vcl::filter::PDFReferenceElement::GetGenerationValue ( ) const

Definition at line 3009 of file pdfdocument.cxx.

References m_fGenerationValue.

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

PDFNumberElement & vcl::filter::PDFReferenceElement::GetObjectElement ( ) const

Definition at line 2916 of file pdfdocument.cxx.

References m_rObject.

int vcl::filter::PDFReferenceElement::GetObjectValue ( ) const

Definition at line 3007 of file pdfdocument.cxx.

References m_fObjectValue.

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

sal_uInt64 vcl::filter::PDFReferenceElement::GetOffset ( ) const

Definition at line 2926 of file pdfdocument.cxx.

References m_nOffset.

double vcl::filter::PDFReferenceElement::LookupNumber ( SvStream rStream) const
PDFObjectElement * vcl::filter::PDFReferenceElement::LookupObject ( )

Lookup referenced object, without assuming anything about its contents.

Definition at line 2989 of file pdfdocument.cxx.

References vcl::filter::PDFDocument::LookupObject(), m_fObjectValue, and m_rDoc.

Referenced by vcl::filter::PDFDocument::GetPages(), and vcl::filter::PDFDocument::WriteCatalogObject().

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

Member Data Documentation

int vcl::filter::PDFReferenceElement::m_fGenerationValue

Definition at line 151 of file pdfdocument.hxx.

Referenced by GetGenerationValue(), LookupNumber(), and Read().

int vcl::filter::PDFReferenceElement::m_fObjectValue

Definition at line 150 of file pdfdocument.hxx.

Referenced by GetObjectValue(), LookupNumber(), LookupObject(), and Read().

sal_uInt64 vcl::filter::PDFReferenceElement::m_nOffset = 0

Location after the 'R' token.

Definition at line 153 of file pdfdocument.hxx.

Referenced by GetOffset(), and Read().

PDFDocument& vcl::filter::PDFReferenceElement::m_rDoc

Definition at line 149 of file pdfdocument.hxx.

Referenced by LookupNumber(), and LookupObject().

PDFNumberElement& vcl::filter::PDFReferenceElement::m_rObject

The element providing the object number.

Definition at line 155 of file pdfdocument.hxx.

Referenced by GetObjectElement().

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