LibreOffice Module sc (master) 1
|
#include <excrecds.hxx>
Public Member Functions | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the record header and calls WriteBody(). More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) override |
virtual sal_uInt16 | GetNum () const =0 |
virtual std::size_t | GetLen () const =0 |
Public Member Functions inherited from XclExpRecord | |
XclExpRecord (sal_uInt16 nRecId=EXC_ID_UNKNOWN, std::size_t nRecSize=0) | |
XclExpRecord (XclExpRecord const &)=default | |
virtual | ~XclExpRecord () override |
sal_uInt16 | GetRecId () const |
Returns the current record ID. More... | |
std::size_t | GetRecSize () const |
Returns the current record size prediction. More... | |
void | SetRecId (sal_uInt16 nRecId) |
Sets a new record ID. More... | |
void | SetRecSize (std::size_t nRecSize) |
Sets a new record size prediction. More... | |
void | AddRecSize (std::size_t nRecSize) |
Adds a size value to the record size prediction. More... | |
void | SetRecHeader (sal_uInt16 nRecId, std::size_t nRecSize) |
Sets record ID and size with one call. More... | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the record header and calls WriteBody(). More... | |
Public Member Functions inherited from XclExpRecordBase | |
XclExpRecordBase () | |
XclExpRecordBase (XclExpRecordBase const &) | |
XclExpRecordBase (XclExpRecordBase &&) | |
XclExpRecordBase & | operator= (XclExpRecordBase const &) |
XclExpRecordBase & | operator= (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 () |
Protected Member Functions | |
virtual void | SaveCont (XclExpStream &rStrm) |
virtual void | WriteBody (XclExpStream &rStrm) |
Writes the body of the record (without record header). More... | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
virtual void | WriteBody (XclExpStream &rStrm) override |
Writes the body of the record. More... | |
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 Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 37 of file excrecds.hxx.
|
pure virtual |
Implemented in ExcEmptyRec, ExcBoolRecord, ExcBof, ExcBofW, ExcEof, ExcDummy_00, ExcDummy_040, ExcDummy_041, ExcBundlesheet, ExcDummy_02a, XclTxo, ExcBof8_Base, ExcBundlesheet8, XclObproj, XclCodename, ExcEScenario, ExcEScenarioManager, XclCalccount, XclIteration, XclDelta, ExcXmlRecord, XclExpUserBView, XclExpUsersViewBegin, XclExpUsersViewEnd, XclExpChTr0x0191, XclExpChTr0x0198, XclExpChTr0x0192, XclExpChTr0x0197, XclExpChTrEmpty, XclExpChTr0x0195, XclExpChTr0x0194, XclExpChTrHeader, XclExpChTrInfo, XclExpChTrTabId, and XclExpChTrAction.
Referenced by Save(), and ExcDummyRec::Save().
|
pure virtual |
Implemented in ExcEmptyRec, ExcDummyRec, ExcBof, ExcBofW, ExcEof, Exc1904, ExcBundlesheetBase, XclTxo, ExcBof8_Base, XclObproj, XclCodename, ExcEScenario, ExcEScenarioManager, XclCalccount, XclIteration, XclDelta, ExcXmlRecord, XclExpUserBView, XclExpUsersViewBegin, XclExpUsersViewEnd, XclExpChTr0x0191, XclExpChTr0x0198, XclExpChTr0x0192, XclExpChTr0x0197, XclExpChTrEmpty, XclExpChTr0x0195, XclExpChTr0x0194, XclExpChTrHeader, XclExpChTrInfo, XclExpChTrTabId, XclExpChTrCellContent, XclExpChTrInsert, XclExpChTrInsertTab, XclExpChTrMoveRange, and XclExpChTr0x014A.
Referenced by Save().
|
overridevirtual |
Writes the record header and calls WriteBody().
Reimplemented from XclExpRecord.
Reimplemented in ExcEmptyRec, ExcDummyRec, XclExpObjList, XclTxo, ExcEScenarioManager, ExcXmlRecord, XclExpUserBViewList, and XclExpChTrAction.
Definition at line 93 of file excrecds.cxx.
References GetLen(), GetNum(), rStrm, XclExpRecord::Save(), and XclExpRecord::SetRecHeader().
Referenced by XclExpChTrInsert::CompleteSaveAction(), XclExpChTrMoveRange::CompleteSaveAction(), XclExpChTrInsert::PrepareSaveAction(), XclExpChTrMoveRange::PrepareSaveAction(), XclTxo::Save(), ExcEScenarioManager::Save(), XclExpChTrAction::Save(), and XclExpChangeTrack::WriteUserNamesStream().
|
protectedvirtual |
Reimplemented in ExcBoolRecord, ExcBof, ExcBofW, ExcBundlesheet, XclTxo, ExcBof8_Base, ExcBundlesheet8, XclCodename, ExcEScenario, ExcEScenarioManager, XclCalccount, XclIteration, XclDelta, XclExpUserBView, XclExpUsersViewBegin, XclExpUsersViewEnd, XclExpChTr0x0191, XclExpChTr0x0198, XclExpChTr0x0192, XclExpChTr0x0197, XclExpChTr0x0195, XclExpChTr0x0194, XclExpChTrHeader, XclExpChTrInfo, XclExpChTrTabId, and XclExpChTrAction.
Definition at line 99 of file excrecds.cxx.
Referenced by WriteBody().
|
overridevirtual |
Reimplemented from XclExpRecordBase.
Reimplemented in Exc1904, XclExpObjList, ExcBundlesheet8, ExcEScenario, ExcEScenarioManager, XclCalccount, XclIteration, XclDelta, XclExpChTrHeader, XclExpXmlChTrHeaders, XclExpXmlChTrHeader, XclExpChTrCellContent, XclExpChTrInsert, XclExpChTrInsertTab, XclExpChTrMoveRange, and XclExpChTr0x014A.
Definition at line 108 of file excrecds.cxx.
Referenced by XclExpChTrInsert::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
overrideprivatevirtual |
Writes the body of the record.
Reimplemented from XclExpRecord.
Definition at line 103 of file excrecds.cxx.
References rStrm, and SaveCont().