LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
ScChangeTrack Class Reference

#include <chgtrack.hxx>

Inheritance diagram for ScChangeTrack:
[legend]
Collaboration diagram for ScChangeTrack:
[legend]

Public Member Functions

SCSIZE ComputeContentSlot (sal_Int32 nRow) const
 
SC_DLLPUBLIC ScChangeTrack (ScDocument *)
 
 ScChangeTrack (ScDocument *pDocP, const std::set< OUString > &aTempUserCollection)
 
virtual SC_DLLPUBLIC ~ScChangeTrack () override
 
void Clear ()
 
ScChangeActionContentGetFirstGenerated () const
 
ScChangeActionGetFirst () const
 
ScChangeActionGetLast () const
 
sal_uLong GetActionMax () const
 
bool IsGenerated (sal_uLong nAction) const
 
SC_DLLPUBLIC ScChangeActionGetAction (sal_uLong nAction) const
 
ScChangeActionGetGenerated (sal_uLong nGenerated) const
 
ScChangeActionGetActionOrGenerated (sal_uLong nAction) const
 
sal_uLong GetLastSavedActionNumber () const
 
void SetLastSavedActionNumber (sal_uLong nNew)
 
ScChangeActionGetLastSaved () const
 
ScChangeActionContent ** GetContentSlots () const
 
const ScRangeGetInDeleteRange () const
 
bool IsInDelete () const
 
bool IsInDeleteTop () const
 
bool IsInDeleteUndo () const
 
bool IsInPasteCut () const
 
SC_DLLPUBLIC void SetUser (const OUString &rUser)
 
const OUString & GetUser () const
 
const std::set< OUString > & GetUserCollection () const
 
ScDocumentGetDocument () const
 
const DateTimeGetFixDateTime () const
 
void SetUseFixDateTime (bool bVal)
 
void SetFixDateTimeUTC (const DateTime &rDT)
 
void SetFixDateTimeLocal (const DateTime &rDT)
 
void Append (ScChangeAction *)
 
SC_DLLPUBLIC void AppendDeleteRange (const ScRange &, ScDocument *pRefDoc, sal_uLong &nStartAction, sal_uLong &nEndAction, SCTAB nDz=0)
 
void AppendContent (const ScAddress &rPos, const ScDocument *pRefDoc)
 
void AppendContentRange (const ScRange &rRange, ScDocument *pRefDoc, sal_uLong &nStartAction, sal_uLong &nEndAction, ScChangeActionClipMode eMode=SC_CACM_NONE)
 
void AppendContent (const ScAddress &rPos, const ScCellValue &rOldCell, sal_uLong nOldFormat, ScDocument *pRefDoc=nullptr)
 
SC_DLLPUBLIC void AppendContent (const ScAddress &rPos, const ScCellValue &rOldCell)
 
void AppendContentsIfInRefDoc (ScDocument *pRefDoc, sal_uLong &nStartAction, sal_uLong &nEndAction)
 
SC_DLLPUBLIC ScChangeActionContentAppendContentOnTheFly (const ScAddress &rPos, const ScCellValue &rOldCell, const ScCellValue &rNewCell, sal_uLong nOldFormat=0, sal_uLong nNewFormat=0)
 
SC_DLLPUBLIC void AppendInsert (const ScRange &rRange, bool bEndOfList=false)
 
SC_DLLPUBLIC void AppendMove (const ScRange &rFromRange, const ScRange &rToRange, ScDocument *pRefDoc)
 
void ResetLastCut ()
 
bool HasLastCut () const
 
SC_DLLPUBLIC void Undo (sal_uLong nStartAction, sal_uLong nEndAction, bool bMerge=false)
 
void MergePrepare (const ScChangeAction *pFirstMerge, bool bShared)
 may only be used in a temporary opened document. More...
 
void MergeOwn (ScChangeAction *pAct, sal_uLong nFirstMerge, bool bShared)
 
SC_DLLPUBLIC void GetDependents (ScChangeAction *, ScChangeActionMap &, bool bListMasterDelete=false, bool bAllFlat=false) const
 
bool Reject (ScChangeAction *, bool bShared=false)
 
SC_DLLPUBLIC bool Accept (ScChangeAction *)
 
void AcceptAll ()
 
bool RejectAll ()
 
bool SelectContent (ScChangeAction *, bool bOldest=false)
 
void SetModifiedLink (const Link< ScChangeTrack &, void > &r)
 
