LibreOffice Module vcl (master) 1
|
Reference object: something with a unique ID. More...
#include <pdfdocument.hxx>
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... | |
PDFObjectElement * | LookupObject () |
Lookup referenced object, without assuming anything about its contents. More... | |
int | GetObjectValue () const |
int | GetGenerationValue () const |
sal_uInt64 | GetOffset () const |
PDFNumberElement & | GetObjectElement () const |
void | writeString (OStringBuffer &rBuffer) 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 | |
PDFDocument & | m_rDoc |
int | m_fObjectValue |
int | m_fGenerationValue |
sal_uInt64 | m_nOffset = 0 |
Location after the 'R' token. More... | |
PDFNumberElement & | m_rObject |
The element providing the object number. More... | |
Reference object: something with a unique ID.
Definition at line 167 of file pdfdocument.hxx.
vcl::filter::PDFReferenceElement::PDFReferenceElement | ( | PDFDocument & | rDoc, |
PDFNumberElement & | rObject, | ||
PDFNumberElement const & | rGeneration | ||
) |
Definition at line 2642 of file pdfdocument.cxx.
int vcl::filter::PDFReferenceElement::GetGenerationValue | ( | ) | const |
Definition at line 2744 of file pdfdocument.cxx.
References m_fGenerationValue.
Referenced by vcl::filter::PDFDocument::WriteXRef().
PDFNumberElement & vcl::filter::PDFReferenceElement::GetObjectElement | ( | ) | const |
Definition at line 2651 of file pdfdocument.cxx.
References m_rObject.
int vcl::filter::PDFReferenceElement::GetObjectValue | ( | ) | const |
Definition at line 2742 of file pdfdocument.cxx.
References m_fObjectValue.
Referenced by vcl::filter::PDFDocument::WriteXRef().
sal_uInt64 vcl::filter::PDFReferenceElement::GetOffset | ( | ) | const |
Definition at line 2661 of file pdfdocument.cxx.
References m_nOffset.
double vcl::filter::PDFReferenceElement::LookupNumber | ( | SvStream & | rStream | ) | const |
Assuming the reference points to a number object, return its value.
Definition at line 2663 of file pdfdocument.cxx.
References vcl::filter::PDFDocument::GetObjectOffset(), vcl::filter::PDFNumberElement::GetValue(), m_fGenerationValue, m_fObjectValue, m_rDoc, vcl::filter::PDFNumberElement::Read(), vcl::filter::PDFDocument::ReadKeyword(), SAL_WARN, SvStream::Seek(), vcl::filter::PDFDocument::SkipWhitespace(), and SvStream::Tell().
PDFObjectElement * vcl::filter::PDFReferenceElement::LookupObject | ( | ) |
Lookup referenced object, without assuming anything about its contents.
Definition at line 2724 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().
|
overridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 2653 of file pdfdocument.cxx.
References m_fGenerationValue, m_fObjectValue, m_nOffset, SAL_INFO, and SvStream::Tell().
|
inlineoverridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 190 of file pdfdocument.hxx.
|
private |
Definition at line 171 of file pdfdocument.hxx.
Referenced by GetGenerationValue(), LookupNumber(), and Read().
|
private |
Definition at line 170 of file pdfdocument.hxx.
Referenced by GetObjectValue(), LookupNumber(), LookupObject(), and Read().
|
private |
Location after the 'R' token.
Definition at line 173 of file pdfdocument.hxx.
Referenced by GetOffset(), and Read().
|
private |
Definition at line 169 of file pdfdocument.hxx.
Referenced by LookupNumber(), and LookupObject().
|
private |
The element providing the object number.
Definition at line 175 of file pdfdocument.hxx.
Referenced by GetObjectElement().