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

#include <XclExpChangeTrack.hxx>

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

Public Member Functions

 XclExpChTrInsert (const ScChangeAction &rAction, const XclExpRoot &rRoot, const XclExpChTrTabIdBuffer &rTabIdBuffer, const ScChangeTrack &rChangeTrack)
 
virtual ~XclExpChTrInsert () override
 
virtual sal_uInt16 GetNum () const override
 
virtual std::size_t GetActionByteCount () const override
 
virtual void SaveXml (XclExpXmlStream &rStrm) override
 
- Public Member Functions inherited from XclExpChTrAction
 XclExpChTrAction (const ScChangeAction &rAction, const XclExpRoot &rRoot, const XclExpChTrTabIdBuffer &rTabIdBuffer, sal_uInt16 nNewOpCode=EXC_CHTR_OP_UNKNOWN)
 
virtual ~XclExpChTrAction () override
 
const OUString & GetUsername () const
 
const DateTimeGetDateTime () const
 
const XclExpChTrTabIdBufferGetTabIdBuffer () const
 
bool ForceInfoRecord () const
 
void SetIndex (sal_uInt32 &rIndex)
 
virtual void Save (XclExpStream &rStrm) override
 Writes the record header and calls WriteBody(). More...
 
virtual std::size_t GetLen () const override
 
XclExpChTrActionGetAddAction ()
 
sal_uInt32 GetActionNumber () const
 
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 &&)
 
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 ()
 

Protected Member Functions

 XclExpChTrInsert (const XclExpChTrInsert &rCopy)
 
virtual bool UsesDeletedTab () const override
 
virtual void SaveActionData (XclExpStream &rStrm) const override
 
virtual void PrepareSaveAction (XclExpStream &rStrm) const override
 
virtual void CompleteSaveAction (XclExpStream &rStrm) const override
 
- Protected Member Functions inherited from XclExpChTrAction
 XclExpChTrAction (const XclExpChTrAction &rCopy)
 
void SetAddAction (XclExpChTrAction *pAction)
 
void AddDependentContents (const ScChangeAction &rAction, const XclExpRoot &rRoot, const ScChangeTrack &rChangeTrack)
 
sal_uInt16 GetTabId (SCTAB nTabId) const
 
bool IsDeletedTab (SCTAB nTab) const
 
void WriteTabId (XclExpStream &rStrm, SCTAB nTabId) const
 
virtual void SaveCont (XclExpStream &rStrm) override
 
virtual void SaveActionData (XclExpStream &rStrm) const =0
 
virtual std::size_t GetActionByteCount () const =0
 
virtual bool UsesDeletedTab () const =0
 
virtual void PrepareSaveAction (XclExpStream &rStrm) const
 
virtual void CompleteSaveAction (XclExpStream &rStrm) const
 
bool GetAccepted () const
 
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
 

Protected Attributes

ScRange aRange
 
- Protected Attributes inherited from XclExpChTrAction
const XclExpTabInforTabInfo
 
const XclExpChTrTabIdBufferrIdBuffer
 
sal_uInt32 nLength
 
sal_uInt16 nOpCode
 
bool bForceInfo
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Private Attributes

bool mbEndOfList
 

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)
 
- Static Protected Member Functions inherited from XclExpChTrAction
static void Write2DAddress (XclExpStream &rStrm, const ScAddress &rAddress)
 
static void Write2DRange (XclExpStream &rStrm, const ScRange &rRange)
 
static std::size_t GetHeaderByteCount ()
 

Detailed Description

Definition at line 507 of file XclExpChangeTrack.hxx.

Constructor & Destructor Documentation

◆ XclExpChTrInsert() [1/2]

XclExpChTrInsert::XclExpChTrInsert ( const XclExpChTrInsert rCopy)
protected

Definition at line 1111 of file XclExpChangeTrack.cxx.

◆ XclExpChTrInsert() [2/2]

XclExpChTrInsert::XclExpChTrInsert ( const ScChangeAction rAction,
const XclExpRoot rRoot,
const XclExpChTrTabIdBuffer rTabIdBuffer,
const ScChangeTrack rChangeTrack 
)

◆ ~XclExpChTrInsert()

XclExpChTrInsert::~XclExpChTrInsert ( )
overridevirtual

Definition at line 1160 of file XclExpChangeTrack.cxx.

Member Function Documentation

◆ CompleteSaveAction()

void XclExpChTrInsert::CompleteSaveAction ( XclExpStream rStrm) const
overrideprotectedvirtual

◆ GetActionByteCount()

std::size_t XclExpChTrInsert::GetActionByteCount ( ) const
overridevirtual

Implements XclExpChTrAction.

Reimplemented in XclExpChTr0x014A.

Definition at line 1195 of file XclExpChangeTrack.cxx.

◆ GetNum()

sal_uInt16 XclExpChTrInsert::GetNum ( ) const
overridevirtual

Implements ExcRecord.

Reimplemented in XclExpChTr0x014A.

Definition at line 1190 of file XclExpChangeTrack.cxx.

◆ PrepareSaveAction()

void XclExpChTrInsert::PrepareSaveAction ( XclExpStream rStrm) const
overrideprotectedvirtual

◆ SaveActionData()

void XclExpChTrInsert::SaveActionData ( XclExpStream rStrm) const
overrideprotectedvirtual

◆ SaveXml()

void XclExpChTrInsert::SaveXml ( XclExpXmlStream rStrm)
overridevirtual

◆ UsesDeletedTab()

bool XclExpChTrInsert::UsesDeletedTab ( ) const
overrideprotectedvirtual

Member Data Documentation

◆ aRange

ScRange XclExpChTrInsert::aRange
protected

◆ mbEndOfList

bool XclExpChTrInsert::mbEndOfList
private

Definition at line 509 of file XclExpChangeTrack.hxx.

Referenced by SaveActionData(), SaveXml(), and XclExpChTrInsert().


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