ScChangeTrackMsgQueueGetMsgQueue ()
 
void NotifyModified (ScChangeTrackMsgType eMsgType, sal_uLong nStartAction, sal_uLong nEndAction)
 
sal_uLong AddLoadedGenerated (const ScCellValue &rNewCell, const ScBigRange &aBigRange, const OUString &sNewValue)
 
void AppendLoaded (std::unique_ptr< ScChangeAction > pAppend)
 
void SetActionMax (sal_uLong nTempActionMax)
 
void SetProtection (const css::uno::Sequence< sal_Int8 > &rPass)
 
const css::uno::Sequence< sal_Int8 > & GetProtection () const
 
bool IsProtected () const
 
void SetTimeNanoSeconds (bool bVal)
 
bool IsTimeNanoSeconds () const
 
void AppendCloned (ScChangeAction *pAppend)
 
SC_DLLPUBLIC ScChangeTrackClone (ScDocument *pDocument) const
 
void GetChangeTrackInfo (tools::JsonWriter &)
 Get info about all ScChangeAction elements. More...
 
- Public Member Functions inherited from utl::ConfigurationListener
virtual ~ConfigurationListener ()
 

Static Public Member Functions

static bool MergeIgnore (const ScChangeAction &, sal_uLong nFirstMerge)
 
static void MergeActionState (ScChangeAction *pAct, const ScChangeAction *pOtherAct)
 

Private Member Functions

 ScChangeTrack (const ScChangeTrack &)=delete
 
ScChangeTrackoperator= (const ScChangeTrack &)=delete
 
SCROW InitContentRowsPerSlot ()
 
void Init ()
 
void DtorClear ()
 
void SetInDeleteRange (const ScRange &rRange)
 
void SetInDelete (bool bVal)
 
void SetInDeleteTop (bool bVal)
 
void SetInDeleteUndo (bool bVal)
 
void SetInPasteCut (bool bVal)
 
void SetMergeState (ScChangeTrackMergeState eState)
 
ScChangeTrackMergeState GetMergeState () const
 
void SetLastMerge (sal_uLong nVal)
 
sal_uLong GetLastMerge () const
 
void SetLastCutMoveRange (const ScRange &, ScDocument *)
 
void StartBlockModify (ScChangeTrackMsgType, sal_uLong nStartAction)
 
void EndBlockModify (sal_uLong nEndAction)
 
void AddDependentWithNotify (ScChangeAction *pParent, ScChangeAction *pDependent)
 
void Dependencies (ScChangeAction *)
 
void UpdateReference (ScChangeAction *, bool bUndo)
 
void UpdateReference (ScChangeAction **ppFirstAction, ScChangeAction *pAct, bool bUndo)
 
void Append (ScChangeAction *pAppend, sal_uLong nAction)
 
SC_DLLPUBLIC void AppendDeleteRange (const ScRange &, ScDocument *pRefDoc, SCTAB nDz, sal_uLong nRejectingInsert)
 
void AppendOneDeleteRange (const ScRange &rOrgRange, ScDocument *pRefDoc, SCCOL nDx, SCROW nDy, SCTAB nDz, sal_uLong nRejectingInsert)
 
