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 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) |
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 175 of file chgtrack.hxx.
|
privatedelete |
|
protected |
Definition at line 49 of file chgtrack.cxx.
References aDateTime, DateTime::ConvertToUTC(), and eType.
|
protected |
Definition at line 67 of file chgtrack.cxx.
References eType.
|
protected |
Definition at line 89 of file chgtrack.cxx.
References aDateTime, DateTime::ConvertToUTC(), and eType.
|
virtual |
Definition at line 108 of file chgtrack.cxx.
References RemoveAllLinks().
|
protected |
Definition at line 543 of file chgtrack.cxx.
References DeleteCellEntries(), IsVirgin(), SC_CAS_ACCEPTED, and SetState().
Referenced by ScChangeTrack::Accept(), and ScChangeTrack::MergeActionState().
|
protectedpure virtual |
Implemented in ScChangeActionIns, ScChangeActionDel, ScChangeActionMove, ScChangeActionContent, and ScChangeActionReject.
|
inlineprotected |
Definition at line 246 of file chgtrack.hxx.
References p, and pLinkDeleted.
void ScChangeAction::AddDependent | ( | sal_uLong | nActionNumber, |
const ScChangeTrack * | pTrack | ||
) |
Definition at line 602 of file chgtrack.cxx.
References AddDependent(), AddLink(), ScChangeTrack::GetActionOrGenerated(), and pLink.
|
inlineprotected |
Definition at line 251 of file chgtrack.hxx.
References p, and pLinkDependent.
Referenced by AddDependent(), ScChangeTrack::AddDependentWithNotify(), ScChangeTrack::Clone(), ScXMLChangeTrackingImportHelper::SetDependencies(), and ScChangeTrack::UpdateReference().
|
inlineprotected |
Definition at line 231 of file chgtrack.hxx.
References p, pLinkAny, and ScChangeActionLinkEntry::SetLink().
Referenced by AddDependent(), ScChangeTrack::AddDependentWithNotify(), ScChangeTrack::Clone(), ScChangeTrack::MasterLinks(), and ScChangeTrack::UpdateReference().
|
protectedpure virtual |
Implemented in ScChangeActionIns, ScChangeActionDel, ScChangeActionMove, ScChangeActionContent, and ScChangeActionReject.
Referenced by Accept(), ScChangeTrack::MergePrepare(), RejectRestoreContents(), and SetRejected().
|
inline |
Definition at line 317 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(), ScChangeTrack::Reject(), ScChangeActionMove::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 229 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(), ScChangeTrack::Reject(), ScChangeActionMove::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 311 of file chgtrack.hxx.
References aBigRange.
|
protectedpure virtual |
Implemented in ScChangeActionIns, ScChangeActionDel, ScChangeActionMove, ScChangeActionContent, and ScChangeActionReject.
Referenced by GetDescription().
|
inline |
Definition at line 348 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 407 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 313 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 239 of file chgtrack.hxx.
References pLinkDeletedIn.
Referenced by IsDeletedIn(), IsDeletedInDelType(), and RemoveDeletedIn().
|
inlineprotectedvirtual |
Reimplemented in ScChangeActionContent.
Definition at line 241 of file chgtrack.hxx.
References pLinkDeletedIn.
Referenced by SetDeletedIn().
|
virtual |
Reimplemented in ScChangeActionIns, ScChangeActionDel, ScChangeActionMove, and ScChangeActionContent.
Definition at line 421 of file chgtrack.cxx.
References 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 328 of file chgtrack.hxx.
References pLinkDeleted.
Referenced by ScChangeTrack::Clone(), ScChangeTrack::GetDependents(), and ScChangeTrackingExportHelper::WriteDependings().
|
inline |
Definition at line 330 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 320 of file chgtrack.hxx.
References pNext.
Referenced by ScChangeTrackingExportHelper::AddDeletionAttributes(), ScChangeTrack::Clone(), ScChangeTrackingExportHelper::CollectAndWriteChanges(), ScChangeTrackingExportHelper::CollectAutoStyles(), ScOutputData::DrawChangeTrack(), ScConflictsFinder::Find(), ScRedComDialog::FindNext(), ScDocument::GetCellChangeTrackNote(), ScDocShell::GetChangeAction(), ScChangeTrack::GetChangeTrackInfo(), ScAcceptChgDlg::InsertAcceptedORejected(), ScDocument::IsCellInChangeTrack(), ScChangeActionDel::IsMultiDelete(), ScChangeActionDel::IsTopDelete(), lcl_FindAction(), ScDocShell::MergeDocument(), ScDocShell::MergeSharedDocument(), ScGridWindow::ShowNoteMarker(), and ScAcceptChgDlg::UpdateView().
|
inline |
Definition at line 321 of file chgtrack.hxx.
References pPrev.
Referenced by ScAcceptChgDlg::AcceptFiltered(), ScChangeTrack::Clone(), ScRedComDialog::FindPrev(), ScChangeTrack::MergePrepare(), ScDocShell::MergeSharedDocument(), ScChangeTrack::Reject(), ScAcceptChgDlg::RejectFiltered(), and XclExpChangeTrack::XclExpChangeTrack().
|
protected |
Definition at line 477 of file chgtrack.cxx.
References aBuf, ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRange::Format(), ScDocument::GetAddressConvention(), ScDocument::GetName(), formula::FormulaCompiler::GetNativeSymbol(), GetType(), IsDeletedIn(), IsDeleteType(), ScBigRange::IsValid(), ScBigRange::MakeRange(), ocErrRef, ScAddress::Row(), SC_CAT_DELETE_COLS, SC_CAT_DELETE_ROWS, SC_CAT_INSERT_COLS, SC_CAT_INSERT_ROWS, SC_CAT_INSERT_TABS, ScColToAlpha(), ScAddress::Tab(), 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 ScChangeActionMove, ScChangeActionContent, ScChangeActionMove, and ScChangeActionContent.
Definition at line 538 of file chgtrack.cxx.
References GetBigRange(), and GetRefString().
|
inline |
Definition at line 318 of file chgtrack.hxx.
References nRejectAction.
Referenced by ScChangeTrack::Clone(), GetDescription(), ScChangeTrack::MergeActionState(), ScDocShell::MergeDocument(), ScChangeTrack::MergeIgnore(), and ScChangeTrackingExportHelper::WorkWithChangeAction().
|
inline |
Definition at line 316 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 315 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(), IsDialogParent(), ScChangeActionDel::IsMultiDelete(), IsRejectable(), ScChangeActionDel::IsTabDeleteCol(), ScChangeActionDel::IsTopDelete(), IsTouchable(), ScAcceptChgDlg::IsValidAction(), IsVisible(), lcl_Equal(), lcl_FindAction(), lcl_getTrackedChange(), ScChangeTrack::MasterLinks(), ScDocShell::MergeDocument(), XclExpChangeTrack::PushActionRecord(), ScChangeTrack::Reject(), ScChangeActionIns::Reject(), ScChangeActionDel::Reject(), 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 347 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 382 of file chgtrack.cxx.
References pLinkDeleted.
Referenced by ScChangeTrack::Clone(), IsDialogParent(), and ScChangeTrackingExportHelper::WriteDependings().
bool ScChangeAction::HasDependent | ( | ) | const |
Definition at line 377 of file chgtrack.cxx.
References pLinkDependent.
Referenced by ScChangeTrack::Clone(), GetDescription(), IsDialogParent(), ScChangeTrack::Reject(), ScChangeTrack::SelectContent(), and ScChangeTrackingExportHelper::WriteDependings().
bool ScChangeAction::IsAccepted | ( | ) | const |
Definition at line 128 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 166 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(), ScAcceptChgDlg::InsertChangeActionContent(), ScAcceptChgDlg::InsertContentChildren(), IsRejectable(), and ScChangeTrack::SelectContent().
bool ScChangeAction::IsDeletedIn | ( | ) | const |
Definition at line 318 of file chgtrack.cxx.
References GetDeletedIn().
Referenced by ScChangeTrackingExportHelper::CollectActionAutoStyles(), ScChangeActionContent::GetFormulaString(), GetRefString(), ScChangeActionContent::GetRefString(), IsClickable(), IsDialogParent(), IsTouchable(), IsVisible(), ScDocShell::MergeDocument(), ScChangeTrack::Reject(), ScChangeActionMove::Reject(), ScChangeTrack::SearchContentAt(), ScXMLChangeTrackingImportHelper::SetNewCell(), ScChangeActionDel::UpdateReference(), ScChangeTrack::UpdateReference(), and ScChangeTrackingExportHelper::WriteDeleted().
bool ScChangeAction::IsDeletedIn | ( | const ScChangeAction * | p | ) | const |
Definition at line 323 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), ScChangeActionLinkEntry::GetNext(), and p.
bool ScChangeAction::IsDeletedInDelType | ( | ScChangeActionType | eDelType | ) | const |
Definition at line 345 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), ScChangeActionLinkEntry::GetNext(), 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 118 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 238 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 233 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 113 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 215 of file chgtrack.cxx.
References IsVirgin().
Referenced by IsDialogRoot(), and ScChangeTrack::Reject().
bool ScChangeAction::IsMasterDelete | ( | ) | const |
Definition at line 274 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 197 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 133 of file chgtrack.cxx.
References eState, and SC_CAS_REJECTED.
Referenced by ScChangeTrack::Dependencies(), ScChangeTrackingExportHelper::GetAcceptanceState(), ScChangeTrack::GetDependents(), ScChangeActionDel::GetDescription(), ScChangeActionMove::GetRefString(), IsRejectable(), IsTouchable(), IsVisible(), ScChangeTrack::MergeActionState(), ScDocShell::MergeDocument(), ScChangeTrack::MergeIgnore(), and ScChangeTrack::UpdateReference().
bool ScChangeAction::IsRejecting | ( | ) | const |
Definition at line 138 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 153 of file chgtrack.cxx.
References GetType(), IsDeletedIn(), IsRejected(), IsRejecting(), SC_CAT_CONTENT, and SC_CAT_REJECT.
Referenced by IsClickable(), and IsRejectable().
bool ScChangeAction::IsVirgin | ( | ) | const |
Definition at line 123 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 143 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 ScChangeActionIns, ScChangeActionDel, ScChangeActionMove, ScChangeActionContent, and ScChangeActionReject.
Referenced by ScChangeTrack::Reject().
|
protected |
Definition at line 562 of file chgtrack.cxx.
References DeleteCellEntries(), ScChangeTrack::GetDocument(), ScChangeActionLinkEntry::GetNext(), p, pLinkDeleted, SC_CAS_REJECTED, SC_CAT_CONTENT, SetState(), and ScChangeTrack::UpdateReference().
Referenced by ScChangeActionDel::Reject(), and ScChangeActionMove::Reject().
void ScChangeAction::RemoveAllDeletedIn | ( | ) |
Definition at line 335 of file chgtrack.cxx.
References pLinkDeletedIn.
Referenced by ScDocShell::MergeDocument(), ScChangeTrack::Reject(), and RemoveAllLinks().
|
protected |
Definition at line 398 of file chgtrack.cxx.
References pLinkDependent.
Referenced by ScChangeActionMove::Reject(), and RemoveAllLinks().
|
protected |
Definition at line 282 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 301 of file chgtrack.cxx.
References ScChangeActionLinkEntry::GetAction(), GetDeletedIn(), ScChangeActionLinkEntry::GetNext(), and p.
Referenced by ScChangeTrack::UpdateReference().
|
inlineprotected |
Definition at line 222 of file chgtrack.hxx.
Referenced by ScChangeTrack::Append(), and ScChangeTrack::GenerateDelContent().
void ScChangeAction::SetComment | ( | const OUString & | rStr | ) |
Definition at line 533 of file chgtrack.cxx.
References aComment.
Referenced by ScDocShell::MergeDocument(), and ScDocShell::SetChangeComment().
|
inline |
Definition at line 344 of file chgtrack.hxx.
References aDateTime.
Referenced by ScChangeTrack::Append().
|
protected |
Definition at line 387 of file chgtrack.cxx.
References GetDeletedInAddress(), GetType(), p, 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 590 of file chgtrack.cxx.
References ScChangeTrack::GetActionOrGenerated(), and SetDeletedIn().
Referenced by ScXMLChangeTrackingImportHelper::SetDeletionDependencies(), ScXMLChangeTrackingImportHelper::SetDependencies(), and ScXMLChangeTrackingImportHelper::SetMovementDependencies().
|
inlineprotected |
Definition at line 223 of file chgtrack.hxx.
References n, and nRejectAction.
Referenced by ScChangeTrack::AppendOneDeleteRange(), ScChangeTrack::MergeActionState(), ScChangeTrack::Reject(), and ScChangeActionContent::Select().
|
protected |
Definition at line 552 of file chgtrack.cxx.
References DeleteCellEntries(), IsVirgin(), RemoveAllLinks(), SC_CAS_REJECTED, and SetState().
Referenced by ScChangeTrack::MergeActionState(), and ScChangeActionContent::Select().
|
inlineprotected |
Definition at line 226 of file chgtrack.hxx.
References eState.
Referenced by Accept(), ScChangeTrack::AppendOneDeleteRange(), ScChangeTrack::Reject(), ScChangeActionIns::Reject(), ScChangeActionContent::Reject(), RejectRestoreContents(), ScChangeActionContent::Select(), and SetRejected().
|
inlineprotected |
Definition at line 225 of file chgtrack.hxx.
References eType.
Referenced by ScChangeActionDel::ScChangeActionDel(), and ScChangeActionIns::ScChangeActionIns().
|
protected |
Definition at line 528 of file chgtrack.cxx.
References aUser.
Referenced by ScChangeTrack::Append().
|
protectedvirtual |
Reimplemented in ScChangeActionDel, ScChangeActionMove, and ScChangeActionContent.
Definition at line 414 of file chgtrack.cxx.
References eMode, GetBigRange(), and ScRefUpdate::Update().
|
friend |
Definition at line 181 of file chgtrack.hxx.
Referenced by ScChangeActionContent::Select().
|
friend |
Definition at line 179 of file chgtrack.hxx.
|
friend |
Definition at line 178 of file chgtrack.hxx.
|
friend |
Definition at line 180 of file chgtrack.hxx.
|
friend |
Definition at line 177 of file chgtrack.hxx.
|
protected |
Definition at line 188 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 191 of file chgtrack.hxx.
Referenced by GetComment(), and SetComment().
|
protected |
Definition at line 189 of file chgtrack.hxx.
Referenced by GetDateTime(), GetDateTimeUTC(), ScChangeAction(), and SetDateTimeUTC().
|
protected |
|
protected |
Definition at line 202 of file chgtrack.hxx.
Referenced by GetState(), IsAccepted(), IsRejected(), IsVirgin(), and SetState().
|
protected |
Definition at line 201 of file chgtrack.hxx.
Referenced by GetType(), IsDeleteType(), IsDialogParent(), IsInsertType(), ScChangeActionDel::ScChangeActionDel(), and SetType().
|
protected |
Definition at line 199 of file chgtrack.hxx.
Referenced by GetActionNumber(), and SetActionNumber().
|
protected |
Definition at line 200 of file chgtrack.hxx.
Referenced by GetRejectAction(), IsRejecting(), and SetRejectAction().
|
protected |
Definition at line 194 of file chgtrack.hxx.
Referenced by AddLink(), and RemoveAllLinks().
|
protected |
Definition at line 197 of file chgtrack.hxx.
Referenced by AddDeleted(), GetFirstDeletedEntry(), HasDeleted(), IsDialogParent(), RejectRestoreContents(), RemoveAllLinks(), and ScChangeActionDel::UpdateReference().
|
protected |
Definition at line 195 of file chgtrack.hxx.
Referenced by GetDeletedIn(), ScChangeActionContent::GetDeletedIn(), GetDeletedInAddress(), ScChangeActionContent::GetDeletedInAddress(), and RemoveAllDeletedIn().
|
protected |
Definition at line 198 of file chgtrack.hxx.
Referenced by AddDependent(), GetFirstDependentEntry(), HasDependent(), ScChangeActionMove::Reject(), and RemoveAllDependent().
|
protected |
Definition at line 192 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 193 of file chgtrack.hxx.
Referenced by ScChangeTrack::AddLoadedGenerated(), ScChangeTrack::Append(), ScChangeTrack::AppendCloned(), ScChangeTrack::AppendLoaded(), ScChangeTrack::DeleteGeneratedDelContent(), ScChangeTrack::GenerateDelContent(), GetPrev(), and ScChangeTrack::Remove().