LibreOffice Module sc (master)
1
|
#include <chgtrack.hxx>
Public Member Functions | |
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 void | GetDescription (OUString &rStr, ScDocument &rDoc, bool bSplitRange=false, bool bWarning=true) const |
virtual void | GetRefString (OUString &rStr, 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) |
Protected Attributes | |
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 |
Private Member Functions | |
ScChangeAction (const ScChangeAction &)=delete | |
ScChangeAction & | operator= (const ScChangeAction &)=delete |
Friends | |
class | ScChangeTrack |
class | ScChangeActionIns |
class | ScChangeActionDel |
class | ScChangeActionMove |
class | ScChangeActionContent |
Definition at line 178 of file chgtrack.hxx.
|
privatedelete |
|
protected |
Definition at line 47 of file chgtrack.cxx.
References aDateTime, DateTime::ConvertToUTC(), and eType.
|
protected |
Definition at line 65 of file chgtrack.cxx.
References eType.
|
protected |
Definition at line 87 of file chgtrack.cxx.
References aDateTime, DateTime::ConvertToUTC(), and eType.
|
virtual |
Definition at line 106 of file chgtrack.cxx.
References RemoveAllLinks().
|
protected |
Definition at line 567 of file chgtrack.cxx.
References DeleteCellEntries(), IsVirgin(), SC_CAS_ACCEPTED, and SetState().
Referenced by ScChangeTrack::Accept(), and ScChangeTrack::MergeActionState().
|
protectedpure virtual |
Implemented in ScChangeActionReject, ScChangeActionContent, ScChangeActionMove, ScChangeActionDel, and ScChangeActionIns.
|
inlineprotected |
Definition at line 249 of file chgtrack.hxx.
Referenced by SetDeletedIn().
|
inlineprotected |
Definition at line 254 of file chgtrack.hxx.
Referenced by AddDependent(), ScChangeTrack::AddDependentWithNotify(), ScChangeTrack::Clone(), ScXMLChangeTrackingImportHelper::SetDependencies(), and ScChangeTrack::UpdateReference().
void ScChangeAction::AddDependent | ( | sal_uLong | nActionNumber, |
const ScChangeTrack * | pTrack | ||
) |
Definition at line 626 of file chgtrack.cxx.
References AddDependent(), AddLink(), ScChangeTrack::GetActionOrGenerated(), and pLink.
|
inlineprotected |
Definition at line 234 of file chgtrack.hxx.
References ScChangeActionLinkEntry::SetLink().
Referenced by AddDependent(), ScChangeTrack::AddDependentWithNotify(), ScChangeTrack::Clone(), ScChangeTrack::MasterLinks(), and ScChangeTrack::UpdateReference().
|
protectedpure virtual |
Implemented in ScChangeActionReject, ScChangeActionContent, ScChangeActionMove, ScChangeActionDel, and ScChangeActionIns.
Referenced by Accept(), ScChangeTrack::MergePrepare(), RejectRestoreContents(), and SetRejected().
|
inline |
Definition at line 320 of file chgtrack.hxx.
References nAction.
Referenced by ScChangeTrack::AddDependentWithNotify(), ScChangeTrack::AddLoadedGenerated(), ScChangeTrack::Append(), ScAcceptChgDlg::AppendChangeAction(), ScChangeTrack::AppendCloned(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::AppendLoaded(), ScChangeTrack::Clone(), ScChangeTrackingExportHelper::CollectActionAutoStyles(), ScXMLChangeTrackingImportHelper::CreateChangeTrack(), ScChangeTrack::DeleteGeneratedDelContent(), ScConflictsFinder::Find(), ScDocument::GetCellChangeTrackNote(), ScChangeTrack::GetDependents(), ScConflictsResolver::HandleAction(), ScAcceptChgDlg::InsertChangeActionContent(), ScAcceptChgDlg::InsertContentChildren(), ScViewUtil::IsActionShown(), ScChangeTrack::IsLastAction(), lcl_Equal(), lcl_FindAction(), ScChangeTrack::MasterLinks(), ScDocShell::MergeDocument(), ScChangeTrack::MergePrepare(), ScDocShell::MergeSharedDocument(), ScChangeActionMove::Reject(), ScChangeTrack::Reject(), ScChangeTrack::Remove(), ScChangeActionContent::Select(), ScDocShell::SetChangeComment(), ScGridWindow::ShowNoteMarker(), ScChangeTrack::Undo(), ScAcceptChgDlg::UpdateEntries(), ScChangeTrack::UpdateReference(), ScConflictsDlg::UpdateView(), ScChangeTrackingExportHelper::WorkWithChangeAction(), ScChangeTrackingExportHelper::WriteContentChange(), ScChangeTrackingExportHelper::WriteCutOffs(), ScChangeTrackingExportHelper::WriteDeleted(), ScChangeTrackingExportHelper::WriteDepending(), and ScChangeTrackingExportHelper::WriteGenerated().
|
inlineprotected |
Definition at line 232 of file chgtrack.hxx.
References aBigRange.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrackingExportHelper::AddInsertionAttributes(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::Clone(), ScChangeTrack::Dependencies(), ScConflictsFinder::DoActionsIntersect(), ScOutputData::DrawChangeTrack(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScConflictsDlg::GetConflictString(), ScChangeActionMove::GetDelta(), ScChangeActionIns::GetDescription(), ScChangeActionDel::GetDescription(), ScChangeActionMove::GetDescription(), ScChangeActionDel::GetOverAllRange(), GetRefString(), ScChangeActionMove::GetRefString(), ScChangeActionContent::GetRefString(), ScAcceptChgDlg::InsertChangeActionContent(), ScViewUtil::IsActionShown(), ScDocument::IsCellInChangeTrack(), ScChangeActionDel::IsMultiDelete(), ScAcceptChgDlg::IsValidAction(), lcl_FindAction(), ScChangeTrack::MasterLinks(), ScDocShell::MergeDocument(), ScChangeActionMove::Reject(), ScChangeTrack::Reject(), ScRedComDialog::SelectCell(), ScChangeTrack::SelectContent(), ScGridWindow::ShowNoteMarker(), ScChangeActionDel::UndoCutOffInsert(), ScChangeActionDel::UndoCutOffMoves(), UpdateReference(), ScChangeActionDel::UpdateReference(), ScChangeActionMove::UpdateReference(), ScChangeTrack::UpdateReference(), ScChangeTrackingExportHelper::WriteContentChange(), ScChangeTrackingExportHelper::WriteGenerated(), ScChangeTrackingExportHelper::WriteMovement(), and XclExpChangeTrack::XclExpChangeTrack().
|
inline |
Definition at line 314 of file chgtrack.hxx.
References aBigRange.
|
protectedpure virtual |
Implemented in ScChangeActionReject, ScChangeActionContent, ScChangeActionMove, ScChangeActionDel, and ScChangeActionIns.
Referenced by GetDescription().
|
inline |
Definition at line 353 of file chgtrack.hxx.
References aComment.
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::Clone(), ScDocShell::ExecuteChangeCommentDialog(), ScDocument::GetCellChangeTrackNote(), ScAcceptChgDlg::InsertChangeActionContent(), ScViewUtil::IsActionShown(), ScAcceptChgDlg::IsValidAction(), lcl_getTrackedChange(), ScDocShell::MergeDocument(), ScRedComDialog::ReInit(), ScGridWindow::ShowNoteMarker(), and ScChangeTrackingExportHelper::WriteChangeInfo().
DateTime ScChangeAction::GetDateTime | ( | ) | const |
Definition at line 405 of file chgtrack.cxx.
References aDateTime, and DateTime::ConvertToLocalTime().
Referenced by ScChangeViewSettings::AdjustDateMode(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScDocShell::ExecuteChangeCommentDialog(), ScDocument::GetCellChangeTrackNote(), ScAcceptChgDlg::InsertChangeActionContent(), ScViewUtil::IsActionShown(), ScAcceptChgDlg::IsValidAction(), ScRedComDialog::ReInit(), ScConflictsDlg::SetActionString(), and ScGridWindow::ShowNoteMarker().
|
inline |
Definition at line 316 of file chgtrack.hxx.
References aDateTime.
Referenced by ScChangeTrack::Clone(), lcl_Equal(), lcl_FindAction(), lcl_getTrackedChange(), ScDocShell::MergeDocument(), and ScChangeTrackingExportHelper::WriteChangeInfo().
|
inlineprotectedvirtual |
Reimplemented in ScChangeActionContent.
Definition at line 242 of file chgtrack.hxx.
References pLinkDeletedIn.
Referenced by IsDeletedIn(), IsDeletedInDelType(), and RemoveDeletedIn().
|
inlineprotectedvirtual |
Reimplemented in ScChangeActionContent.
Definition at line 244 of file chgtrack.hxx.
References pLinkDeletedIn.
Referenced by SetDeletedIn().
|
virtual |
Reimplemented in ScChangeActionContent, ScChangeActionMove, ScChangeActionDel, and ScChangeActionIns.
Definition at line 419 of file chgtrack.cxx.
References aBuf, aMap, ScChangeTrack::GetActionOrGenerated(), GetChangeTrack(), ScChangeTrack::GetDependents(), GetRejectAction(), GetType(), HasDependent(), IsDeleteType(), IsInsertType(), IsRejecting(), SC_CAT_MOVE, and ScResId().
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScDocument::GetCellChangeTrackNote(), ScChangeActionIns::GetDescription(), ScChangeActionDel::GetDescription(), ScChangeActionMove::GetDescription(), ScChangeActionContent::GetDescription(), ScViewUtil::IsActionShown(), ScAcceptChgDlg::IsValidAction(), lcl_FindAction(), lcl_getTrackedChange(), ScRedComDialog::ReInit(), ScConflictsDlg::SetActionString(), and ScGridWindow::ShowNoteMarker().
|
inline |
Definition at line 331 of file chgtrack.hxx.
References pLinkDeleted.
Referenced by ScChangeTrack::Clone(), ScChangeTrack::GetDependents(), and ScChangeTrackingExportHelper::WriteDependings().
|
inline |
Definition at line 333 of file chgtrack.hxx.
References pLinkDependent.
Referenced by ScChangeTrack::Clone(), ScChangeTrack::GetDependents(), IsClickable(), ScChangeActionContent::Select(), ScChangeTrack::SelectContent(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WriteDependings().
|
inline |
Definition at line 323 of file chgtrack.hxx.
References pNext.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrack::Clone(), ScChangeTrackingExportHelper::CollectAndWriteChanges(), ScChangeTrackingExportHelper::CollectAutoStyles(), ScOutputData::DrawChangeTrack(), ScChangeTrack::DtorClear(), ScConflictsFinder::Find(), ScRedComDialog::FindNext(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScChangeTrack::GetChangeTrackInfo(), ScAcceptChgDlg::InsertAcceptedORejected(), ScDocument::IsCellInChangeTrack(), ScChangeActionDel::IsMultiDelete(), ScChangeActionDel::IsTabDeleteCol(), ScChangeActionDel::IsTopDelete(), lcl_FindAction(), ScDocShell::MergeDocument(), ScDocShell::MergeSharedDocument(), ScGridWindow::ShowNoteMarker(), and ScAcceptChgDlg::UpdateView().
|
inline |
Definition at line 324 of file chgtrack.hxx.
References pPrev.
Referenced by ScAcceptChgDlg::AcceptFiltered(), ScChangeTrack::Clone(), ScRedComDialog::FindPrev(), ScChangeTrack::GetDependents(), ScChangeTrack::MergePrepare(), ScDocShell::MergeSharedDocument(), ScChangeTrack::Reject(), ScAcceptChgDlg::RejectFiltered(), and XclExpChangeTrack::XclExpChangeTrack().
|
protected |
Definition at line 496 of file chgtrack.cxx.
References aBuf, ScDocument::GetAddressConvention(), ScDocument::GetName(), formula::FormulaCompiler::GetNativeSymbol(), GetType(), IsDeletedIn(), IsDeleteType(), ScBigRange::IsValid(), ScBigRange::MakeRange(), ocErrRef, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, ScColToAlpha(), TAB_3D, VALID, and ZERO.
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeActionIns::GetDescription(), ScChangeActionDel::GetDescription(), ScChangeActionMove::GetDescription(), GetRefString(), ScChangeActionMove::GetRefString(), and ScChangeActionContent::GetRefString().
|
virtual |
Reimplemented in ScChangeActionContent, and ScChangeActionMove.
Definition at line 561 of file chgtrack.cxx.
References GetBigRange(), and GetRefString().
|
inline |
Definition at line 321 of file chgtrack.hxx.
References nRejectAction.
Referenced by ScChangeTrack::Clone(), GetDescription(), ScChangeTrack::MergeActionState(), ScDocShell::MergeDocument(), ScChangeTrack::MergeIgnore(), and ScChangeTrackingExportHelper::WorkWithChangeAction().
|
inline |
Definition at line 319 of file chgtrack.hxx.
References eState.
Referenced by ScAcceptChgDlg::AppendChanges(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::Clone(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), ScAcceptChgDlg::InsertAcceptedORejected(), ScDocShell::MergeDocument(), and ScAcceptChgDlg::UpdateView().
|
inline |
Definition at line 318 of file chgtrack.hxx.
References eType.
Referenced by ScChangeTrack::Accept(), ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrackingExportHelper::AddInsertionAttributes(), ScChangeTrack::Append(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::Clone(), ScChangeTrackingExportHelper::CollectActionAutoStyles(), ScChangeTrack::Dependencies(), ScOutputData::DrawChangeTrack(), ScAcceptChgDlg::Expand(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScChangeTrack::GetDependents(), GetDescription(), ScChangeActionIns::GetDescription(), ScChangeActionDel::GetDescription(), GetRefString(), ScConflictsResolver::HandleAction(), IMPL_LINK(), IMPL_LINK_NOARG(), ScAcceptChgDlg::InsertContentChildren(), ScDocument::IsCellInChangeTrack(), IsClickable(), IsDeletedInDelType(), IsDialogParent(), IsInternalRejectable(), ScChangeActionDel::IsMultiDelete(), IsRejectable(), ScChangeActionDel::IsTabDeleteCol(), ScChangeActionDel::IsTopDelete(), IsTouchable(), ScAcceptChgDlg::IsValidAction(), IsVisible(), lcl_Equal(), lcl_FindAction(), lcl_getTrackedChange(), ScChangeTrack::MasterLinks(), ScDocShell::MergeDocument(), XclExpChangeTrack::PushActionRecord(), ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScChangeTrack::Reject(), RejectRestoreContents(), ScChangeTrack::Remove(), ScChangeTrack::SelectContent(), ScXMLChangeTrackingImportHelper::SetContentDependencies(), SetDeletedIn(), ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), ScXMLChangeTrackingImportHelper::SetDependencies(), ScGridWindow::ShowNoteMarker(), ScChangeTrack::Undo(), ScChangeActionDel::UndoCutOffInsert(), ScChangeActionDel::UndoCutOffMoves(), ScActionColorChanger::Update(), ScChangeActionDel::UpdateReference(), ScChangeTrack::UpdateReference(), ScConflictsDlg::UpdateView(), ScChangeTrackingExportHelper::WorkWithChangeAction(), ScChangeTrackingExportHelper::WriteDeleted(), XclExpChangeTrack::XclExpChangeTrack(), and XclExpChTrInsert::XclExpChTrInsert().
|
inline |
Definition at line 352 of file chgtrack.hxx.
References aUser.
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScChangeTrack::Clone(), ScDocShell::ExecuteChangeCommentDialog(), ScDocument::GetCellChangeTrackNote(), ScAcceptChgDlg::InsertChangeActionContent(), ScViewUtil::IsActionShown(), ScAcceptChgDlg::IsValidAction(), lcl_Equal(), lcl_FindAction(), lcl_getTrackedChange(), ScDocShell::MergeDocument(), ScRedComDialog::ReInit(), ScConflictsDlg::SetActionString(), ScGridWindow::ShowNoteMarker(), ScActionColorChanger::Update(), and ScChangeTrackingExportHelper::WriteChangeInfo().
bool ScChangeAction::HasDeleted | ( | ) | const |
Definition at line 380 of file chgtrack.cxx.
References pLinkDeleted.
Referenced by ScChangeTrack::Clone(), ScChangeTrack::GetDependents(), IsDialogParent(), and ScChangeTrackingExportHelper::WriteDependings().
bool ScChangeAction::HasDependent | ( | ) | const |
Definition at line 375 of file chgtrack.cxx.
References pLinkDependent.
Referenced by ScChangeTrack::Clone(), ScChangeTrack::GetDependents(), GetDescription(), IsDialogParent(), ScChangeTrack::Reject(), ScChangeTrack::SelectContent(), and ScChangeTrackingExportHelper::WriteDependings().
bool ScChangeAction::IsAccepted | ( | ) | const |
Definition at line 126 of file chgtrack.cxx.
References eState, and SC_CAS_ACCEPTED.
Referenced by ScChangeTrackingExportHelper::GetAcceptanceState(), ScViewUtil::IsActionShown(), and ScChangeTrack::MergeActionState().
bool ScChangeAction::IsClickable | ( | ) | const |
Definition at line 164 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), ScChangeActionContent::GetContentCellType(), GetFirstDependentEntry(), ScChangeActionLinkEntry::GetNext(), GetType(), IsDeletedIn(), IsTouchable(), IsVirgin(), p, SC_CACCT_MATORG, SC_CACCT_MATREF, and SC_CAT_CONTENT.
Referenced by ScChangeTrack::Accept(), ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), IMPL_LINK_NOARG(), ScAcceptChgDlg::InsertChangeActionContent(), ScAcceptChgDlg::InsertContentChildren(), IsRejectable(), and ScChangeTrack::SelectContent().
bool ScChangeAction::IsDeletedIn | ( | ) | const |
Definition at line 316 of file chgtrack.cxx.
References GetDeletedIn().
Referenced by ScChangeTrackingExportHelper::CollectActionAutoStyles(), ScChangeActionContent::GetFormulaString(), GetRefString(), ScChangeActionContent::GetRefString(), IsClickable(), IsDialogParent(), IsInternalRejectable(), IsTouchable(), IsVisible(), ScDocShell::MergeDocument(), ScChangeActionMove::Reject(), ScChangeTrack::Reject(), ScChangeTrack::SearchContentAt(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeActionDel::UpdateReference(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WriteDeleted().
bool ScChangeAction::IsDeletedIn | ( | const ScChangeAction * | p | ) | const |
Definition at line 321 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), and ScChangeActionLinkEntry::GetNext().
bool ScChangeAction::IsDeletedInDelType | ( | ScChangeActionType | eDelType | ) | const |
Definition at line 343 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), ScChangeActionLinkEntry::GetNext(), GetType(), p, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_DELETE_TABS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, and SC_CAT_NONE.
bool ScChangeAction::IsDeleteType | ( | ) | const |
Definition at line 116 of file chgtrack.cxx.
References eType, SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, and SC_CAT_DELETE_TABS.
Referenced by ScChangeTrack::Accept(), ScChangeTrack::GetDependents(), GetDescription(), GetRefString(), IsDialogParent(), IsMasterDelete(), ScChangeTrack::MergeOwn(), ScChangeTrack::MergePrepare(), ScChangeTrack::Reject(), ScChangeTrack::Undo(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WorkWithChangeAction().
bool ScChangeAction::IsDialogParent | ( | ) | const |
Definition at line 236 of file chgtrack.cxx.
References eType, ScChangeActionLinkEntry::GetAction(), ScChangeActionLinkEntry::GetNext(), GetType(), HasDeleted(), HasDependent(), IsDeletedIn(), IsDeleteType(), IsDialogRoot(), IsVirgin(), p, pLinkDeleted, and SC_CAT_CONTENT.
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendChanges(), ScAcceptChgDlg::AppendFilteredAction(), ScAcceptChgDlg::IsValidAction(), and ScAcceptChgDlg::UpdateView().
bool ScChangeAction::IsDialogRoot | ( | ) | const |
Definition at line 231 of file chgtrack.cxx.
References IsInternalRejectable().
Referenced by ScAcceptChgDlg::AcceptFiltered(), ScAcceptChgDlg::AppendChanges(), ScRedComDialog::FindNext(), ScRedComDialog::FindPrev(), IsDialogParent(), ScAcceptChgDlg::RejectFiltered(), and ScAcceptChgDlg::UpdateView().
bool ScChangeAction::IsInsertType | ( | ) | const |
Definition at line 111 of file chgtrack.cxx.
References eType, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, and SC_CAT_INSERT_TABS.
Referenced by ScChangeTrack::Append(), ScChangeTrack::Dependencies(), ScChangeTrack::GetDependents(), GetDescription(), ScChangeTrack::Reject(), ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WorkWithChangeAction().
|
protected |
Definition at line 213 of file chgtrack.cxx.
References GetType(), IsDeletedIn(), IsRejected(), IsTouchable(), IsVirgin(), and SC_CAT_CONTENT.
Referenced by IsDialogRoot(), and ScChangeTrack::Reject().
bool ScChangeAction::IsMasterDelete | ( | ) | const |
Definition at line 272 of file chgtrack.cxx.
References IsDeleteType(), ScChangeActionDel::IsMultiDelete(), IsRejectable(), and ScChangeActionDel::IsTopDelete().
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScAcceptChgDlg::GetDependents(), ScChangeTrack::GetDependents(), and ScAcceptChgDlg::IsValidAction().
bool ScChangeAction::IsRejectable | ( | ) | const |
Definition at line 195 of file chgtrack.cxx.
References GetType(), IsClickable(), IsRejected(), IsTouchable(), and SC_CAT_CONTENT.
Referenced by ScAcceptChgDlg::AppendChangeAction(), ScAcceptChgDlg::AppendFilteredAction(), ScAcceptChgDlg::InsertContentChildren(), IsMasterDelete(), and ScChangeTrack::Reject().
bool ScChangeAction::IsRejected | ( | ) | const |
Definition at line 131 of file chgtrack.cxx.
References eState, and SC_CAS_REJECTED.
Referenced by ScChangeTrack::Dependencies(), ScChangeTrackingExportHelper::GetAcceptanceState(), ScChangeTrack::GetDependents(), ScChangeActionDel::GetDescription(), IsInternalRejectable(), IsRejectable(), IsTouchable(), IsVisible(), ScChangeTrack::MergeActionState(), ScDocShell::MergeDocument(), ScChangeTrack::MergeIgnore(), and ScChangeTrack::UpdateReference().
bool ScChangeAction::IsRejecting | ( | ) | const |
Definition at line 136 of file chgtrack.cxx.
References nRejectAction.
Referenced by ScChangeTrack::Append(), ScChangeTrack::Dependencies(), GetDescription(), ScViewUtil::IsActionShown(), IsTouchable(), ScChangeTrack::MasterLinks(), ScChangeTrack::MergeActionState(), ScChangeTrack::MergeIgnore(), and ScChangeTrackingExportHelper::WorkWithChangeAction().
bool ScChangeAction::IsTouchable | ( | ) | const |
Definition at line 151 of file chgtrack.cxx.
References GetType(), IsDeletedIn(), IsRejected(), IsRejecting(), SC_CAT_CONTENT, and SC_CAT_REJECT.
Referenced by IsClickable(), IsInternalRejectable(), and IsRejectable().
bool ScChangeAction::IsVirgin | ( | ) | const |
Definition at line 121 of file chgtrack.cxx.
References eState, and SC_CAS_VIRGIN.
Referenced by Accept(), IsClickable(), IsDialogParent(), IsInternalRejectable(), ScChangeTrack::MergeActionState(), ScDocShell::MergeDocument(), ScChangeActionContent::Select(), ScChangeTrack::SelectContent(), and SetRejected().
bool ScChangeAction::IsVisible | ( | ) | const |
Definition at line 141 of file chgtrack.cxx.
References GetType(), IsDeletedIn(), IsRejected(), SC_CAT_CONTENT, and SC_CAT_DELETE_TABS.
Referenced by ScOutputData::DrawChangeTrack(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), IMPL_LINK_NOARG(), ScDocument::IsCellInChangeTrack(), and ScGridWindow::ShowNoteMarker().
|
privatedelete |
|
protectedpure virtual |
Implemented in ScChangeActionReject, ScChangeActionContent, ScChangeActionMove, ScChangeActionDel, and ScChangeActionIns.
Referenced by ScChangeTrack::Reject().
|
protected |
Definition at line 586 of file chgtrack.cxx.
References DeleteCellEntries(), ScChangeTrack::GetDocument(), ScChangeActionLinkEntry::GetNext(), GetType(), p, pContent, pLinkDeleted, SC_CAS_REJECTED, SC_CAT_CONTENT, SetState(), and ScChangeTrack::UpdateReference().
Referenced by ScChangeActionDel::Reject(), and ScChangeActionMove::Reject().
void ScChangeAction::RemoveAllDeletedIn | ( | ) |
Definition at line 333 of file chgtrack.cxx.
References pLinkDeletedIn.
Referenced by ScDocShell::MergeDocument(), ScChangeTrack::Reject(), and RemoveAllLinks().
|
protected |
Definition at line 396 of file chgtrack.cxx.
References pLinkDependent.
Referenced by ScChangeActionMove::Reject(), and RemoveAllLinks().
|
protected |
Definition at line 280 of file chgtrack.cxx.
References pLinkAny, pLinkDeleted, RemoveAllDeletedIn(), and RemoveAllDependent().
Referenced by ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScChangeActionContent::Reject(), ScChangeTrack::Remove(), SetRejected(), ScChangeTrack::Undo(), and ~ScChangeAction().
|
protected |
Definition at line 299 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), and ScChangeActionLinkEntry::GetNext().
Referenced by ScChangeTrack::UpdateReference().
Definition at line 225 of file chgtrack.hxx.
Referenced by ScChangeTrack::Append(), and ScChangeTrack::GenerateDelContent().
void ScChangeAction::SetComment | ( | const OUString & | rStr | ) |
Definition at line 556 of file chgtrack.cxx.
References aComment.
Referenced by ScDocShell::MergeDocument(), and ScDocShell::SetChangeComment().
Definition at line 349 of file chgtrack.hxx.
Referenced by ScChangeTrack::Append().
|
protected |
Definition at line 385 of file chgtrack.cxx.
References AddDeleted(), GetDeletedInAddress(), GetType(), SC_CAT_CONTENT, and ScChangeActionLinkEntry::SetLink().
Referenced by ScChangeTrack::Clone(), SetDeletedInThis(), and ScChangeTrack::UpdateReference().
void ScChangeAction::SetDeletedInThis | ( | sal_uLong | nActionNumber, |
const ScChangeTrack * | pTrack | ||
) |
Definition at line 614 of file chgtrack.cxx.
References ScChangeTrack::GetActionOrGenerated(), and SetDeletedIn().
Referenced by ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), ScXMLChangeTrackingImportHelper::SetDependencies(), and ScXMLChangeTrackingImportHelper::SetMovementDependencies().
Definition at line 226 of file chgtrack.hxx.
Referenced by ScChangeTrack::AppendOneDeleteRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::Reject(), and ScChangeActionContent::Select().
|
protected |
Definition at line 576 of file chgtrack.cxx.
References DeleteCellEntries(), IsVirgin(), RemoveAllLinks(), SC_CAS_REJECTED, and SetState().
Referenced by ScChangeTrack::MergeActionState(), and ScChangeActionContent::Select().
|
inlineprotected |
Definition at line 229 of file chgtrack.hxx.
Referenced by Accept(), ScChangeTrack::AppendOneDeleteRange(), ScChangeActionIns::Reject(), ScChangeActionContent::Reject(), ScChangeTrack::Reject(), RejectRestoreContents(), ScChangeActionContent::Select(), and SetRejected().
|
inlineprotected |
Definition at line 228 of file chgtrack.hxx.
Referenced by ScChangeActionDel::ScChangeActionDel(), and ScChangeActionIns::ScChangeActionIns().
|
protected |
Definition at line 551 of file chgtrack.cxx.
References aUser.
Referenced by ScChangeTrack::Append().
|
protectedvirtual |
Reimplemented in ScChangeActionContent, ScChangeActionMove, and ScChangeActionDel.
Definition at line 412 of file chgtrack.cxx.
References GetBigRange(), and ScRefUpdate::Update().
|
friend |
Definition at line 184 of file chgtrack.hxx.
|
friend |
Definition at line 182 of file chgtrack.hxx.
|
friend |
Definition at line 181 of file chgtrack.hxx.
|
friend |
Definition at line 183 of file chgtrack.hxx.
|
friend |
Definition at line 180 of file chgtrack.hxx.
|
protected |
Definition at line 191 of file chgtrack.hxx.
Referenced by GetBigRange(), ScChangeActionContent::GetFormulaString(), ScChangeActionDel::IsMultiDelete(), ScChangeActionContent::PutValueToDoc(), ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), ScChangeActionMove::Reject(), ScChangeActionContent::Reject(), ScChangeActionDel::ScChangeActionDel(), ScChangeActionIns::ScChangeActionIns(), ScChangeActionContent::Select(), ScChangeActionContent::SetNewValue(), ScChangeActionContent::SetOldValue(), ScChangeActionContent::SetValueString(), and ScChangeActionContent::UpdateReference().
|
protected |
Definition at line 194 of file chgtrack.hxx.
Referenced by GetComment(), and SetComment().
|
protected |
Definition at line 192 of file chgtrack.hxx.
Referenced by GetDateTime(), GetDateTimeUTC(), and ScChangeAction().
|
protected |
|
protected |
Definition at line 205 of file chgtrack.hxx.
Referenced by GetState(), IsAccepted(), IsRejected(), and IsVirgin().
|
protected |
Definition at line 204 of file chgtrack.hxx.
Referenced by GetType(), IsDeleteType(), IsDialogParent(), IsInsertType(), and ScChangeActionDel::ScChangeActionDel().
|
protected |
Definition at line 202 of file chgtrack.hxx.
Referenced by GetActionNumber().
|
protected |
Definition at line 203 of file chgtrack.hxx.
Referenced by GetRejectAction(), and IsRejecting().
|
protected |
Definition at line 197 of file chgtrack.hxx.
Referenced by RemoveAllLinks().
|
protected |
Definition at line 200 of file chgtrack.hxx.
Referenced by GetFirstDeletedEntry(), HasDeleted(), IsDialogParent(), RejectRestoreContents(), RemoveAllLinks(), and ScChangeActionDel::UpdateReference().
|
protected |
Definition at line 198 of file chgtrack.hxx.
Referenced by GetDeletedIn(), ScChangeActionContent::GetDeletedIn(), GetDeletedInAddress(), ScChangeActionContent::GetDeletedInAddress(), and RemoveAllDeletedIn().
|
protected |
Definition at line 201 of file chgtrack.hxx.
Referenced by GetFirstDependentEntry(), HasDependent(), ScChangeActionMove::Reject(), and RemoveAllDependent().
|
protected |
Definition at line 195 of file chgtrack.hxx.
Referenced by ScChangeTrack::AddLoadedGenerated(), ScChangeTrack::Append(), ScChangeTrack::AppendCloned(), ScChangeTrack::AppendLoaded(), ScChangeTrack::DeleteGeneratedDelContent(), ScChangeTrack::GenerateDelContent(), GetNext(), and ScChangeTrack::Remove().
|
protected |
Definition at line 196 of file chgtrack.hxx.
Referenced by ScChangeTrack::AddLoadedGenerated(), ScChangeTrack::Append(), ScChangeTrack::AppendCloned(), ScChangeTrack::AppendLoaded(), ScChangeTrack::DeleteGeneratedDelContent(), ScChangeTrack::GenerateDelContent(), GetPrev(), and ScChangeTrack::Remove().