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

Stream object: a byte array with a known length. More...

#include <pdfdocument.hxx>

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

Public Member Functions

 PDFStreamElement (size_t nLength)
 
bool Read (SvStream &rStream) override
 
sal_uInt64 GetOffset () const
 
SvMemoryStreamGetMemory ()
 
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

size_t m_nLength
 
sal_uInt64 m_nOffset
 
SvMemoryStream m_aMemory
 The byte array itself. More...
 

Detailed Description

Stream object: a byte array with a known length.

Definition at line 200 of file pdfdocument.hxx.

Constructor & Destructor Documentation

◆ PDFStreamElement()

vcl::filter::PDFStreamElement::PDFStreamElement ( size_t  nLength)
explicit

Definition at line 2852 of file pdfdocument.cxx.

References m_nLength, and nLength.

Member Function Documentation

◆ GetMemory()

SvMemoryStream & vcl::filter::PDFStreamElement::GetMemory ( )

◆ GetOffset()

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

◆ Read()

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

◆ writeString()

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

Implements vcl::filter::PDFElement.

Definition at line 213 of file pdfdocument.hxx.

References SvMemoryStream::GetData(), and SvMemoryStream::GetSize().

Member Data Documentation

◆ m_aMemory

SvMemoryStream vcl::filter::PDFStreamElement::m_aMemory
private

The byte array itself.

Definition at line 205 of file pdfdocument.hxx.

Referenced by GetMemory(), and Read().

◆ m_nLength

size_t vcl::filter::PDFStreamElement::m_nLength
private

Definition at line 202 of file pdfdocument.hxx.

Referenced by Read().

◆ m_nOffset

sal_uInt64 vcl::filter::PDFStreamElement::m_nOffset
private

Definition at line 203 of file pdfdocument.hxx.

Referenced by GetOffset(), and Read().


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