LibreOffice Module sc (master)
1
|
#include <XclExpChangeTrack.hxx>
Public Member Functions | |
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 DateTime & | GetDateTime () const |
const XclExpChTrTabIdBuffer & | GetTabIdBuffer () 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 |
XclExpChTrAction * | GetAddAction () |
sal_uInt32 | GetActionNumber () const |
![]() | |
virtual void | SaveXml (XclExpXmlStream &rStrm) override |
virtual sal_uInt16 | GetNum () const =0 |
![]() | |
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... | |
![]() | |
XclExpRecordBase () | |
XclExpRecordBase (XclExpRecordBase const &) | |
XclExpRecordBase (XclExpRecordBase &&) | |
XclExpRecordBase & | operator= (XclExpRecordBase const &) |
XclExpRecordBase & | operator= (XclExpRecordBase &&) noexcept |
virtual | ~XclExpRecordBase () |
![]() | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
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 |
virtual void | SaveActionData (XclExpStream &rStrm) const =0 |
virtual std::size_t | GetActionByteCount () const =0 |
virtual void | PrepareSaveAction (XclExpStream &rStrm) const |
virtual void | CompleteSaveAction (XclExpStream &rStrm) const |
bool | GetAccepted () const |
![]() | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Static Protected Member Functions | |
static void | Write2DAddress (XclExpStream &rStrm, const ScAddress &rAddress) |
static void | Write2DRange (XclExpStream &rStrm, const ScRange &rRange) |
static std::size_t | GetHeaderByteCount () |
Protected Attributes | |
const XclExpTabInfo & | rTabInfo |
const XclExpChTrTabIdBuffer & | rIdBuffer |
sal_uInt32 | nLength |
sal_uInt16 | nOpCode |
bool | bForceInfo |
![]() | |
oslInterlockedCount | m_nCount |
Private Attributes | |
OUString | sUsername |
DateTime | aDateTime |
sal_uInt32 | nIndex |
std::unique_ptr< XclExpChTrAction > | pAddAction |
bool | bAccepted |
Additional Inherited Members | |
![]() | |
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) |
Definition at line 340 of file XclExpChangeTrack.hxx.
|
protected |
Definition at line 635 of file XclExpChangeTrack.cxx.
XclExpChTrAction::XclExpChTrAction | ( | const ScChangeAction & | rAction, |
const XclExpRoot & | rRoot, | ||
const XclExpChTrTabIdBuffer & | rTabIdBuffer, | ||
sal_uInt16 | nNewOpCode = EXC_CHTR_OP_UNKNOWN |
||
) |
Definition at line 649 of file XclExpChangeTrack.cxx.
References aDateTime, false, GetDateTime(), nIndex, nLength, tools::Time::SetNanoSec(), and tools::Time::SetSec().
|
overridevirtual |
Definition at line 668 of file XclExpChangeTrack.cxx.
|
protected |
Definition at line 680 of file XclExpChangeTrack.cxx.
References ScChangeTrack::GetDependents(), rIdBuffer, SC_CAT_CONTENT, and SetAddAction().
Referenced by XclExpChTrInsert::XclExpChTrInsert(), and XclExpChTrMoveRange::XclExpChTrMoveRange().
|
protectedvirtual |
Reimplemented in XclExpChTrMoveRange, and XclExpChTrInsert.
Definition at line 713 of file XclExpChangeTrack.cxx.
Referenced by Save().
|
inline |
Definition at line 397 of file XclExpChangeTrack.hxx.
References bForceInfo.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inlineprotected |
Definition at line 384 of file XclExpChangeTrack.hxx.
References bAccepted.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrInsertTab::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
protectedpure virtual |
Implemented in XclExpChTr0x014A, XclExpChTrMoveRange, XclExpChTrInsertTab, XclExpChTrInsert, and XclExpChTrCellContent.
Referenced by GetLen().
|
inline |
Definition at line 407 of file XclExpChangeTrack.hxx.
References nIndex.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrInsertTab::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
inline |
Definition at line 406 of file XclExpChangeTrack.hxx.
References pAddAction.
Referenced by XclExpChTrInsert::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
inline |
Definition at line 395 of file XclExpChangeTrack.hxx.
References aDateTime.
Referenced by XclExpChTrInsertTab::SaveActionData(), and XclExpChangeTrack::XclExpChangeTrack().
|
inlinestaticprotected |
Definition at line 372 of file XclExpChangeTrack.hxx.
Referenced by GetLen().
|
overridevirtual |
Implements ExcRecord.
Definition at line 726 of file XclExpChangeTrack.cxx.
References GetActionByteCount(), and GetHeaderByteCount().
|
inlineprotected |
Definition at line 424 of file XclExpChangeTrack.hxx.
References XclExpChTrTabIdBuffer::GetId(), XclExpTabInfo::GetXclTab(), rIdBuffer, and rTabInfo.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrInsertTab::SaveXml(), XclExpChTrMoveRange::SaveXml(), XclExpChTr0x014A::SaveXml(), and WriteTabId().
|
inline |
Definition at line 396 of file XclExpChangeTrack.hxx.
References rIdBuffer.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inline |
Definition at line 394 of file XclExpChangeTrack.hxx.
References sUsername.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
protectedvirtual |
Reimplemented in XclExpChTrMoveRange, and XclExpChTrInsert.
Definition at line 709 of file XclExpChangeTrack.cxx.
Referenced by Save().
|
overridevirtual |
Writes the record header and calls WriteBody().
Reimplemented from ExcRecord.
Definition at line 717 of file XclExpChangeTrack.cxx.
References CompleteSaveAction(), pAddAction, PrepareSaveAction(), and ExcRecord::Save().
|
protectedpure virtual |
Implemented in XclExpChTr0x014A, XclExpChTrMoveRange, XclExpChTrInsertTab, XclExpChTrInsert, and XclExpChTrCellContent.
Referenced by SaveCont().
|
overrideprotectedvirtual |
Reimplemented from ExcRecord.
Definition at line 699 of file XclExpChangeTrack.cxx.
References bAccepted, EXC_CHTR_ACCEPT, EXC_CHTR_NOTHING, EXC_CHTR_OP_UNKNOWN, nIndex, nLength, nOpCode, and SaveActionData().
|
protected |
Definition at line 672 of file XclExpChangeTrack.cxx.
References pAddAction.
Referenced by AddDependentContents(), and XclExpChTrInsert::XclExpChTrInsert().
void XclExpChTrAction::SetIndex | ( | sal_uInt32 & | rIndex | ) |
Definition at line 694 of file XclExpChangeTrack.cxx.
References nIndex.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inlinestaticprotected |
Definition at line 410 of file XclExpChangeTrack.hxx.
References ScAddress::Col(), and ScAddress::Row().
Referenced by XclExpChTrCellContent::SaveActionData().
|
inlinestaticprotected |
Definition at line 416 of file XclExpChangeTrack.hxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), and ScAddress::Row().
Referenced by XclExpChTrInsert::SaveActionData(), XclExpChTrMoveRange::SaveActionData(), and XclExpChTr0x014A::SaveActionData().
|
inlineprotected |
Definition at line 429 of file XclExpChangeTrack.hxx.
References GetTabId().
Referenced by XclExpChTrCellContent::SaveActionData(), XclExpChTrInsert::SaveActionData(), XclExpChTrInsertTab::SaveActionData(), XclExpChTrMoveRange::SaveActionData(), and XclExpChTr0x014A::SaveActionData().
|
private |
Definition at line 344 of file XclExpChangeTrack.hxx.
Referenced by GetDateTime(), and XclExpChTrAction().
|
private |
Definition at line 348 of file XclExpChangeTrack.hxx.
Referenced by GetAccepted(), and SaveCont().
|
protected |
Definition at line 355 of file XclExpChangeTrack.hxx.
Referenced by ForceInfoRecord(), and XclExpChTrInsertTab::XclExpChTrInsertTab().
|
private |
Definition at line 345 of file XclExpChangeTrack.hxx.
Referenced by GetActionNumber(), SaveCont(), and SetIndex().
|
protected |
Definition at line 353 of file XclExpChangeTrack.hxx.
Referenced by SaveCont(), XclExpChTr0x014A::XclExpChTr0x014A(), XclExpChTrCellContent::XclExpChTrCellContent(), XclExpChTrInsert::XclExpChTrInsert(), XclExpChTrInsertTab::XclExpChTrInsertTab(), and XclExpChTrMoveRange::XclExpChTrMoveRange().
|
protected |
Definition at line 354 of file XclExpChangeTrack.hxx.
Referenced by XclExpChTrInsert::CompleteSaveAction(), XclExpChTrInsert::PrepareSaveAction(), SaveCont(), XclExpChTrInsert::SaveXml(), XclExpChTr0x014A::XclExpChTr0x014A(), and XclExpChTrInsert::XclExpChTrInsert().
|
private |
Definition at line 347 of file XclExpChangeTrack.hxx.
Referenced by GetAddAction(), Save(), and SetAddAction().
|
protected |
Definition at line 352 of file XclExpChangeTrack.hxx.
Referenced by AddDependentContents(), GetTabId(), GetTabIdBuffer(), and XclExpChTrCellContent::SaveActionData().
|
protected |
Definition at line 351 of file XclExpChangeTrack.hxx.
Referenced by GetTabId().
|
private |
Definition at line 343 of file XclExpChangeTrack.hxx.
Referenced by GetUsername().