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

Numbering object: an integer or a real. More...

#include <pdfdocument.hxx>

Inheritance diagram for vcl::filter::PDFNumberElement:
[legend]
Collaboration diagram for vcl::filter::PDFNumberElement:
[legend]

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
 

Detailed Description

Numbering object: an integer or a real.

Definition at line 379 of file pdfdocument.hxx.

Constructor & Destructor Documentation

◆ PDFNumberElement()

vcl::filter::PDFNumberElement::PDFNumberElement ( )
default

References GetValue, and Read.

Member Function Documentation

◆ GetLength()

sal_uInt64 vcl::filter::PDFNumberElement::GetLength ( ) const

Definition at line 2181 of file pdfdocument.cxx.

References m_nLength.

Referenced by vcl::filter::PDFObjectParser::parse().

◆ GetLocation()

sal_uInt64 vcl::filter::PDFNumberElement::GetLocation ( ) const

Definition at line 2179 of file pdfdocument.cxx.

References m_nOffset.

Referenced by vcl::filter::PDFObjectParser::parse().

◆ GetValue()

double vcl::filter::PDFNumberElement::GetValue ( ) const

◆ Read()

bool vcl::filter::PDFNumberElement::Read ( SvStream rStream)
overridevirtual

◆ SetValue()

void vcl::filter::PDFNumberElement::SetValue ( double  fValue)
inline

Definition at line 391 of file pdfdocument.hxx.

◆ writeString()

void vcl::filter::PDFNumberElement::writeString ( OStringBuffer &  rBuffer)
inlineoverridevirtual

Implements vcl::filter::PDFElement.

Definition at line 396 of file pdfdocument.hxx.

Member Data Documentation

◆ m_fValue

double vcl::filter::PDFNumberElement::m_fValue = 0
private

Definition at line 385 of file pdfdocument.hxx.

Referenced by GetValue(), and Read().

◆ m_nLength

sal_uInt64 vcl::filter::PDFNumberElement::m_nLength = 0
private

Input file token length.

Definition at line 384 of file pdfdocument.hxx.

Referenced by GetLength(), and Read().

◆ m_nOffset

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

Input file start location.

Definition at line 382 of file pdfdocument.hxx.

Referenced by GetLocation(), and Read().


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