LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclExpChTrMoveRange Class Referencefinal

#include <XclExpChangeTrack.hxx>

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

Public Member Functions

 XclExpChTrMoveRange (const ScChangeActionMove &rAction, const XclExpRoot &rRoot, const XclExpChTrTabIdBuffer &rTabIdBuffer, const ScChangeTrack &rChangeTrack)
 
virtual ~XclExpChTrMoveRange () 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 ()
 

Private Member Functions

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
 

Private Attributes

ScRange aSourceRange
 
ScRange aDestRange
 

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 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
 
- 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 ()
 
- 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
 

Detailed Description

Definition at line 564 of file XclExpChangeTrack.hxx.

Constructor & Destructor Documentation

◆ XclExpChTrMoveRange()

XclExpChTrMoveRange::XclExpChTrMoveRange ( const ScChangeActionMove rAction,
const XclExpRoot rRoot,
const XclExpChTrTabIdBuffer rTabIdBuffer,
const ScChangeTrack rChangeTrack 
)

◆ ~XclExpChTrMoveRange()

XclExpChTrMoveRange::~XclExpChTrMoveRange ( )
overridevirtual

Definition at line 1315 of file XclExpChangeTrack.cxx.

Member Function Documentation

◆ CompleteSaveAction()

void XclExpChTrMoveRange::CompleteSaveAction ( XclExpStream rStrm) const
overrideprivatevirtual

Reimplemented from XclExpChTrAction.

Definition at line 1339 of file XclExpChangeTrack.cxx.

References rStrm, and ExcRecord::Save().

◆ GetActionByteCount()

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

Implements XclExpChTrAction.

Definition at line 1349 of file XclExpChangeTrack.cxx.

◆ GetNum()

sal_uInt16 XclExpChTrMoveRange::GetNum ( ) const
overridevirtual

Implements ExcRecord.

Definition at line 1344 of file XclExpChangeTrack.cxx.

◆ PrepareSaveAction()

void XclExpChTrMoveRange::PrepareSaveAction ( XclExpStream rStrm) const
overrideprivatevirtual

Reimplemented from XclExpChTrAction.

Definition at line 1334 of file XclExpChangeTrack.cxx.

References rStrm, and ExcRecord::Save().

◆ SaveActionData()

void XclExpChTrMoveRange::SaveActionData ( XclExpStream rStrm) const
overrideprivatevirtual

◆ SaveXml()

void XclExpChTrMoveRange::SaveXml ( XclExpXmlStream rStrm)
overridevirtual

◆ UsesDeletedTab()

bool XclExpChTrMoveRange::UsesDeletedTab ( ) const
overrideprivatevirtual

Member Data Documentation

◆ aDestRange

ScRange XclExpChTrMoveRange::aDestRange
private

◆ aSourceRange

ScRange XclExpChTrMoveRange::aSourceRange
private

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