LibreOffice Module sc (master) 1
|
#include <chgviset.hxx>
Public Member Functions | |
ScChangeViewSettings () | |
ScChangeViewSettings (const ScChangeViewSettings &r) | |
~ScChangeViewSettings () | |
bool | ShowChanges () const |
void | SetShowChanges (bool bFlag) |
bool | HasDate () const |
void | SetHasDate (bool bFlag) |
void | SetTheDateMode (SvxRedlinDateMode eDatMod) |
SvxRedlinDateMode | 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 bFlag) |
const OUString & | GetTheAuthorToShow () const |
void | SetTheAuthorToShow (const OUString &aString) |
bool | HasComment () const |
void | SetHasComment (bool bFlag) |
const OUString & | GetTheComment () const |
void | SetTheComment (const OUString &aString) |
bool | IsValidComment (const OUString *pCommentStr) const |
bool | HasRange () const |
void | SetHasRange (bool bFlag) |
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. More... | |
bool | HasActionRange () const |
void | SetHasActionRange () |
void | GetTheActionRange (sal_uLong &nFirst, sal_uLong &nLast) const |
void | SetTheActionRange (sal_uLong nFirst, sal_uLong nLast) |
Private Attributes | |
std::unique_ptr< utl::TextSearch > | pCommentSearcher |
DateTime | aFirstDateTime |
DateTime | aLastDateTime |
OUString | aAuthorToShow |
OUString | aComment |
ScRangeList | aRangeList |
SvxRedlinDateMode | eDateMode |
bool | bShowIt |
bool | bIsDate |
bool | bIsAuthor |
bool | bIsComment |
bool | bIsRange |
bool | bShowAccepted |
bool | bShowRejected |
bool | mbIsActionRange |
sal_uLong | mnFirstAction |
sal_uLong | mnLastAction |
Definition at line 31 of file chgviset.hxx.
|
inline |
Definition at line 56 of file chgviset.hxx.
ScChangeViewSettings::ScChangeViewSettings | ( | const ScChangeViewSettings & | r | ) |
Definition at line 30 of file chgviset.cxx.
References aAuthorToShow, aComment, aFirstDateTime, aLastDateTime, aRangeList, bIsAuthor, bIsComment, bIsDate, bIsRange, bShowAccepted, bShowIt, bShowRejected, eDateMode, EMPTY, mbIsActionRange, mnFirstAction, mnLastAction, and SetTheComment().
ScChangeViewSettings::~ScChangeViewSettings | ( | ) |
Definition at line 26 of file chgviset.cxx.
void ScChangeViewSettings::AdjustDateMode | ( | const ScDocument & | rDoc | ) |
Adjust dates according to selected DateMode.
Definition at line 105 of file chgviset.cxx.
References Date::AddYears(), aFirstDateTime, aLastDateTime, eDateMode, ScDocument::GetChangeTrack(), ScChangeAction::GetDateTime(), ScChangeTrack::GetLastSaved(), Date::SetDate(), tools::Time::SetNanoSec(), tools::Time::SetSec(), tools::Time::SetTime(), and Date::SYSTEM.
Referenced by ScAcceptChgDlg::Init().
Definition at line 125 of file chgviset.hxx.
Referenced by ScViewUtil::IsActionShown().
|
inline |
Definition at line 95 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 101 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), and ScHighlightChgDlg::Init().
|
inline |
Definition at line 84 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 87 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 90 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 109 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 123 of file chgviset.hxx.
Referenced by ScViewUtil::IsActionShown().
|
inline |
Definition at line 92 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 98 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 80 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 106 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 112 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
|
inline |
Definition at line 115 of file chgviset.hxx.
Referenced by ScXMLExport::GetChangeTrackViewSettings(), ScHighlightChgDlg::Init(), and ScViewUtil::IsActionShown().
bool ScChangeViewSettings::IsValidComment | ( | const OUString * | pCommentStr | ) | const |
Definition at line 78 of file chgviset.cxx.
References pCommentSearcher.
Referenced by ScViewUtil::IsActionShown().
ScChangeViewSettings & ScChangeViewSettings::operator= | ( | const ScChangeViewSettings & | r | ) |
Definition at line 54 of file chgviset.cxx.
References aAuthorToShow, aComment, aFirstDateTime, aLastDateTime, aRangeList, bIsAuthor, bIsComment, bIsDate, bIsRange, bShowAccepted, bShowIt, bShowRejected, eDateMode, mbIsActionRange, mnFirstAction, mnLastAction, pCommentSearcher, and SetTheComment().
|
inline |
Definition at line 124 of file chgviset.hxx.
Referenced by ScDocShell::Execute(), and ScDocShell::MergeSharedDocument().
|
inline |
Definition at line 93 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 99 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 81 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 107 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 113 of file chgviset.hxx.
Referenced by ScDocShell::Execute(), ScDocShell::MergeSharedDocument(), ScDocShell::Notify(), and ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 78 of file chgviset.hxx.
Referenced by XclImpChangeTrack::Apply(), ScDocShell::Execute(), oox::xls::RevisionHeadersFragment::finalizeImport(), ScDocShell::MergeDocument(), ScDocShell::MergeSharedDocument(), ScDocShell::Notify(), ScDocShell::SetChangeRecording(), and ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 116 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
Definition at line 126 of file chgviset.hxx.
Referenced by ScDocShell::Execute(), and ScDocShell::MergeSharedDocument().
|
inline |
Definition at line 96 of file chgviset.hxx.
Referenced by ScAcceptChgDlg::Init(), ScHighlightChgDlg::Init(), and ScXMLImport::SetChangeTrackingViewSettings().
void ScChangeViewSettings::SetTheComment | ( | const OUString & | aString | ) |
Definition at line 91 of file chgviset.cxx.
References aComment, ScGlobal::getCharClass(), pCommentSearcher, and utl::SearchParam::Regexp.
Referenced by operator=(), ScChangeViewSettings(), and ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 83 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 86 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 89 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 110 of file chgviset.hxx.
Referenced by ScXMLImport::SetChangeTrackingViewSettings().
|
inline |
Definition at line 77 of file chgviset.hxx.
Referenced by ScOutputData::DrawChangeTrack(), ScDocShell::Execute(), ScDocument::GetCellChangeTrackNote(), ScXMLExport::GetChangeTrackViewSettings(), ScHighlightChgDlg::Init(), ScDocument::IsCellInChangeTrack(), ScDocShell::Notify(), and ScGridWindow::ShowNoteMarker().
|
private |
Definition at line 39 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 40 of file chgviset.hxx.
Referenced by operator=(), ScChangeViewSettings(), and SetTheComment().
|
private |
Definition at line 37 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
|
private |
Definition at line 38 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
|
private |
Definition at line 41 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 45 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 46 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 44 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 47 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 48 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 43 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 49 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 42 of file chgviset.hxx.
Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().
|
private |
Definition at line 50 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 51 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 52 of file chgviset.hxx.
Referenced by operator=(), and ScChangeViewSettings().
|
private |
Definition at line 36 of file chgviset.hxx.
Referenced by IsValidComment(), operator=(), and SetTheComment().