LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
XclExpSst Class Reference

Provides export of the SST (shared string table) record. More...

#include <xecontent.hxx>

Inheritance diagram for XclExpSst:
[legend]
Collaboration diagram for XclExpSst:
[legend]

Public Member Functions

 XclExpSst ()
 
virtual ~XclExpSst () override
 
sal_uInt32 Insert (const XclExpStringRef &xString)
 Inserts a new string into the table. More...
 
virtual void Save (XclExpStream &rStrm) override
 Writes the complete SST and EXTSST records. More...
 
virtual void SaveXml (XclExpXmlStream &rStrm) override
 
- Public Member Functions inherited from XclExpRecordBase
 XclExpRecordBase ()
 
 XclExpRecordBase (XclExpRecordBase const &)
 
 XclExpRecordBase (XclExpRecordBase &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (XclExpRecordBase &&) noexcept
 
virtual ~XclExpRecordBase ()
 
virtual void Save (XclExpStream &rStrm)
 Overwrite this method to do any operation while saving the record. More...
 
virtual void SaveXml (XclExpXmlStream &rStrm)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Types

typedef std::unique_ptr< XclExpSstImplXclExpSstImplPtr
 

Private Attributes

XclExpSstImplPtr mxImpl
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Provides export of the SST (shared string table) record.

@descr Contains all strings in the document and writes the SST.

Definition at line 51 of file xecontent.hxx.

Member Typedef Documentation

◆ XclExpSstImplPtr

typedef std::unique_ptr< XclExpSstImpl > XclExpSst::XclExpSstImplPtr
private

Definition at line 66 of file xecontent.hxx.

Constructor & Destructor Documentation

◆ XclExpSst()

XclExpSst::XclExpSst ( )
explicit

Definition at line 237 of file xecontent.cxx.

◆ ~XclExpSst()

XclExpSst::~XclExpSst ( )
overridevirtual

Definition at line 242 of file xecontent.cxx.

Member Function Documentation

◆ Insert()

sal_uInt32 XclExpSst::Insert ( const XclExpStringRef xString)

Inserts a new string into the table.

Returns
The index of the string in the SST, used in other records.

Definition at line 246 of file xecontent.cxx.

References mxImpl.

Referenced by XclExpLabelCell::Init().

◆ Save()

void XclExpSst::Save ( XclExpStream rStrm)
overridevirtual

Writes the complete SST and EXTSST records.

Reimplemented from XclExpRecordBase.

Definition at line 251 of file xecontent.cxx.

References mxImpl, and rStrm.

◆ SaveXml()

void XclExpSst::SaveXml ( XclExpXmlStream rStrm)
overridevirtual

Reimplemented from XclExpRecordBase.

Definition at line 256 of file xecontent.cxx.

References mxImpl, and rStrm.

Member Data Documentation

◆ mxImpl

XclExpSstImplPtr XclExpSst::mxImpl
private

Definition at line 67 of file xecontent.hxx.

Referenced by Insert(), Save(), and SaveXml().


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