LibreOffice Module sc (master) 1
|
#include <chgtrack.hxx>
Public Member Functions | |
ScChangeActionMove (const sal_uLong nActionNumber, const ScChangeActionState eState, const sal_uLong nRejectingNumber, const ScBigRange &aToBigRange, const OUString &aUser, const DateTime &aDateTime, const OUString &sComment, ScBigRange aFromBigRange, ScChangeTrack *pTrack) | |
const ScBigRange & | GetFromRange () const |
SC_DLLPUBLIC void | GetDelta (sal_Int32 &nDx, sal_Int32 &nDy, sal_Int32 &nDz) const |
virtual OUString | GetDescription (ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const override |
virtual OUString | GetRefString (ScDocument &rDoc, bool bFlag3D=false) const override |
Public Member Functions inherited from ScChangeAction | |
virtual | ~ScChangeAction () |
bool | IsInsertType () const |
bool | IsDeleteType () const |
bool | IsVirgin () const |
SC_DLLPUBLIC bool | IsAccepted () const |
bool | IsRejected () const |
bool | IsRejecting () const |
bool | IsVisible () const |
bool | IsTouchable () const |
bool | IsDialogRoot () const |
bool | IsDialogParent () const |
bool | IsMasterDelete () const |
bool | IsClickable () const |
bool | IsRejectable () const |
const ScBigRange & | GetBigRange () const |
SC_DLLPUBLIC DateTime | GetDateTime () const |
const DateTime & | GetDateTimeUTC () const |
ScChangeActionType | GetType () const |
ScChangeActionState | GetState () const |
sal_uLong | GetActionNumber () const |
sal_uLong | GetRejectAction () const |
ScChangeAction * | GetNext () const |
ScChangeAction * | GetPrev () const |
bool | IsDeletedIn () const |
bool | IsDeletedIn (const ScChangeAction *) const |
bool | IsDeletedInDelType (ScChangeActionType) const |
void | RemoveAllDeletedIn () |
const ScChangeActionLinkEntry * | GetFirstDeletedEntry () const |
const ScChangeActionLinkEntry * | GetFirstDependentEntry () const |
bool | HasDependent () const |
bool | HasDeleted () const |
virtual OUString | GetDescription (ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const |
virtual OUString | GetRefString (ScDocument &rDoc, bool bFlag3D=false) const |
void | SetDateTimeUTC (const DateTime &rDT) |
const OUString & | GetUser () const |
const OUString & | GetComment () const |
void | SetComment (const OUString &rStr) |
void | SetDeletedInThis (sal_uLong nActionNumber, const ScChangeTrack *pTrack) |
void | AddDependent (sal_uLong nActionNumber, const ScChangeTrack *pTrack) |
Private Member Functions | |
ScChangeActionMove (const ScRange &rFromRange, const ScRange &rToRange, ScChangeTrack *pTrackP) | |
virtual | ~ScChangeActionMove () override |
virtual void | AddContent (ScChangeActionContent *) override |
virtual void | DeleteCellEntries () override |
ScBigRange & | GetFromRange () |
void | SetStartLastCut (sal_uLong nVal) |
sal_uLong | GetStartLastCut () const |
void | SetEndLastCut (sal_uLong nVal) |
sal_uLong | GetEndLastCut () const |
virtual void | UpdateReference (const ScChangeTrack *, UpdateRefMode, const ScBigRange &, sal_Int32 nDx, sal_Int32 nDy, sal_Int32 nDz) override |
virtual bool | Reject (ScDocument &rDoc) override |
virtual const ScChangeTrack * | GetChangeTrack () const override |
Private Attributes | |
ScBigRange | aFromRange |
ScChangeTrack * | pTrack |
std::vector< ScChangeActionContent * > | mvCells |
sal_uLong | nStartLastCut |
sal_uLong | nEndLastCut |
Friends | |
class | ScChangeTrack |
struct | std::default_delete< ScChangeActionMove > |
class | ScChangeActionDel |
Additional Inherited Members | |
Protected Attributes inherited from ScChangeAction | |
ScBigRange | aBigRange |
DateTime | aDateTime |
OUString | aUser |
UTC. More... | |
OUString | aComment |
ScChangeAction * | pNext |
ScChangeAction * | pPrev |
ScChangeActionLinkEntry * | pLinkAny |
ScChangeActionLinkEntry * | pLinkDeletedIn |
ScChangeActionLinkEntry * | pLinkDeleted |
ScChangeActionLinkEntry * | pLinkDependent |
sal_uLong | nAction |
sal_uLong | nRejectAction |
ScChangeActionType | eType |
ScChangeActionState | eState |
Definition at line 498 of file chgtrack.hxx.
|
inlineprivate |
Definition at line 510 of file chgtrack.hxx.
|
overrideprivatevirtual |
Definition at line 1104 of file chgtrack.cxx.
References DeleteCellEntries().
ScChangeActionMove::ScChangeActionMove | ( | const sal_uLong | nActionNumber, |
const ScChangeActionState | eState, | ||
const sal_uLong | nRejectingNumber, | ||
const ScBigRange & | aToBigRange, | ||
const OUString & | aUser, | ||
const DateTime & | aDateTime, | ||
const OUString & | sComment, | ||
ScBigRange | aFromBigRange, | ||
ScChangeTrack * | pTrack | ||
) |
Definition at line 1090 of file chgtrack.cxx.
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 1109 of file chgtrack.cxx.
References mvCells.
Referenced by ScChangeTrack::UpdateReference().
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 1114 of file chgtrack.cxx.
References ScChangeTrack::DeleteCellEntries(), mvCells, and pTrack.
Referenced by ~ScChangeActionMove().
|
inlineoverrideprivatevirtual |
void ScChangeActionMove::GetDelta | ( | sal_Int32 & | nDx, |
sal_Int32 & | nDy, | ||
sal_Int32 & | nDz | ||
) | const |
Definition at line 1127 of file chgtrack.cxx.
References ScBigRange::aStart, ScBigAddress::Col(), ScChangeAction::GetBigRange(), GetFromRange(), ScBigAddress::Row(), and ScBigAddress::Tab().
Referenced by XclExpChTrMoveRange::XclExpChTrMoveRange().
|
overridevirtual |
Reimplemented from ScChangeAction.
Definition at line 1136 of file chgtrack.cxx.
References ScBigRange::aStart, ScChangeAction::GetBigRange(), ScChangeAction::GetDescription(), GetFromRange(), ScChangeAction::GetRefString(), nPos, ScResId(), and ScBigAddress::Tab().
|
inlineprivate |
Definition at line 529 of file chgtrack.hxx.
References nEndLastCut.
Referenced by ScChangeTrack::Undo().
|
inlineprivate |
Definition at line 524 of file chgtrack.hxx.
References aFromRange.
Referenced by ScChangeTrack::Dependencies(), GetDelta(), GetDescription(), GetRefString(), ScDocShell::MergeDocument(), ScChangeTrack::Reject(), ScChangeTrack::Undo(), ScChangeActionDel::UndoCutOffMoves(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WriteMovement().
|
inline |
Definition at line 553 of file chgtrack.hxx.
References aFromRange.
|
protected |
Definition at line 219 of file chgtrack.cxx.
References ScChangeAction::IsRejected().
|
protectedvirtual |
Reimplemented from ScChangeAction.
Definition at line 340 of file chgtrack.cxx.
|
overridevirtual |
Reimplemented from ScChangeAction.
Definition at line 1163 of file chgtrack.cxx.
References ScBigRange::aStart, ScChangeAction::GetBigRange(), GetFromRange(), ScChangeAction::GetRefString(), and ScBigAddress::Tab().
|
inlineprivate |
Definition at line 527 of file chgtrack.hxx.
References nStartLastCut.
Referenced by ScChangeTrack::Undo().
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 1173 of file chgtrack.cxx.
References ScChangeAction::aBigRange, ScRange::aEnd, aFromRange, ALL, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScDocument::DeleteAreaTab(), ScChangeTrack::DeleteGeneratedDelContent(), ScChangeActionLinkEntry::GetAction(), ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScDocument::IsBlockEditable(), ScChangeAction::IsDeletedIn(), ScChangeTrack::IsGenerated(), ScBigAddress::IsValid(), ScBigRange::IsValid(), ScChangeTrack::LookUpContents(), ScBigRange::MakeRange(), sc::RefUpdateContext::maRange, sc::RefUpdateContext::meMode, sc::RefUpdateContext::mnColDelta, sc::RefUpdateContext::mnRowDelta, sc::RefUpdateContext::mnTabDelta, p, ScChangeAction::pLinkDependent, pTrack, ScChangeActionContent::PutNewValueToDoc(), ScChangeAction::RejectRestoreContents(), ScChangeAction::RemoveAllDependent(), ScChangeAction::RemoveAllLinks(), ScAddress::Row(), SC_CAT_CONTENT, ScAddress::Tab(), ScChangeActionLinkEntry::UnLink(), ScDocument::UpdateReference(), and URM_MOVE.
|
inlineprivate |
Definition at line 528 of file chgtrack.hxx.
References nEndLastCut.
|
inlineprivate |
Definition at line 526 of file chgtrack.hxx.
References nStartLastCut.
|
overrideprivatevirtual |
Reimplemented from ScChangeAction.
Definition at line 1119 of file chgtrack.cxx.
References aFromRange, eMode, ScChangeAction::GetBigRange(), and ScRefUpdate::Update().
|
friend |
Definition at line 502 of file chgtrack.hxx.
|
friend |
Definition at line 500 of file chgtrack.hxx.
|
friend |
Definition at line 500 of file chgtrack.hxx.
|
private |
Definition at line 504 of file chgtrack.hxx.
Referenced by GetFromRange(), Reject(), and UpdateReference().
|
private |
Definition at line 506 of file chgtrack.hxx.
Referenced by AddContent(), and DeleteCellEntries().
|
private |
Definition at line 508 of file chgtrack.hxx.
Referenced by GetEndLastCut(), and SetEndLastCut().
|
private |
Definition at line 507 of file chgtrack.hxx.
Referenced by GetStartLastCut(), and SetStartLastCut().
|
private |
Definition at line 505 of file chgtrack.hxx.
Referenced by DeleteCellEntries(), GetChangeTrack(), and Reject().