|
LibreOffice Module sc (master) 1
|
#include <XclExpChangeTrack.hxx>
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 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 | 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 () |
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 XclExpTabInfo & | rTabInfo |
| const XclExpChTrTabIdBuffer & | rIdBuffer |
| sal_uInt32 | nLength |
| sal_uInt16 | nOpCode |
| bool | bForceInfo |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
| oslInterlockedCount | m_nCount |
Definition at line 564 of file XclExpChangeTrack.hxx.
| XclExpChTrMoveRange::XclExpChTrMoveRange | ( | const ScChangeActionMove & | rAction, |
| const XclExpRoot & | rRoot, | ||
| const XclExpChTrTabIdBuffer & | rTabIdBuffer, | ||
| const ScChangeTrack & | rChangeTrack | ||
| ) |
Definition at line 1294 of file XclExpChangeTrack.cxx.
References XclExpChTrAction::AddDependentContents(), aDestRange, ScRange::aEnd, aSourceRange, ScRange::aStart, ScChangeActionMove::GetDelta(), ScAddress::IncCol(), ScAddress::IncRow(), ScAddress::IncTab(), and XclExpChTrAction::nLength.
|
overridevirtual |
Definition at line 1315 of file XclExpChangeTrack.cxx.
|
overrideprivatevirtual |
Reimplemented from XclExpChTrAction.
Definition at line 1339 of file XclExpChangeTrack.cxx.
References rStrm, and ExcRecord::Save().
|
overridevirtual |
Implements XclExpChTrAction.
Definition at line 1349 of file XclExpChangeTrack.cxx.
|
overridevirtual |
Implements ExcRecord.
Definition at line 1344 of file XclExpChangeTrack.cxx.
|
overrideprivatevirtual |
Reimplemented from XclExpChTrAction.
Definition at line 1334 of file XclExpChangeTrack.cxx.
References rStrm, and ExcRecord::Save().
|
overrideprivatevirtual |
Implements XclExpChTrAction.
Definition at line 1325 of file XclExpChangeTrack.cxx.
References aDestRange, aSourceRange, ScRange::aStart, rStrm, ScAddress::Tab(), XclExpChTrAction::Write2DRange(), and XclExpChTrAction::WriteTabId().
|
overridevirtual |
Reimplemented from ExcRecord.
Definition at line 1354 of file XclExpChangeTrack.cxx.
References aDestRange, aSourceRange, ScRange::aStart, XclExpChTrAction::GetAccepted(), XclExpChTrAction::GetActionNumber(), XclExpChTrAction::GetAddAction(), XclExpXmlStream::GetCurrentStream(), XclRoot::GetDoc(), XclExpXmlStream::GetRoot(), XclExpChTrAction::GetTabId(), XclExpChTrAction::IsDeletedTab(), SAL_WARN, ExcRecord::SaveXml(), ScAddress::Tab(), and XclXmlUtils::ToOString().
|
overrideprivatevirtual |
Implements XclExpChTrAction.
Definition at line 1319 of file XclExpChangeTrack.cxx.
References aDestRange, aSourceRange, ScRange::aStart, XclExpChTrAction::IsDeletedTab(), and ScAddress::Tab().
|
private |
Definition at line 567 of file XclExpChangeTrack.hxx.
Referenced by SaveActionData(), SaveXml(), UsesDeletedTab(), and XclExpChTrMoveRange().
|
private |
Definition at line 566 of file XclExpChangeTrack.hxx.
Referenced by SaveActionData(), SaveXml(), UsesDeletedTab(), and XclExpChTrMoveRange().