|
LibreOffice Module sc (master) 1
|
#include <chgtrack.hxx>
Public Member Functions | |
| ScChangeActionDel (const sal_uLong nActionNumber, const ScChangeActionState eState, const sal_uLong nRejectingNumber, const ScBigRange &aBigRange, const OUString &aUser, const DateTime &aDateTime, const OUString &sComment, const ScChangeActionType eType, const SCCOLROW nD, ScChangeTrack *pTrack) | |
| virtual | ~ScChangeActionDel () override |
| bool | IsBaseDelete () const |
| bool | IsTopDelete () const |
| bool | IsMultiDelete () const |
| bool | IsTabDeleteCol () const |
| SCCOL | GetDx () const |
| SCROW | GetDy () const |
| ScBigRange | GetOverAllRange () const |
| const ScChangeActionDelMoveEntry * | GetFirstMoveEntry () const |
| const ScChangeActionIns * | GetCutOffInsert () const |
| short | GetCutOffCount () const |
| virtual OUString | GetDescription (ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const override |
| void | SetCutOffInsert (ScChangeActionIns *p, short n) |
| ScChangeActionDelMoveEntry * | AddCutOffMove (ScChangeActionMove *pMove, short nFrom, short nTo) |
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 | |
| ScChangeActionDel (const ScDocument *pDoc, const ScRange &rRange, SCCOL nDx, SCROW nDy, ScChangeTrack *) | |
| virtual void | AddContent (ScChangeActionContent *) override |
| virtual void | DeleteCellEntries () override |
| void | UndoCutOffMoves () |
| void | UndoCutOffInsert () |
| 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 | |
| ScChangeTrack * | pTrack |
| std::vector< ScChangeActionContent * > | mvCells |
| ScChangeActionIns * | pCutOff |
| short | nCutOff |
| ScChangeActionDelMoveEntry * | pLinkMove |
| SCCOL | nDx |
| SCROW | nDy |
Friends | |
| class | ScChangeTrack |
| void | ScChangeAction::Accept () |
Definition at line 425 of file chgtrack.hxx.
|
private |
Definition at line 731 of file chgtrack.cxx.
References ScChangeAction::aBigRange, ScRange::aEnd, ScBigRange::aEnd, ScRange::aStart, ScBigRange::aStart, ScAddress::Col(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScBigRange::nRangeMax, ScBigRange::nRangeMin, ScAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, ScBigAddress::SetCol(), ScBigAddress::SetRow(), and ScChangeAction::SetType().
| ScChangeActionDel::ScChangeActionDel | ( | const sal_uLong | nActionNumber, |
| const ScChangeActionState | eState, | ||
| const sal_uLong | nRejectingNumber, | ||
| const ScBigRange & | aBigRange, | ||
| const OUString & | aUser, | ||
| const DateTime & | aDateTime, | ||
| const OUString & | sComment, | ||
| const ScChangeActionType | eType, | ||
| const SCCOLROW | nD, | ||
| ScChangeTrack * | pTrack | ||
| ) |
Definition at line 767 of file chgtrack.cxx.
References ScChangeAction::eType, nDx, nDy, SC_CAT_DELETE_COLS, and SC_CAT_DELETE_ROWS.
|
overridevirtual |
Definition at line 786 of file chgtrack.cxx.
References DeleteCellEntries(), and pLinkMove.
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 796 of file chgtrack.cxx.
References mvCells.
Referenced by ScChangeTrack::UpdateReference().
| ScChangeActionDelMoveEntry * ScChangeActionDel::AddCutOffMove | ( | ScChangeActionMove * | pMove, |
| short | nFrom, | ||
| short | nTo | ||
| ) |
Definition at line 842 of file chgtrack.cxx.
References pLinkMove.
Referenced by ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), and ScChangeTrack::UpdateReference().
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 801 of file chgtrack.cxx.
References ScChangeTrack::DeleteCellEntries(), mvCells, and pTrack.
Referenced by ~ScChangeActionDel().
|
inlineoverrideprivatevirtual |
|
inline |
Definition at line 483 of file chgtrack.hxx.
References nCutOff.
Referenced by ScChangeTrackingExportHelper::WriteCutOffs().
|
inline |
Definition at line 482 of file chgtrack.hxx.
References pCutOff.
Referenced by ScChangeTrackingExportHelper::WriteCutOffs().
|
overridevirtual |
Reimplemented from ScChangeAction.
Definition at line 895 of file chgtrack.cxx.
References ScBigRange::aEnd, ScBigRange::aStart, ScBigAddress::Col(), ScChangeAction::GetBigRange(), ScChangeAction::GetDescription(), GetDx(), GetDy(), ScChangeAction::GetRefString(), ScChangeAction::GetType(), ScChangeAction::IsRejected(), nPos, ScBigAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, ScResId(), ScBigAddress::SetCol(), and ScBigAddress::SetRow().
|
inline |
Definition at line 476 of file chgtrack.hxx.
References nDx.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrack::Clone(), GetDescription(), GetOverAllRange(), IsBaseDelete(), IsMultiDelete(), and Reject().
|
inline |
Definition at line 477 of file chgtrack.hxx.
References nDy.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrack::Clone(), GetDescription(), GetOverAllRange(), IsBaseDelete(), IsMultiDelete(), and Reject().
|
inline |
Definition at line 480 of file chgtrack.hxx.
References pLinkMove.
Referenced by ScChangeTrackingExportHelper::WriteCutOffs().
| ScBigRange ScChangeActionDel::GetOverAllRange | ( | ) | const |
Definition at line 887 of file chgtrack.cxx.
References ScBigRange::aEnd, ScBigAddress::Col(), ScChangeAction::GetBigRange(), GetDx(), GetDy(), ScBigAddress::Row(), ScBigAddress::SetCol(), and ScBigAddress::SetRow().
Referenced by ScDocShell::MergeDocument(), ScChangeTrack::Reject(), and Reject().
| bool ScChangeActionDel::IsBaseDelete | ( | ) | const |
Definition at line 806 of file chgtrack.cxx.
References GetDx(), and GetDy().
Referenced by IsTopDelete(), and ScChangeTrack::Reject().
| bool ScChangeActionDel::IsMultiDelete | ( | ) | const |
Definition at line 819 of file chgtrack.cxx.
References ScChangeAction::aBigRange, ScChangeAction::GetBigRange(), GetDx(), GetDy(), ScChangeAction::GetNext(), ScChangeAction::GetType(), and p.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), and ScChangeAction::IsMasterDelete().
| bool ScChangeActionDel::IsTabDeleteCol | ( | ) | const |
Definition at line 831 of file chgtrack.cxx.
References ScChangeAction::GetType(), IsTopDelete(), p, SC_CAT_DELETE_COLS, and SC_CAT_DELETE_TABS.
Referenced by ScDocShell::MergeDocument().
| bool ScChangeActionDel::IsTopDelete | ( | ) | const |
Definition at line 811 of file chgtrack.cxx.
References ScChangeAction::GetNext(), ScChangeAction::GetType(), IsBaseDelete(), and p.
Referenced by ScChangeTrack::GetDependents(), ScChangeAction::IsMasterDelete(), IsTabDeleteCol(), ScDocShell::MergeDocument(), and Reject().
|
overrideprivatevirtual |
Implements ScChangeAction.
Definition at line 937 of file chgtrack.cxx.
References ScChangeAction::aBigRange, ScRange::aEnd, aName, ScRange::aStart, ScBigRange::aStart, ScDocument::CanInsertCol(), ScDocument::CanInsertRow(), ScAddress::Col(), ScDocument::CreateValidTabName(), GetDx(), GetDy(), ScDocument::GetMaxTableNumber(), GetOverAllRange(), ScChangeAction::GetType(), ScDocument::InsertCol(), ScDocument::InsertRow(), ScDocument::InsertTab(), IsTopDelete(), ScBigRange::IsValid(), ScBigRange::MakeRange(), ScDocument::MaxCol(), pTrack, ScChangeAction::RejectRestoreContents(), ScChangeAction::RemoveAllLinks(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, ScChangeTrack::SetInDelete(), ScChangeTrack::SetInDeleteRange(), ScChangeTrack::SetInDeleteTop(), ScChangeTrack::SetInDeleteUndo(), ScAddress::Tab(), ScBigAddress::Tab(), and ScDocument::ValidNewTabName().
Referenced by ScChangeTrack::Reject().
|
inline |
Definition at line 488 of file chgtrack.hxx.
References n, nCutOff, p, and pCutOff.
Referenced by ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), UndoCutOffInsert(), and ScChangeTrack::UpdateReference().
|
private |
Definition at line 1056 of file chgtrack.cxx.
References ScBigRange::aEnd, ScBigRange::aStart, ScChangeAction::GetBigRange(), ScChangeAction::GetType(), ScBigAddress::IncCol(), ScBigAddress::IncRow(), ScBigAddress::IncTab(), nCutOff, pCutOff, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, and SetCutOffInsert().
Referenced by ScChangeTrack::UpdateReference().
|
private |
Definition at line 1007 of file chgtrack.cxx.
References ScBigRange::aEnd, ScBigRange::aStart, ScChangeAction::GetBigRange(), ScChangeActionDelMoveEntry::GetCutOffFrom(), ScChangeActionDelMoveEntry::GetCutOffTo(), ScChangeActionMove::GetFromRange(), ScChangeActionDelMoveEntry::GetMove(), ScChangeAction::GetType(), ScBigAddress::IncCol(), ScBigAddress::IncRow(), ScBigAddress::IncTab(), pLinkMove, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, and SC_CAT_DELETE_TABS.
Referenced by ScChangeTrack::UpdateReference().
|
overrideprivatevirtual |
Reimplemented from ScChangeAction.
Definition at line 848 of file chgtrack.cxx.
References eMode, ScChangeAction::GetBigRange(), ScChangeActionLinkEntry::GetNext(), ScChangeAction::GetType(), ScChangeAction::IsDeletedIn(), p, ScChangeAction::pLinkDeleted, SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, and ScRefUpdate::Update().
|
friend |
|
friend |
Definition at line 427 of file chgtrack.hxx.
|
private |
Definition at line 431 of file chgtrack.hxx.
Referenced by AddContent(), and DeleteCellEntries().
|
private |
Definition at line 433 of file chgtrack.hxx.
Referenced by GetCutOffCount(), SetCutOffInsert(), and UndoCutOffInsert().
|
private |
Definition at line 435 of file chgtrack.hxx.
Referenced by GetDx(), and ScChangeActionDel().
|
private |
Definition at line 436 of file chgtrack.hxx.
Referenced by GetDy(), and ScChangeActionDel().
|
private |
Definition at line 432 of file chgtrack.hxx.
Referenced by GetCutOffInsert(), SetCutOffInsert(), and UndoCutOffInsert().
|
private |
Definition at line 434 of file chgtrack.hxx.
Referenced by AddCutOffMove(), GetFirstMoveEntry(), UndoCutOffMoves(), and ~ScChangeActionDel().
|
private |
Definition at line 430 of file chgtrack.hxx.
Referenced by DeleteCellEntries(), GetChangeTrack(), and Reject().