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
 
- 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...
 
- Public Member Functions inherited from XclExpRecordBase
 XclExpRecordBase ()
 
 XclExpRecordBase (XclExpRecordBase const &)
 
 XclExpRecordBase (XclExpRecordBase &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (XclExpRecordBase &&) noexcept
 
virtual ~XclExpRecordBase ()
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

 XclExpChTrInsert (const XclExpChTrInsert &rCopy)
 
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
 
void WriteTabId (XclExpStream &rStrm, SCTAB nTabId) const
 
virtual void SaveCont (XclExpStream &rStrm) override
 
bool GetAccepted () const
 
- 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 voidoperator new (std::size_t nSize)
 
static voidoperator 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 493 of file XclExpChangeTrack.hxx.

Constructor & Destructor Documentation

XclExpChTrInsert::XclExpChTrInsert ( const XclExpChTrInsert rCopy)
protected

Definition at line 1067 of file XclExpChangeTrack.cxx.

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

Definition at line 1116 of file XclExpChangeTrack.cxx.

Member Function Documentation

void XclExpChTrInsert::CompleteSaveAction ( XclExpStream rStrm) const
overrideprotectedvirtual
std::size_t XclExpChTrInsert::GetActionByteCount ( ) const
overridevirtual

Implements XclExpChTrAction.

Reimplemented in XclExpChTr0x014A.

Definition at line 1146 of file XclExpChangeTrack.cxx.

sal_uInt16 XclExpChTrInsert::GetNum ( ) const
overridevirtual

Implements ExcRecord.

Reimplemented in XclExpChTr0x014A.

Definition at line 1141 of file XclExpChangeTrack.cxx.

void XclExpChTrInsert::PrepareSaveAction ( XclExpStream rStrm) const
overrideprotectedvirtual
void XclExpChTrInsert::SaveActionData ( XclExpStream rStrm) const
overrideprotectedvirtual
void XclExpChTrInsert::SaveXml ( XclExpXmlStream rStrm)
overridevirtual

Member Data Documentation

ScRange XclExpChTrInsert::aRange
protected
bool XclExpChTrInsert::mbEndOfList
private

Definition at line 495 of file XclExpChangeTrack.hxx.

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


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