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

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

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

Detailed Description

Reference object: something with a unique ID.

Definition at line 161 of file pdfdocument.hxx.

Constructor & Destructor Documentation

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

Definition at line 2719 of file pdfdocument.cxx.

References GetValue.

Member Function Documentation

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

Definition at line 2821 of file pdfdocument.cxx.

References m_fGenerationValue.

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

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

Definition at line 2728 of file pdfdocument.cxx.

References m_rObject.

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

Definition at line 2819 of file pdfdocument.cxx.

References m_fObjectValue.

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

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

Definition at line 2738 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 2801 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)
overridevirtual

Member Data Documentation

int vcl::filter::PDFReferenceElement::m_fGenerationValue
private

Definition at line 165 of file pdfdocument.hxx.

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

int vcl::filter::PDFReferenceElement::m_fObjectValue
private

Definition at line 164 of file pdfdocument.hxx.

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

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

Location after the 'R' token.

Definition at line 167 of file pdfdocument.hxx.

Referenced by GetOffset(), and Read().

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

Definition at line 163 of file pdfdocument.hxx.

Referenced by LookupNumber(), and LookupObject().

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

The element providing the object number.

Definition at line 169 of file pdfdocument.hxx.

Referenced by GetObjectElement().


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