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

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
void writeString (OStringBuffer &rBuffer) 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

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 167 of file pdfdocument.hxx.

Constructor & Destructor Documentation

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

Definition at line 2615 of file pdfdocument.cxx.

References GetValue, and m_rDoc.

Member Function Documentation

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

Definition at line 2717 of file pdfdocument.cxx.

References m_fGenerationValue.

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

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

Definition at line 2624 of file pdfdocument.cxx.

References m_rObject.

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

Definition at line 2715 of file pdfdocument.cxx.

References m_fObjectValue.

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

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

Definition at line 2634 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 2697 of file pdfdocument.cxx.

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

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

bool vcl::filter::PDFReferenceElement::Read ( SvStream rStream)
void vcl::filter::PDFReferenceElement::writeString ( OStringBuffer &  rBuffer)

Implements vcl::filter::PDFElement.

Definition at line 190 of file pdfdocument.hxx.

Member Data Documentation

int vcl::filter::PDFReferenceElement::m_fGenerationValue

Definition at line 171 of file pdfdocument.hxx.

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

int vcl::filter::PDFReferenceElement::m_fObjectValue

Definition at line 170 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 173 of file pdfdocument.hxx.

Referenced by GetOffset(), and Read().

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

Definition at line 169 of file pdfdocument.hxx.

Referenced by LookupNumber(), and LookupObject().

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

The element providing the object number.

Definition at line 175 of file pdfdocument.hxx.

Referenced by GetObjectElement().

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