LibreOffice Module writerperfect (master) 1
Public Member Functions | Private Attributes | List of all members
writerperfect::WPXSvInputStream Class Referencefinal

#include <WPXSvInputStream.hxx>

Inheritance diagram for writerperfect::WPXSvInputStream:
[legend]
Collaboration diagram for writerperfect::WPXSvInputStream:
[legend]

Public Member Functions

WRITERPERFECT_DLLPUBLIC WPXSvInputStream (css::uno::Reference< css::io::XInputStream > const &xStream)
 
virtual WRITERPERFECT_DLLPUBLIC ~WPXSvInputStream () override
 
virtual bool isStructured () override
 
virtual unsigned subStreamCount () override
 
virtual const char * subStreamName (unsigned id) override
 
virtual bool existsSubStream (const char *name) override
 
virtual librevenge::RVNGInputStream * getSubStreamByName (const char *name) override
 
virtual librevenge::RVNGInputStream * getSubStreamById (unsigned id) override
 
virtual WRITERPERFECT_DLLPUBLIC const unsigned char * read (unsigned long numBytes, unsigned long &numBytesRead) override
 
virtual WRITERPERFECT_DLLPUBLIC int seek (long offset, librevenge::RVNG_SEEK_TYPE seekType) override
 
virtual long tell () override
 
virtual bool isEnd () override
 

Private Attributes

std::unique_ptr< WPXSvInputStreamImplmpImpl
 

Detailed Description

Definition at line 28 of file WPXSvInputStream.hxx.

Constructor & Destructor Documentation

◆ WPXSvInputStream()

writerperfect::WPXSvInputStream::WPXSvInputStream ( css::uno::Reference< css::io::XInputStream > const &  xStream)

Definition at line 807 of file WPXSvInputStream.cxx.

◆ ~WPXSvInputStream()

writerperfect::WPXSvInputStream::~WPXSvInputStream ( )
overridevirtual

Definition at line 812 of file WPXSvInputStream.cxx.

Member Function Documentation

◆ existsSubStream()

bool writerperfect::WPXSvInputStream::existsSubStream ( const char *  name)
overridevirtual

Definition at line 942 of file WPXSvInputStream.cxx.

References mpImpl, and name.

◆ getSubStreamById()

librevenge::RVNGInputStream * writerperfect::WPXSvInputStream::getSubStreamById ( unsigned  id)
overridevirtual

Definition at line 954 of file WPXSvInputStream.cxx.

References mpImpl.

◆ getSubStreamByName()

librevenge::RVNGInputStream * writerperfect::WPXSvInputStream::getSubStreamByName ( const char *  name)
overridevirtual

Definition at line 948 of file WPXSvInputStream.cxx.

References mpImpl, and name.

◆ isEnd()

bool writerperfect::WPXSvInputStream::isEnd ( )
overridevirtual

Definition at line 919 of file WPXSvInputStream.cxx.

References mpImpl.

◆ isStructured()

bool writerperfect::WPXSvInputStream::isStructured ( )
overridevirtual

Definition at line 924 of file WPXSvInputStream.cxx.

References mpImpl.

◆ read()

const unsigned char * writerperfect::WPXSvInputStream::read ( unsigned long  numBytes,
unsigned long &  numBytesRead 
)
overridevirtual

Definition at line 816 of file WPXSvInputStream.cxx.

References BUFFER_MAX, o3tl::make_unsigned(), and mpImpl.

Referenced by MSWorksCalcImportFilter::filter().

◆ seek()

int writerperfect::WPXSvInputStream::seek ( long  offset,
librevenge::RVNG_SEEK_TYPE  seekType 
)
overridevirtual

Definition at line 883 of file WPXSvInputStream.cxx.

References o3tl::make_unsigned(), mpImpl, and tell().

Referenced by MSWorksCalcImportFilter::filter().

◆ subStreamCount()

unsigned writerperfect::WPXSvInputStream::subStreamCount ( )
overridevirtual

Definition at line 930 of file WPXSvInputStream.cxx.

References mpImpl.

◆ subStreamName()

const char * writerperfect::WPXSvInputStream::subStreamName ( unsigned  id)
overridevirtual

Definition at line 936 of file WPXSvInputStream.cxx.

References mpImpl.

◆ tell()

long writerperfect::WPXSvInputStream::tell ( )
overridevirtual

Definition at line 876 of file WPXSvInputStream.cxx.

References mpImpl.

Referenced by seek().

Member Data Documentation

◆ mpImpl

std::unique_ptr<WPXSvInputStreamImpl> writerperfect::WPXSvInputStream::mpImpl
private

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