|
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 |
Public Member Functions inherited from ExcRecord | |
| 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 | |
| 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 | |
| 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 |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
| oslInterlockedCount | m_nCount |
Private Attributes | |
| OUString | sUsername |
| DateTime | aDateTime |
| sal_uInt32 | nIndex |
| std::unique_ptr< XclExpChTrAction > | pAddAction |
| bool | bAccepted |
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) |
Definition at line 342 of file XclExpChangeTrack.hxx.
|
protected |
Definition at line 641 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 655 of file XclExpChangeTrack.cxx.
References aDateTime, GetDateTime(), nIndex, nLength, tools::Time::SetNanoSec(), and tools::Time::SetSec().
|
overridevirtual |
Definition at line 674 of file XclExpChangeTrack.cxx.
|
protected |
Definition at line 686 of file XclExpChangeTrack.cxx.
References ScChangeTrack::GetDependents(), rIdBuffer, SC_CAT_CONTENT, and SetAddAction().
Referenced by XclExpChTrInsert::XclExpChTrInsert(), and XclExpChTrMoveRange::XclExpChTrMoveRange().
|
protectedvirtual |
Reimplemented in XclExpChTrInsert, and XclExpChTrMoveRange.
Definition at line 719 of file XclExpChangeTrack.cxx.
Referenced by Save().
|
inline |
Definition at line 403 of file XclExpChangeTrack.hxx.
References bForceInfo.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inlineprotected |
Definition at line 390 of file XclExpChangeTrack.hxx.
References bAccepted.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrInsertTab::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
protectedpure virtual |
Implemented in XclExpChTrCellContent, XclExpChTrInsert, XclExpChTrInsertTab, XclExpChTrMoveRange, and XclExpChTr0x014A.
Referenced by GetLen().
|
inline |
Definition at line 413 of file XclExpChangeTrack.hxx.
References nIndex.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrInsertTab::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
inline |
Definition at line 412 of file XclExpChangeTrack.hxx.
References pAddAction.
Referenced by XclExpChTrInsert::SaveXml(), and XclExpChTrMoveRange::SaveXml().
|
inline |
Definition at line 401 of file XclExpChangeTrack.hxx.
References aDateTime.
Referenced by XclExpChTrInsertTab::SaveActionData(), and XclExpChangeTrack::XclExpChangeTrack().
|
inlinestaticprotected |
Definition at line 375 of file XclExpChangeTrack.hxx.
Referenced by GetLen().
|
overridevirtual |
Implements ExcRecord.
Definition at line 737 of file XclExpChangeTrack.cxx.
References GetActionByteCount(), and GetHeaderByteCount().
|
inlineprotected |
Definition at line 435 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 402 of file XclExpChangeTrack.hxx.
References rIdBuffer.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inline |
Definition at line 400 of file XclExpChangeTrack.hxx.
References sUsername.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
inlineprotected |
Definition at line 430 of file XclExpChangeTrack.hxx.
References EXC_TAB_DELETED, XclExpTabInfo::GetXclTab(), and rTabInfo.
Referenced by XclExpChTrCellContent::SaveXml(), XclExpChTrInsert::SaveXml(), XclExpChTrMoveRange::SaveXml(), XclExpChTrCellContent::UsesDeletedTab(), XclExpChTrInsert::UsesDeletedTab(), XclExpChTrInsertTab::UsesDeletedTab(), and XclExpChTrMoveRange::UsesDeletedTab().
|
protectedvirtual |
Reimplemented in XclExpChTrInsert, and XclExpChTrMoveRange.
Definition at line 715 of file XclExpChangeTrack.cxx.
Referenced by Save().
|
overridevirtual |
Writes the record header and calls WriteBody().
Reimplemented from ExcRecord.
Definition at line 723 of file XclExpChangeTrack.cxx.
References CompleteSaveAction(), pAddAction, PrepareSaveAction(), rStrm, SAL_WARN, ExcRecord::Save(), and UsesDeletedTab().
|
protectedpure virtual |
Implemented in XclExpChTrCellContent, XclExpChTrInsert, XclExpChTrInsertTab, XclExpChTrMoveRange, and XclExpChTr0x014A.
Referenced by SaveCont().
|
overrideprotectedvirtual |
Reimplemented from ExcRecord.
Definition at line 705 of file XclExpChangeTrack.cxx.
References bAccepted, EXC_CHTR_ACCEPT, EXC_CHTR_NOTHING, EXC_CHTR_OP_UNKNOWN, nIndex, nLength, nOpCode, rStrm, and SaveActionData().
|
protected |
Definition at line 678 of file XclExpChangeTrack.cxx.
References pAddAction.
Referenced by AddDependentContents(), and XclExpChTrInsert::XclExpChTrInsert().
| void XclExpChTrAction::SetIndex | ( | sal_uInt32 & | rIndex | ) |
Definition at line 700 of file XclExpChangeTrack.cxx.
References nIndex.
Referenced by XclExpChangeTrack::XclExpChangeTrack().
|
protectedpure virtual |
Implemented in XclExpChTrCellContent, XclExpChTrInsert, XclExpChTrInsertTab, and XclExpChTrMoveRange.
Referenced by Save().
|
inlinestaticprotected |
Definition at line 416 of file XclExpChangeTrack.hxx.
References ScAddress::Col(), and ScAddress::Row().
Referenced by XclExpChTrCellContent::SaveActionData().
|
inlinestaticprotected |
Definition at line 422 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 440 of file XclExpChangeTrack.hxx.
References GetTabId(), and rStrm.
Referenced by XclExpChTrCellContent::SaveActionData(), XclExpChTrInsert::SaveActionData(), XclExpChTrInsertTab::SaveActionData(), XclExpChTrMoveRange::SaveActionData(), and XclExpChTr0x014A::SaveActionData().
|
private |
Definition at line 346 of file XclExpChangeTrack.hxx.
Referenced by GetDateTime(), and XclExpChTrAction().
|
private |
Definition at line 350 of file XclExpChangeTrack.hxx.
Referenced by GetAccepted(), and SaveCont().
|
protected |
Definition at line 357 of file XclExpChangeTrack.hxx.
Referenced by ForceInfoRecord(), and XclExpChTrInsertTab::XclExpChTrInsertTab().
|
private |
Definition at line 347 of file XclExpChangeTrack.hxx.
Referenced by GetActionNumber(), SaveCont(), and SetIndex().
|
protected |
Definition at line 355 of file XclExpChangeTrack.hxx.
Referenced by SaveCont(), XclExpChTr0x014A::XclExpChTr0x014A(), XclExpChTrCellContent::XclExpChTrCellContent(), XclExpChTrInsert::XclExpChTrInsert(), XclExpChTrInsertTab::XclExpChTrInsertTab(), and XclExpChTrMoveRange::XclExpChTrMoveRange().
|
protected |
Definition at line 356 of file XclExpChangeTrack.hxx.
Referenced by XclExpChTrInsert::CompleteSaveAction(), XclExpChTrInsert::PrepareSaveAction(), SaveCont(), XclExpChTrInsert::SaveXml(), XclExpChTr0x014A::XclExpChTr0x014A(), and XclExpChTrInsert::XclExpChTrInsert().
|
private |
Definition at line 349 of file XclExpChangeTrack.hxx.
Referenced by GetAddAction(), Save(), and SetAddAction().
|
protected |
Definition at line 354 of file XclExpChangeTrack.hxx.
Referenced by AddDependentContents(), GetTabId(), GetTabIdBuffer(), XclExpChTrCellContent::SaveActionData(), and XclExpChTrCellContent::UsesDeletedTab().
|
protected |
Definition at line 353 of file XclExpChangeTrack.hxx.
Referenced by GetTabId(), and IsDeletedTab().
|
private |
Definition at line 345 of file XclExpChangeTrack.hxx.
Referenced by GetUsername().