LibreOffice Module vcl (master) 1
|
Stream object: a byte array with a known length. More...
#include <pdfdocument.hxx>
Public Member Functions | |
PDFStreamElement (size_t nLength) | |
bool | Read (SvStream &rStream) override |
sal_uInt64 | GetOffset () const |
SvMemoryStream & | GetMemory () |
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... | |
Stream object: a byte array with a known length.
Definition at line 200 of file pdfdocument.hxx.
|
explicit |
Definition at line 2852 of file pdfdocument.cxx.
SvMemoryStream & vcl::filter::PDFStreamElement::GetMemory | ( | ) |
Definition at line 2869 of file pdfdocument.cxx.
References m_aMemory.
Referenced by vcl::PDFObjectCopier::copyExternalResource(), and vcl::PDFObjectCopier::copyPageStreams().
sal_uInt64 vcl::filter::PDFStreamElement::GetOffset | ( | ) | const |
Definition at line 2871 of file pdfdocument.cxx.
References m_nOffset.
Referenced by vcl::filter::PDFObjectElement::ParseStoredObjects(), and vcl::filter::PDFDocument::ReadXRefStream().
|
overridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 2858 of file pdfdocument.cxx.
References SvStream::good(), m_aMemory, m_nLength, m_nOffset, SvStream::ReadBytes(), SAL_INFO, SvStream::Tell(), and SvStream::WriteBytes().
|
inlineoverridevirtual |
Implements vcl::filter::PDFElement.
Definition at line 213 of file pdfdocument.hxx.
References SvMemoryStream::GetData(), and SvMemoryStream::GetSize().
|
private |
The byte array itself.
Definition at line 205 of file pdfdocument.hxx.
Referenced by GetMemory(), and Read().
|
private |
Definition at line 202 of file pdfdocument.hxx.
Referenced by Read().
|
private |
Definition at line 203 of file pdfdocument.hxx.
Referenced by GetOffset(), and Read().