#include <chgviset.hxx>

Public Member Functions | |
| ScChangeViewSettings () | |
| ScChangeViewSettings (const ScChangeViewSettings &r) | |
| ~ScChangeViewSettings () | |
| BOOL | ShowChanges () const |
| void | SetShowChanges (BOOL nFlag=TRUE) |
| BOOL | HasDate () const |
| void | SetHasDate (BOOL nFlag=TRUE) |
| void | SetTheDateMode (ScChgsDateMode eDatMod) |
| ScChgsDateMode | GetTheDateMode () const |
| void | SetTheFirstDateTime (const DateTime &aDateTime) |
| const DateTime & | GetTheFirstDateTime () const |
| void | SetTheLastDateTime (const DateTime &aDateTime) |
| const DateTime & | GetTheLastDateTime () const |
| BOOL | HasAuthor () const |
| void | SetHasAuthor (BOOL nFlag=TRUE) |
| String | GetTheAuthorToShow () const |
| void | SetTheAuthorToShow (const String &aString) |
| BOOL | HasComment () const |
| void | SetHasComment (BOOL nFlag=TRUE) |
| String | GetTheComment () const |
| void | SetTheComment (const String &aString) |
| BOOL | IsValidComment (const String *pCommentStr) const |
| BOOL | IsEveryoneButMe () const |
| void | SetEveryoneButMe (BOOL nFlag=TRUE) |
| BOOL | HasRange () const |
| void | SetHasRange (BOOL nFlag=TRUE) |
| const ScRangeList & | GetTheRangeList () const |
| void | SetTheRangeList (const ScRangeList &aRl) |
| BOOL | IsShowAccepted () const |
| void | SetShowAccepted (BOOL bVal) |
| BOOL | IsShowRejected () const |
| void | SetShowRejected (BOOL bVal) |
| ScChangeViewSettings & | operator= (const ScChangeViewSettings &r) |
| void | AdjustDateMode (const ScDocument &rDoc) |
| Adjust dates according to selected DateMode. | |
| bool | HasActionRange () const |
| void | SetHasActionRange (bool nFlag=true) |
| void | GetTheActionRange (ULONG &nFirst, ULONG &nLast) const |
| void | SetTheActionRange (ULONG nFirst, ULONG nLast) |
Private Attributes | |
| utl::TextSearch * | pCommentSearcher |
| DateTime | aFirstDateTime |
| DateTime | aLastDateTime |
| String | aAuthorToShow |
| String | aComment |
| ScRangeList | aRangeList |
| ScChgsDateMode | eDateMode |
| BOOL | bShowIt |
| BOOL | bIsDate |
| BOOL | bIsAuthor |
| BOOL | bIsComment |
| BOOL | bIsRange |
| BOOL | bEveryoneButMe |
| BOOL | bShowAccepted |
| BOOL | bShowRejected |
| bool | mbIsActionRange |
| ULONG | mnFirstAction |
| ULONG | mnLastAction |
Definition at line 45 of file chgviset.hxx.
| ScChangeViewSettings::ScChangeViewSettings | ( | ) | [inline] |
| ScChangeViewSettings::ScChangeViewSettings | ( | const ScChangeViewSettings & | r | ) |
Definition at line 46 of file chgviset.cxx.
References aAuthorToShow, aComment, aFirstDateTime, aLastDateTime, aRangeList, bEveryoneButMe, bIsAuthor, bIsComment, bIsDate, bIsRange, bShowAccepted, bShowIt, bShowRejected, eDateMode, mbIsActionRange, mnFirstAction, mnLastAction, and SetTheComment().
| ScChangeViewSettings::~ScChangeViewSettings | ( | ) |
| BOOL ScChangeViewSettings::ShowChanges | ( | ) | const [inline] |
Definition at line 89 of file chgviset.hxx.
References BOOL().
Referenced by ScOutputData::DrawChangeTrack(), ScDocShell::Execute(), ScHighlightChgDlg::Init(), ScDocShell::Notify(), and ScGridWindow::ShowNoteMarker().
| void ScChangeViewSettings::SetShowChanges | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 90 of file chgviset.hxx.
Referenced by XclImpChangeTrack::Apply(), ScDocShell::EnableSharedSettings(), ScDocShell::Execute(), IMPL_LINK(), ScDocShell::MergeDocument(), ScDocShell::Notify(), and ScXMLImport::SetChangeTrackingViewSettings().
| BOOL ScChangeViewSettings::HasDate | ( | ) | const [inline] |
Definition at line 92 of file chgviset.hxx.
References BOOL().
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetHasDate | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 93 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| void ScChangeViewSettings::SetTheDateMode | ( | ScChgsDateMode | eDatMod | ) | [inline] |
Definition at line 95 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| ScChgsDateMode ScChangeViewSettings::GetTheDateMode | ( | ) | const [inline] |
Definition at line 96 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetTheFirstDateTime | ( | const DateTime & | aDateTime | ) | [inline] |
Definition at line 98 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| const DateTime& ScChangeViewSettings::GetTheFirstDateTime | ( | ) | const [inline] |
Definition at line 99 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetTheLastDateTime | ( | const DateTime & | aDateTime | ) | [inline] |
Definition at line 101 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| const DateTime& ScChangeViewSettings::GetTheLastDateTime | ( | ) | const [inline] |
Definition at line 102 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| BOOL ScChangeViewSettings::HasAuthor | ( | ) | const [inline] |
Definition at line 105 of file chgviset.hxx.
References BOOL().
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetHasAuthor | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 106 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| String ScChangeViewSettings::GetTheAuthorToShow | ( | ) | const [inline] |
Definition at line 108 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetTheAuthorToShow | ( | const String & | aString | ) | [inline] |
Definition at line 109 of file chgviset.hxx.
Referenced by IMPL_LINK(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScXMLImport::SetChangeTrackingViewSettings().
| BOOL ScChangeViewSettings::HasComment | ( | ) | const [inline] |
Definition at line 111 of file chgviset.hxx.
References BOOL().
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetHasComment | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 112 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| String ScChangeViewSettings::GetTheComment | ( | ) | const [inline] |
Definition at line 114 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), and ScHighlightChgDlg::Init().
| void ScChangeViewSettings::SetTheComment | ( | const String & | aString | ) |
Definition at line 107 of file chgviset.cxx.
References aComment, FALSE, ScGlobal::pCharClass, and pCommentSearcher.
Referenced by IMPL_LINK(), operator=(), ScChangeViewSettings(), and ScXMLImport::SetChangeTrackingViewSettings().
| BOOL ScChangeViewSettings::IsValidComment | ( | const String * | pCommentStr | ) | const |
Definition at line 93 of file chgviset.cxx.
References BOOL(), pCommentSearcher, and TRUE.
Referenced by ScViewUtil::IsActionShown().
| BOOL ScChangeViewSettings::IsEveryoneButMe | ( | ) | const [inline] |
Definition at line 119 of file chgviset.hxx.
References BOOL().
Referenced by ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetEveryoneButMe | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 120 of file chgviset.hxx.
| BOOL ScChangeViewSettings::HasRange | ( | ) | const [inline] |
Definition at line 123 of file chgviset.hxx.
References BOOL().
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetHasRange | ( | BOOL | nFlag = TRUE |
) | [inline] |
Definition at line 124 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| const ScRangeList& ScChangeViewSettings::GetTheRangeList | ( | ) | const [inline] |
Definition at line 126 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetTheRangeList | ( | const ScRangeList & | aRl | ) | [inline] |
Definition at line 127 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| BOOL ScChangeViewSettings::IsShowAccepted | ( | ) | const [inline] |
Definition at line 129 of file chgviset.hxx.
References BOOL().
Referenced by ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetShowAccepted | ( | BOOL | bVal | ) | [inline] |
Definition at line 130 of file chgviset.hxx.
Referenced by ScDocShell::Execute(), IMPL_LINK(), ScDocShell::Notify(), and ScXMLImport::SetChangeTrackingViewSettings().
| BOOL ScChangeViewSettings::IsShowRejected | ( | ) | const [inline] |
Definition at line 132 of file chgviset.hxx.
References BOOL().
Referenced by ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
| void ScChangeViewSettings::SetShowRejected | ( | BOOL | bVal | ) | [inline] |
Definition at line 133 of file chgviset.hxx.
Referenced by IMPL_LINK(), and ScXMLImport::SetChangeTrackingViewSettings().
| ScChangeViewSettings & ScChangeViewSettings::operator= | ( | const ScChangeViewSettings & | r | ) |
Definition at line 69 of file chgviset.cxx.
References aAuthorToShow, aComment, aFirstDateTime, aLastDateTime, aRangeList, bEveryoneButMe, bIsAuthor, bIsComment, bIsDate, bIsRange, bShowAccepted, bShowIt, bShowRejected, eDateMode, mbIsActionRange, mnFirstAction, mnLastAction, and SetTheComment().
| void ScChangeViewSettings::AdjustDateMode | ( | const ScDocument & | rDoc | ) |
Adjust dates according to selected DateMode.
Definition at line 125 of file chgviset.cxx.
References aFirstDateTime, aLastDateTime, eDateMode, ScDocument::GetChangeTrack(), ScChangeAction::GetDateTime(), ScChangeTrack::GetLastSaved(), SCDM_DATE_EQUAL, SCDM_DATE_NOTEQUAL, and SCDM_DATE_SAVE.
Referenced by IMPL_LINK(), and ScAcceptChgDlg::Init().
| bool ScChangeViewSettings::HasActionRange | ( | ) | const [inline] |
| void ScChangeViewSettings::SetHasActionRange | ( | bool | nFlag = true |
) | [inline] |
utl::TextSearch* ScChangeViewSettings::pCommentSearcher [private] |
Definition at line 49 of file chgviset.hxx.
Referenced by IsValidComment(), SetTheComment(), and ~ScChangeViewSettings().
DateTime ScChangeViewSettings::aFirstDateTime [private] |
Definition at line 50 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
DateTime ScChangeViewSettings::aLastDateTime [private] |
Definition at line 51 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
String ScChangeViewSettings::aAuthorToShow [private] |
String ScChangeViewSettings::aComment [private] |
Definition at line 53 of file chgviset.hxx.
Referenced by operator=(), ScChangeViewSettings(), and SetTheComment().
ScRangeList ScChangeViewSettings::aRangeList [private] |
Definition at line 55 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
BOOL ScChangeViewSettings::bShowIt [private] |
BOOL ScChangeViewSettings::bIsDate [private] |
BOOL ScChangeViewSettings::bIsAuthor [private] |
BOOL ScChangeViewSettings::bIsComment [private] |
BOOL ScChangeViewSettings::bIsRange [private] |
BOOL ScChangeViewSettings::bEveryoneButMe [private] |
BOOL ScChangeViewSettings::bShowAccepted [private] |
BOOL ScChangeViewSettings::bShowRejected [private] |
bool ScChangeViewSettings::mbIsActionRange [private] |
ULONG ScChangeViewSettings::mnFirstAction [private] |
ULONG ScChangeViewSettings::mnLastAction [private] |
1.5.6