LibreOffice Module vcl (master) 1
|
Numbering object: an integer or a real. More...
#include <pdfdocument.hxx>
Public Member Functions | |
PDFNumberElement () | |
bool | Read (SvStream &rStream) override |
double | GetValue () const |
void | SetValue (double fValue) |
sal_uInt64 | GetLocation () const |
sal_uInt64 | GetLength () 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 | |
sal_uInt64 | m_nOffset = 0 |
Input file start location. More... | |
sal_uInt64 | m_nLength = 0 |
Input file token length. More... | |
double | m_fValue = 0 |
Numbering object: an integer or a real.
Definition at line 379 of file pdfdocument.hxx.
sal_uInt64 vcl::filter::PDFNumberElement::GetLength | ( | ) | const |
Definition at line 2181 of file pdfdocument.cxx.
References m_nLength.
Referenced by vcl::filter::PDFObjectParser::parse().
sal_uInt64 vcl::filter::PDFNumberElement::GetLocation | ( | ) | const |
Definition at line 2179 of file pdfdocument.cxx.
References m_nOffset.
Referenced by vcl::filter::PDFObjectParser::parse().
double vcl::filter::PDFNumberElement::GetValue | ( | ) | const |
Definition at line 2285 of file pdfdocument.cxx.
References m_fValue.
Referenced by vcl::filter::PDFDocument::FindStartXRef(), vcl::filter::PDFReferenceElement::LookupNumber(), vcl::filter::PDFObjectElement::ParseStoredObjects(), vcl::filter::PDFDocument::Read(), and vcl::filter::PDFDocument::ReadXRef().
|
overridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 2145 of file pdfdocument.cxx.
References aBuf, ch, SvStream::eof(), m_fValue, m_nLength, m_nOffset, SvStream::ReadChar(), SAL_INFO, SvStream::SeekRel(), SvStream::Tell(), and o3tl::toDouble().
Referenced by vcl::filter::PDFDocument::FindStartXRef(), vcl::filter::PDFReferenceElement::LookupNumber(), vcl::filter::PDFObjectElement::ParseStoredObjects(), and vcl::filter::PDFDocument::ReadXRef().
|
inline |
Definition at line 391 of file pdfdocument.hxx.
|
inlineoverridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 396 of file pdfdocument.hxx.
|
private |
Definition at line 385 of file pdfdocument.hxx.
Referenced by GetValue(), and Read().
|
private |
Input file token length.
Definition at line 384 of file pdfdocument.hxx.
Referenced by GetLength(), and Read().
|
private |
Input file start location.
Definition at line 382 of file pdfdocument.hxx.
Referenced by GetLocation(), and Read().