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

#include <chgviset.hxx>

Collaboration diagram for ScChangeViewSettings:
[legend]

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 DateTimeGetTheFirstDateTime () const
 
void SetTheLastDateTime (const DateTime &aDateTime)
 
const DateTimeGetTheLastDateTime () 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 ScRangeListGetTheRangeList () const
 
void SetTheRangeList (const ScRangeList &aRl)
 
bool IsShowAccepted () const
 
void SetShowAccepted (bool bVal)
 
bool IsShowRejected () const
 
void SetShowRejected (bool bVal)
 
ScChangeViewSettingsoperator= (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::TextSearchpCommentSearcher
 
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
 

Detailed Description

Definition at line 32 of file chgviset.hxx.

Constructor & Destructor Documentation

ScChangeViewSettings::ScChangeViewSettings ( )
inline

Definition at line 57 of file chgviset.hxx.

References BEFORE, and EMPTY.

ScChangeViewSettings::ScChangeViewSettings ( const ScChangeViewSettings r)
ScChangeViewSettings::~ScChangeViewSettings ( )

Definition at line 27 of file chgviset.cxx.

Member Function Documentation

void ScChangeViewSettings::AdjustDateMode ( const ScDocument rDoc)
void ScChangeViewSettings::GetTheActionRange ( sal_uLong nFirst,
sal_uLong nLast 
) const
inline

Definition at line 126 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

const OUString& ScChangeViewSettings::GetTheAuthorToShow ( ) const
inline
const OUString& ScChangeViewSettings::GetTheComment ( ) const
inline
SvxRedlinDateMode ScChangeViewSettings::GetTheDateMode ( ) const
inline
const DateTime& ScChangeViewSettings::GetTheFirstDateTime ( ) const
inline
const DateTime& ScChangeViewSettings::GetTheLastDateTime ( ) const
inline
const ScRangeList& ScChangeViewSettings::GetTheRangeList ( ) const
inline
bool ScChangeViewSettings::HasActionRange ( ) const
inline

Definition at line 124 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

bool ScChangeViewSettings::HasAuthor ( ) const
inline
bool ScChangeViewSettings::HasComment ( ) const
inline
bool ScChangeViewSettings::HasDate ( ) const
inline
bool ScChangeViewSettings::HasRange ( ) const
inline
bool ScChangeViewSettings::IsShowAccepted ( ) const
inline
bool ScChangeViewSettings::IsShowRejected ( ) const
inline
bool ScChangeViewSettings::IsValidComment ( const OUString *  pCommentStr) const

Definition at line 79 of file chgviset.cxx.

References pCommentSearcher.

Referenced by ScViewUtil::IsActionShown().

ScChangeViewSettings & ScChangeViewSettings::operator= ( const ScChangeViewSettings r)
void ScChangeViewSettings::SetHasActionRange ( )
inline

Definition at line 125 of file chgviset.hxx.

Referenced by ScDocShell::Execute(), and ScDocShell::MergeSharedDocument().

void ScChangeViewSettings::SetHasAuthor ( bool  bFlag)
inline

Definition at line 94 of file chgviset.hxx.

void ScChangeViewSettings::SetHasComment ( bool  bFlag)
inline

Definition at line 100 of file chgviset.hxx.

void ScChangeViewSettings::SetHasDate ( bool  bFlag)
inline

Definition at line 82 of file chgviset.hxx.

void ScChangeViewSettings::SetHasRange ( bool  bFlag)
inline

Definition at line 108 of file chgviset.hxx.

void ScChangeViewSettings::SetShowAccepted ( bool  bVal)
inline
void ScChangeViewSettings::SetShowChanges ( bool  bFlag)
inline
void ScChangeViewSettings::SetShowRejected ( bool  bVal)
inline

Definition at line 117 of file chgviset.hxx.

void ScChangeViewSettings::SetTheActionRange ( sal_uLong  nFirst,
sal_uLong  nLast 
)
inline

Definition at line 127 of file chgviset.hxx.

Referenced by ScDocShell::Execute(), and ScDocShell::MergeSharedDocument().

void ScChangeViewSettings::SetTheAuthorToShow ( const OUString &  aString)
inline

Definition at line 97 of file chgviset.hxx.

Referenced by ScHighlightChgDlg::Init(), and ScAcceptChgDlg::Init().

void ScChangeViewSettings::SetTheComment ( const OUString &  aString)
void ScChangeViewSettings::SetTheDateMode ( SvxRedlinDateMode  eDatMod)
inline

Definition at line 84 of file chgviset.hxx.

void ScChangeViewSettings::SetTheFirstDateTime ( const DateTime aDateTime)
inline

Definition at line 87 of file chgviset.hxx.

void ScChangeViewSettings::SetTheLastDateTime ( const DateTime aDateTime)
inline

Definition at line 90 of file chgviset.hxx.

void ScChangeViewSettings::SetTheRangeList ( const ScRangeList aRl)
inline

Definition at line 111 of file chgviset.hxx.

bool ScChangeViewSettings::ShowChanges ( ) const
inline

Member Data Documentation

OUString ScChangeViewSettings::aAuthorToShow
private

Definition at line 40 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

OUString ScChangeViewSettings::aComment
private

Definition at line 41 of file chgviset.hxx.

Referenced by operator=(), ScChangeViewSettings(), and SetTheComment().

DateTime ScChangeViewSettings::aFirstDateTime
private

Definition at line 38 of file chgviset.hxx.

Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().

DateTime ScChangeViewSettings::aLastDateTime
private

Definition at line 39 of file chgviset.hxx.

Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().

ScRangeList ScChangeViewSettings::aRangeList
private

Definition at line 42 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bIsAuthor
private

Definition at line 46 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bIsComment
private

Definition at line 47 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bIsDate
private

Definition at line 45 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bIsRange
private

Definition at line 48 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bShowAccepted
private

Definition at line 49 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bShowIt
private

Definition at line 44 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::bShowRejected
private

Definition at line 50 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

SvxRedlinDateMode ScChangeViewSettings::eDateMode
private

Definition at line 43 of file chgviset.hxx.

Referenced by AdjustDateMode(), operator=(), and ScChangeViewSettings().

bool ScChangeViewSettings::mbIsActionRange
private

Definition at line 51 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

sal_uLong ScChangeViewSettings::mnFirstAction
private

Definition at line 52 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

sal_uLong ScChangeViewSettings::mnLastAction
private

Definition at line 53 of file chgviset.hxx.

Referenced by operator=(), and ScChangeViewSettings().

std::unique_ptr<utl::TextSearch> ScChangeViewSettings::pCommentSearcher
private

Definition at line 37 of file chgviset.hxx.

Referenced by IsValidComment(), operator=(), and SetTheComment().


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