void LookUpContents (const ScRange &rOrgRange, ScDocument *pRefDoc, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void Remove (ScChangeAction *)
 
void MasterLinks (ScChangeAction *)
 
ScChangeActionContentSearchContentAt (const ScBigAddress &, const ScChangeAction *pButNotThis) const
 
void DeleteGeneratedDelContent (ScChangeActionContent *)
 
ScChangeActionContentGenerateDelContent (const ScAddress &rPos, const ScCellValue &rCell, const ScDocument *pFromDoc)
 
void DeleteCellEntries (std::vector< ScChangeActionContent * > &, const ScChangeAction *pDeletor)
 
bool Reject (ScChangeAction *, ScChangeActionMap *, bool bRecursion)
 
bool IsLastAction (sal_uLong nNum) const
 
void ClearMsgQueue ()
 
virtual void ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override
 

Static Private Member Functions

static bool IsMatrixFormulaRangeDifferent (const ScCellValue &rOldCell, const ScCellValue &rNewCell)
 

Private Attributes

SCROW mnContentRowsPerSlot
 
SCSIZE mnContentSlots
 
css::uno::Sequence< sal_Int8aProtectPass
 
ScChangeActionMap aMap
 
ScChangeActionMap aGeneratedMap
 
ScChangeActionMap aPasteCutMap
 
ScChangeTrackMsgQueue aMsgQueue
 
ScChangeTrackMsgStack aMsgStackTmp
 
ScChangeTrackMsgStack aMsgStackFinal
 
std::set< OUString > maUserCollection
 
OUString maUser
 
Link< ScChangeTrack &, voidaModifiedLink
 
ScRange aInDeleteRange
 
DateTime aFixDateTime
 
ScChangeActionpFirst
 
ScChangeActionpLast
 
ScChangeActionContentpFirstGeneratedDelContent
 
std::unique_ptr< ScChangeActionContent *[]> ppContentSlots
 
std::unique_ptr< ScChangeActionMovepLastCutMove
 
ScChangeActionLinkEntrypLinkInsertCol
 
ScChangeActionLinkEntrypLinkInsertRow
 
ScChangeActionLinkEntrypLinkInsertTab
 
ScChangeActionLinkEntrypLinkMove
 
std::optional< ScChangeTrackMsgInfoxBlockModifyMsg
 
ScDocumentpDoc
 
sal_uLong nActionMax
 
sal_uLong nGeneratedMin
 
sal_uLong nMarkLastSaved
 
sal_uLong nStartLastCut
 
sal_uLong nEndLastCut
 
sal_uLong nLastMerge
 
ScChangeTrackMergeState eMergeState
 
bool bInDelete:1
 
bool bInDeleteUndo:1
 
bool bInDeleteTop:1
 
bool bInPasteCut:1
 
bool bUseFixDateTime:1
 
bool bTimeNanoSeconds:1
 

Friends

void ScChangeAction::RejectRestoreContents (ScChangeTrack *, SCCOL, SCROW)
 
bool ScChangeActionDel::Reject (ScDocument *pDoc)
 
void ScChangeActionDel::DeleteCellEntries ()
 
void ScChangeActionMove::DeleteCellEntries ()
 
bool ScChangeActionMove::Reject (ScDocument *pDoc)
 

Detailed Description

Definition at line 821 of file chgtrack.hxx.

Constructor & Destructor Documentation

ScChangeTrack::ScChangeTrack ( const ScChangeTrack )
privatedelete

Referenced by Clone().

ScChangeTrack::ScChangeTrack ( ScDocument pDocP)

Definition at line 2055 of file chgtrack.cxx.

References Init(), mnContentSlots, ppContentSlots, and SC_MOD.

ScChangeTrack::ScChangeTrack ( ScDocument pDocP,
const std::set< OUString > &  aTempUserCollection 
)

Definition at line 2066 of file chgtrack.cxx.

References Init(), mnContentSlots, ppContentSlots, and SC_MOD.

ScChangeTrack::~ScChangeTrack ( )
overridevirtual

Definition at line 2077 of file chgtrack.cxx.

References DtorClear(), and SC_MOD.

Member Function Documentation

bool ScChangeTrack::Accept ( ScChangeAction pAct)
void ScChangeTrack::AcceptAll ( )

Definition at line 4124 of file chgtrack.cxx.

References GetFirst(), and p.

Referenced by IMPL_LINK_NOARG().

void ScChangeTrack::AddDependentWithNotify ( ScChangeAction pParent,
ScChangeAction pDependent 
)
private
sal_uLong ScChangeTrack::AddLoadedGenerated ( const ScCellValue rNewCell,
const ScBigRange aBigRange,
const OUString &  sNewValue 
)
void ScChangeTrack::Append ( ScChangeAction pAppend,
sal_uLong  nAction 
)
private
void ScChangeTrack::Append ( ScChangeAction pAppend)

Definition at line 2431 of file chgtrack.cxx.

References Append(), and nActionMax.

void ScChangeTrack::AppendCloned ( ScChangeAction pAppend)
void ScChangeTrack::AppendContent ( const ScAddress rPos,
const ScDocument pRefDoc 
)
void ScChangeTrack::AppendContent ( const ScAddress rPos,
const ScCellValue rOldCell,
sal_uLong  nOldFormat,
ScDocument pRefDoc = nullptr 
)
void ScChangeTrack::AppendContent ( const ScAddress rPos,
const ScCellValue rOldCell 
)
ScChangeActionContent * ScChangeTrack::AppendContentOnTheFly ( const ScAddress rPos,
const ScCellValue rOldCell,
const ScCellValue rNewCell,
sal_uLong  nOldFormat = 0,
sal_uLong  nNewFormat = 0 
)

Definition at line 2796 of file chgtrack.cxx.

References Append(), pDoc, and ScChangeActionContent::SetOldNewCells().

void ScChangeTrack::AppendContentRange ( const ScRange rRange,
ScDocument pRefDoc,
sal_uLong nStartAction,
sal_uLong nEndAction,
ScChangeActionClipMode  eMode = SC_CACM_NONE 
)
void ScChangeTrack::AppendContentsIfInRefDoc ( ScDocument pRefDoc,
sal_uLong nStartAction,
sal_uLong nEndAction 
)
void ScChangeTrack::AppendDeleteRange ( const ScRange rRange,
ScDocument pRefDoc,
SCTAB  nDz,
sal_uLong  nRejectingInsert 
)
private
void ScChangeTrack::AppendDeleteRange ( const ScRange rRange,
ScDocument pRefDoc,
sal_uLong nStartAction,
sal_uLong nEndAction,
SCTAB  nDz = 0 
)

Definition at line 2436 of file chgtrack.cxx.

References AppendDeleteRange(), and GetActionMax().

void ScChangeTrack::AppendInsert ( const ScRange rRange,
bool  bEndOfList = false 
)
void ScChangeTrack::AppendLoaded ( std::unique_ptr< ScChangeAction pAppend)
void ScChangeTrack::AppendMove ( const ScRange rFromRange,
const ScRange rToRange,
ScDocument pRefDoc 
)
void ScChangeTrack::AppendOneDeleteRange ( const ScRange rOrgRange,
ScDocument pRefDoc,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz,
sal_uLong  nRejectingInsert 
)
private
void ScChangeTrack::Clear ( )

Definition at line 2150 of file chgtrack.cxx.

References aGeneratedMap, aMap, aPasteCutMap, DtorClear(), Init(), maUser, and maUserCollection.

Referenced by ScDocShell::MergeDocument().

void ScChangeTrack::ClearMsgQueue ( )
private

Definition at line 2142 of file chgtrack.cxx.

References aMsgQueue, aMsgStackFinal, aMsgStackTmp, and xBlockModifyMsg.

Referenced by DtorClear().

ScChangeTrack * ScChangeTrack::Clone ( ScDocument pDocument) const
SCSIZE ScChangeTrack::ComputeContentSlot ( sal_Int32  nRow) const
void ScChangeTrack::ConfigurationChanged ( utl::ConfigurationBroadcaster ,
ConfigurationHints   
)
overrideprivatevirtual
void ScChangeTrack::DeleteCellEntries ( std::vector< ScChangeActionContent * > &  rCellList,
const ScChangeAction pDeletor 
)
private
void ScChangeTrack::DeleteGeneratedDelContent ( ScChangeActionContent pContent)
private
void ScChangeTrack::Dependencies ( ScChangeAction pAct)
private
void ScChangeTrack::DtorClear ( )
private
void ScChangeTrack::EndBlockModify ( sal_uLong  nEndAction)
private
ScChangeActionContent * ScChangeTrack::GenerateDelContent ( const ScAddress rPos,
const ScCellValue rCell,
const ScDocument pFromDoc 
)
private
ScChangeAction * ScChangeTrack::GetAction ( sal_uLong  nAction) const
sal_uLong ScChangeTrack::GetActionMax ( ) const
inline
ScChangeAction * ScChangeTrack::GetActionOrGenerated ( sal_uLong  nAction) const
void ScChangeTrack::GetChangeTrackInfo ( tools::JsonWriter aRedlines)

Get info about all ScChangeAction elements.

Definition at line 4710 of file chgtrack.cxx.

References GetFirst(), GetLast(), ScChangeAction::GetNext(), i, lcl_getTrackedChange(), pDoc, and tools::JsonWriter::startNode().

ScChangeActionContent** ScChangeTrack::GetContentSlots ( ) const
inline

Definition at line 969 of file chgtrack.hxx.

Referenced by ScChangeActionContent::UpdateReference().

void ScChangeTrack::GetDependents ( ScChangeAction pAct,
ScChangeActionMap rMap,
bool  bListMasterDelete = false,
bool  bAllFlat = false 
) const
ScDocument* ScChangeTrack::GetDocument ( ) const
inline
ScChangeAction* ScChangeTrack::GetFirst ( ) const
inline
ScChangeActionContent* ScChangeTrack::GetFirstGenerated ( ) const
inline

Definition at line 958 of file chgtrack.hxx.

Referenced by Clone(), and ScChangeTrackingExportHelper::CollectAutoStyles().

const DateTime& ScChangeTrack::GetFixDateTime ( ) const
inline

Definition at line 982 of file chgtrack.hxx.

ScChangeAction * ScChangeTrack::GetGenerated ( sal_uLong  nGenerated) const

Definition at line 2175 of file chgtrack.cxx.

References aGeneratedMap.

Referenced by GetActionOrGenerated().

const ScRange& ScChangeTrack::GetInDeleteRange ( ) const
inline

Definition at line 971 of file chgtrack.hxx.

Referenced by ScChangeActionContent::UpdateReference().

ScChangeAction* ScChangeTrack::GetLast ( ) const
inline
sal_uLong ScChangeTrack::GetLastMerge ( ) const
inlineprivate

Definition at line 895 of file chgtrack.hxx.

Referenced by UpdateReference().

ScChangeAction * ScChangeTrack::GetLastSaved ( ) const

Definition at line 2200 of file chgtrack.cxx.

References aMap, and nMarkLastSaved.

Referenced by ScChangeViewSettings::AdjustDateMode().

sal_uLong ScChangeTrack::GetLastSavedActionNumber ( ) const

Definition at line 2190 of file chgtrack.cxx.

References nMarkLastSaved.

Referenced by ScViewUtil::IsActionShown().

ScChangeTrackMergeState ScChangeTrack::GetMergeState ( ) const
inlineprivate

Definition at line 893 of file chgtrack.hxx.

Referenced by UpdateReference().

ScChangeTrackMsgQueue & ScChangeTrack::GetMsgQueue ( )

Definition at line 2290 of file chgtrack.cxx.

References aMsgQueue.

const css::uno::Sequence< sal_Int8 >& ScChangeTrack::GetProtection ( ) const
inline
const OUString& ScChangeTrack::GetUser ( ) const
inline
const std::set<OUString>& ScChangeTrack::GetUserCollection ( ) const
inline
bool ScChangeTrack::HasLastCut ( ) const
inline

Definition at line 1059 of file chgtrack.hxx.

Referenced by AppendContentRange().

void ScChangeTrack::Init ( void  )
private
SCROW ScChangeTrack::InitContentRowsPerSlot ( )
private

Definition at line 2046 of file chgtrack.cxx.

References ScSheetLimits::GetMaxRowCount(), ScDocument::GetSheetLimits(), and pDoc.

Referenced by Init().

bool ScChangeTrack::IsGenerated ( sal_uLong  nAction) const
bool ScChangeTrack::IsInDelete ( ) const
inline

Definition at line 973 of file chgtrack.hxx.

Referenced by ScChangeActionContent::UpdateReference().

bool ScChangeTrack::IsInDeleteTop ( ) const
inline

Definition at line 974 of file chgtrack.hxx.

Referenced by ScChangeActionContent::UpdateReference().

bool ScChangeTrack::IsInDeleteUndo ( ) const
inline
bool ScChangeTrack::IsInPasteCut ( ) const
inline

Definition at line 976 of file chgtrack.hxx.

Referenced by Remove(), and Undo().

bool ScChangeTrack::IsLastAction ( sal_uLong  nNum) const
private

Definition at line 4375 of file chgtrack.cxx.

References ScChangeAction::GetActionNumber(), nActionMax, and pLast.

Referenced by Undo().

bool ScChangeTrack::IsMatrixFormulaRangeDifferent ( const ScCellValue rOldCell,
const ScCellValue rNewCell 
)
staticprivate
bool ScChangeTrack::IsProtected ( ) const
inline
bool ScChangeTrack::IsTimeNanoSeconds ( ) const
inline
void ScChangeTrack::LookUpContents ( const ScRange rOrgRange,
ScDocument pRefDoc,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)
private
void ScChangeTrack::MasterLinks ( ScChangeAction pAppend)
private
void ScChangeTrack::MergeActionState ( ScChangeAction pAct,
const ScChangeAction pOtherAct 
)
static
bool ScChangeTrack::MergeIgnore ( const ScChangeAction rAction,
sal_uLong  nFirstMerge 
)
static
void ScChangeTrack::MergeOwn ( ScChangeAction pAct,
sal_uLong  nFirstMerge,
bool  bShared 
)
void ScChangeTrack::MergePrepare ( const ScChangeAction pFirstMerge,
bool  bShared 
)
void ScChangeTrack::NotifyModified ( ScChangeTrackMsgType  eMsgType,
sal_uLong  nStartAction,
sal_uLong  nEndAction 
)
ScChangeTrack& ScChangeTrack::operator= ( const ScChangeTrack )
privatedelete
bool ScChangeTrack::Reject ( ScChangeAction pAct,
ScChangeActionMap pMap,
bool  bRecursion 
)
private
bool ScChangeTrack::Reject ( ScChangeAction pAct,
bool  bShared = false 
)
bool ScChangeTrack::RejectAll ( )

Definition at line 4152 of file chgtrack.cxx.

References GetLast(), p, and Reject().

Referenced by IMPL_LINK_NOARG().

void ScChangeTrack::Remove ( ScChangeAction pRemove)
private
void ScChangeTrack::ResetLastCut ( )
inline
ScChangeActionContent * ScChangeTrack::SearchContentAt ( const ScBigAddress rPos,
const ScChangeAction pButNotThis 
) const
private
bool ScChangeTrack::SelectContent ( ScChangeAction pAct,
bool  bOldest = false 
)
void ScChangeTrack::SetActionMax ( sal_uLong  nTempActionMax)
inline

Definition at line 1126 of file chgtrack.hxx.

Referenced by ScXMLChangeTrackingImportHelper::CreateChangeTrack().

void ScChangeTrack::SetFixDateTimeLocal ( const DateTime rDT)
inline

Definition at line 993 of file chgtrack.hxx.

References DateTime::ConvertToUTC().

void ScChangeTrack::SetFixDateTimeUTC ( const DateTime rDT)
inline

Definition at line 990 of file chgtrack.hxx.

Referenced by ScDocShell::MergeDocument().

void ScChangeTrack::SetInDelete ( bool  bVal)
inlineprivate

Definition at line 883 of file chgtrack.hxx.

Referenced by ScChangeActionDel::Reject(), and UpdateReference().

void ScChangeTrack::SetInDeleteRange ( const ScRange rRange)
inlineprivate
void ScChangeTrack::SetInDeleteTop ( bool  bVal)
inlineprivate
void ScChangeTrack::SetInDeleteUndo ( bool  bVal)
inlineprivate

Definition at line 887 of file chgtrack.hxx.

Referenced by ScChangeActionDel::Reject(), and UpdateReference().

void ScChangeTrack::SetInPasteCut ( bool  bVal)
inlineprivate

Definition at line 889 of file chgtrack.hxx.

Referenced by AppendContentRange().

void ScChangeTrack::SetLastCutMoveRange ( const ScRange rRange,
ScDocument pRefDoc 
)
private
void ScChangeTrack::SetLastMerge ( sal_uLong  nVal)
inlineprivate

Definition at line 894 of file chgtrack.hxx.

Referenced by MergePrepare().

void ScChangeTrack::SetLastSavedActionNumber ( sal_uLong  nNew)

Definition at line 2195 of file chgtrack.cxx.

References nMarkLastSaved.

Referenced by ScXMLChangeTrackingImportHelper::CreateChangeTrack().

void ScChangeTrack::SetMergeState ( ScChangeTrackMergeState  eState)
inlineprivate

Definition at line 891 of file chgtrack.hxx.

Referenced by MergeOwn(), MergePrepare(), and Undo().

void ScChangeTrack::SetModifiedLink ( const Link< ScChangeTrack &, void > &  r)
inline
void ScChangeTrack::SetProtection ( const css::uno::Sequence< sal_Int8 > &  rPass)
inline
void ScChangeTrack::SetTimeNanoSeconds ( bool  bVal)
inline
void ScChangeTrack::SetUseFixDateTime ( bool  bVal)
inline

Definition at line 987 of file chgtrack.hxx.

Referenced by ScDocShell::MergeDocument().

void ScChangeTrack::SetUser ( const OUString &  rUser)
void ScChangeTrack::StartBlockModify ( ScChangeTrackMsgType  eMsgType,
sal_uLong  nStartAction 
)
private
void ScChangeTrack::Undo ( sal_uLong  nStartAction,
sal_uLong  nEndAction,
bool  bMerge = false 
)
void ScChangeTrack::UpdateReference ( ScChangeAction pAct,
bool  bUndo 
)
private
void ScChangeTrack::UpdateReference ( ScChangeAction **  ppFirstAction,
ScChangeAction pAct,
bool  bUndo 
)
private

Definition at line 3288 of file chgtrack.cxx.

References ScChangeActionDel::AddContent(), ScChangeActionMove::AddContent(), ScChangeActionDel::AddCutOffMove(), ScChangeAction::AddDependent(), AddDependentWithNotify(), ScChangeAction::AddLink(), ScBigRange::aEnd, ScBigRange::aStart, ScBigAddress::Col(), eMode, ScChangeActionLinkEntry::GetAction(), ScChangeAction::GetActionNumber(), ScChangeAction::GetBigRange(), ScChangeAction::GetFirstDependentEntry(), ScChangeActionMove::GetFromRange(), GetLastMerge(), GetMergeState(), ScChangeActionLinkEntry::GetNext(), ScChangeActionContent::GetNextContent(), ScChangeActionContent::GetPrevContent(), ScChangeAction::GetType(), ScBigRange::In(), ScBigAddress::IncCol(), ScBigAddress::IncRow(), ScBigAddress::IncTab(), ScBigRange::Intersects(), ScChangeAction::IsDeletedIn(), ScChangeAction::IsDeleteType(), ScChangeAction::IsInsertType(), ScChangeAction::IsRejected(), nEndLastCut, nInt32Max, p, pFirstGeneratedDelContent, pLastCutMove, pLink, ScChangeAction::RemoveDeletedIn(), ScBigAddress::Row(), SC_CAT_CONTENT, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, SC_CAT_MOVE, SC_CAT_NONE, SC_CTMS_NONE, SC_CTMS_OTHER, SC_CTMS_OWN, SC_CTMS_PREPARE, SC_CTMS_UNDO, ScBigAddress::SetCol(), ScChangeActionDel::SetCutOffInsert(), ScChangeAction::SetDeletedIn(), ScChangeActionContent::SetNextContent(), ScChangeActionContent::SetPrevContent(), ScBigAddress::SetRow(), ScBigAddress::SetTab(), ScBigAddress::Tab(), ScChangeActionDel::UndoCutOffInsert(), ScChangeActionDel::UndoCutOffMoves(), URM_INSDEL, and URM_MOVE.

Friends And Related Function Documentation

bool ScChangeActionDel::Reject ( ScDocument pDoc)
friend
bool ScChangeActionMove::Reject ( ScDocument pDoc)
friend

Member Data Documentation

DateTime ScChangeTrack::aFixDateTime
private

Definition at line 843 of file chgtrack.hxx.

Referenced by Append().

ScChangeActionMap ScChangeTrack::aGeneratedMap
private
ScRange ScChangeTrack::aInDeleteRange
private

Definition at line 842 of file chgtrack.hxx.

ScChangeActionMap ScChangeTrack::aMap
private

Definition at line 833 of file chgtrack.hxx.

Referenced by Append(), AppendCloned(), AppendLoaded(), Clear(), GetAction(), GetLastSaved(), Remove(), and Undo().

Link<ScChangeTrack&,void> ScChangeTrack::aModifiedLink
private
ScChangeTrackMsgQueue ScChangeTrack::aMsgQueue
private

Definition at line 836 of file chgtrack.hxx.

Referenced by ClearMsgQueue(), EndBlockModify(), and GetMsgQueue().

ScChangeTrackMsgStack ScChangeTrack::aMsgStackFinal
private

Definition at line 838 of file chgtrack.hxx.

Referenced by ClearMsgQueue(), and EndBlockModify().

ScChangeTrackMsgStack ScChangeTrack::aMsgStackTmp
private

Definition at line 837 of file chgtrack.hxx.

Referenced by ClearMsgQueue(), EndBlockModify(), and StartBlockModify().

ScChangeActionMap ScChangeTrack::aPasteCutMap
private

Definition at line 835 of file chgtrack.hxx.

Referenced by Clear(), DtorClear(), and Undo().

css::uno::Sequence< sal_Int8 > ScChangeTrack::aProtectPass
private

Definition at line 832 of file chgtrack.hxx.

bool ScChangeTrack::bInDelete
private

Definition at line 862 of file chgtrack.hxx.

Referenced by Init().

bool ScChangeTrack::bInDeleteTop
private

Definition at line 864 of file chgtrack.hxx.

Referenced by Init().

bool ScChangeTrack::bInDeleteUndo
private

Definition at line 863 of file chgtrack.hxx.

Referenced by Init().

bool ScChangeTrack::bInPasteCut
private

Definition at line 865 of file chgtrack.hxx.

Referenced by Init().

bool ScChangeTrack::bTimeNanoSeconds
private

Definition at line 867 of file chgtrack.hxx.

Referenced by Init().

bool ScChangeTrack::bUseFixDateTime
private

Definition at line 866 of file chgtrack.hxx.

Referenced by Append(), and Init().

ScChangeTrackMergeState ScChangeTrack::eMergeState
private

Definition at line 861 of file chgtrack.hxx.

Referenced by Init().

OUString ScChangeTrack::maUser
private

Definition at line 840 of file chgtrack.hxx.

Referenced by Append(), Clear(), Init(), and SetUser().

std::set<OUString> ScChangeTrack::maUserCollection
private

Definition at line 839 of file chgtrack.hxx.

Referenced by Clear(), ConfigurationChanged(), Init(), and SetUser().

SCROW ScChangeTrack::mnContentRowsPerSlot
private

Definition at line 829 of file chgtrack.hxx.

Referenced by ComputeContentSlot(), and Init().

SCSIZE ScChangeTrack::mnContentSlots
private

Definition at line 830 of file chgtrack.hxx.

Referenced by ComputeContentSlot(), Init(), and ScChangeTrack().

sal_uLong ScChangeTrack::nActionMax
private

Definition at line 855 of file chgtrack.hxx.

Referenced by Append(), Init(), IsLastAction(), Remove(), and Undo().

sal_uLong ScChangeTrack::nEndLastCut
private

Definition at line 859 of file chgtrack.hxx.

Referenced by AppendContentRange(), Init(), Undo(), and UpdateReference().

sal_uLong ScChangeTrack::nGeneratedMin
private
sal_uLong ScChangeTrack::nLastMerge
private

Definition at line 860 of file chgtrack.hxx.

Referenced by Init().

sal_uLong ScChangeTrack::nMarkLastSaved
private
sal_uLong ScChangeTrack::nStartLastCut
private

Definition at line 858 of file chgtrack.hxx.

Referenced by AppendContentRange(), Init(), and Undo().

ScDocument* ScChangeTrack::pDoc
private
ScChangeAction* ScChangeTrack::pFirst
private

Definition at line 844 of file chgtrack.hxx.

Referenced by Append(), AppendCloned(), AppendLoaded(), Init(), Remove(), and UpdateReference().

ScChangeActionContent* ScChangeTrack::pFirstGeneratedDelContent
private
ScChangeAction* ScChangeTrack::pLast
private

Definition at line 845 of file chgtrack.hxx.

Referenced by Append(), AppendCloned(), AppendLoaded(), Init(), IsLastAction(), Remove(), and Undo().

std::unique_ptr<ScChangeActionMove> ScChangeTrack::pLastCutMove
private
ScChangeActionLinkEntry* ScChangeTrack::pLinkInsertCol
private

Definition at line 849 of file chgtrack.hxx.

Referenced by Dependencies(), Init(), and MasterLinks().

ScChangeActionLinkEntry* ScChangeTrack::pLinkInsertRow
private

Definition at line 850 of file chgtrack.hxx.

Referenced by Dependencies(), Init(), and MasterLinks().

ScChangeActionLinkEntry* ScChangeTrack::pLinkInsertTab
private

Definition at line 851 of file chgtrack.hxx.

Referenced by Dependencies(), Init(), and MasterLinks().

ScChangeActionLinkEntry* ScChangeTrack::pLinkMove
private

Definition at line 852 of file chgtrack.hxx.

Referenced by Dependencies(), Init(), and MasterLinks().

std::unique_ptr<ScChangeActionContent*[]> ScChangeTrack::ppContentSlots
private

Definition at line 847 of file chgtrack.hxx.

Referenced by MasterLinks(), ScChangeTrack(), and SearchContentAt().

std::optional<ScChangeTrackMsgInfo> ScChangeTrack::xBlockModifyMsg
private

Definition at line 853 of file chgtrack.hxx.

Referenced by ClearMsgQueue(), EndBlockModify(), Init(), NotifyModified(), and StartBlockModify().


The documentation for this class was generated from the following files: