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 31 of file chgviset.hxx.

Constructor & Destructor Documentation

◆ ScChangeViewSettings() [1/2]

ScChangeViewSettings::ScChangeViewSettings ( )
inline

Definition at line 56 of file chgviset.hxx.

References BEFORE, and EMPTY.

◆ ScChangeViewSettings() [2/2]

ScChangeViewSettings::ScChangeViewSettings ( const ScChangeViewSettings r)

◆ ~ScChangeViewSettings()

ScChangeViewSettings::~ScChangeViewSettings ( )

Definition at line 26 of file chgviset.cxx.

Member Function Documentation

◆ AdjustDateMode()

void ScChangeViewSettings::AdjustDateMode ( const ScDocument rDoc)

◆ GetTheActionRange()

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

Definition at line 125 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

◆ GetTheAuthorToShow()

const OUString & ScChangeViewSettings::GetTheAuthorToShow ( ) const
inline

◆ GetTheComment()

const OUString & ScChangeViewSettings::GetTheComment ( ) const
inline

◆ GetTheDateMode()

SvxRedlinDateMode ScChangeViewSettings::GetTheDateMode ( ) const
inline

◆ GetTheFirstDateTime()

const DateTime & ScChangeViewSettings::GetTheFirstDateTime ( ) const
inline

◆ GetTheLastDateTime()

const DateTime & ScChangeViewSettings::GetTheLastDateTime ( ) const
inline

◆ GetTheRangeList()

const ScRangeList & ScChangeViewSettings::GetTheRangeList ( ) const
inline

◆ HasActionRange()

bool ScChangeViewSettings::HasActionRange ( ) const
inline

Definition at line 123 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

◆ HasAuthor()

bool ScChangeViewSettings::HasAuthor ( ) const
inline

◆ HasComment()

bool ScChangeViewSettings::HasComment ( ) const
inline

◆ HasDate()

bool ScChangeViewSettings::HasDate ( ) const
inline

◆ HasRange()

bool ScChangeViewSettings::HasRange ( ) const
inline

◆ IsShowAccepted()

bool ScChangeViewSettings::IsShowAccepted ( ) const
inline

◆ IsShowRejected()

bool ScChangeViewSettings::IsShowRejected ( ) const
inline

◆ IsValidComment()

bool ScChangeViewSettings::IsValidComment ( const OUString *  pCommentStr) const

Definition at line 78 of file chgviset.cxx.

References pCommentSearcher.

Referenced by ScViewUtil::IsActionShown().

◆ operator=()

ScChangeViewSettings & ScChangeViewSettings::operator= ( const ScChangeViewSettings r)

◆ SetHasActionRange()

void ScChangeViewSettings::SetHasActionRange ( )
inline

Definition at line 124 of file chgviset.hxx.

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

◆ SetHasAuthor()

void ScChangeViewSettings::SetHasAuthor ( bool  bFlag)
inline

Definition at line 93 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetHasComment()

void ScChangeViewSettings::SetHasComment ( bool  bFlag)
inline

Definition at line 99 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetHasDate()

void ScChangeViewSettings::SetHasDate ( bool  bFlag)
inline

Definition at line 81 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetHasRange()

void ScChangeViewSettings::SetHasRange ( bool  bFlag)
inline

Definition at line 107 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetShowAccepted()

void ScChangeViewSettings::SetShowAccepted ( bool  bVal)
inline

◆ SetShowChanges()

void ScChangeViewSettings::SetShowChanges ( bool  bFlag)
inline

◆ SetShowRejected()

void ScChangeViewSettings::SetShowRejected ( bool  bVal)
inline

Definition at line 116 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetTheActionRange()

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

Definition at line 126 of file chgviset.hxx.

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

◆ SetTheAuthorToShow()

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

◆ SetTheComment()

void ScChangeViewSettings::SetTheComment ( const OUString &  aString)

◆ SetTheDateMode()

void ScChangeViewSettings::SetTheDateMode ( SvxRedlinDateMode  eDatMod)
inline

Definition at line 83 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetTheFirstDateTime()

void ScChangeViewSettings::SetTheFirstDateTime ( const DateTime aDateTime)
inline

Definition at line 86 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetTheLastDateTime()

void ScChangeViewSettings::SetTheLastDateTime ( const DateTime aDateTime)
inline

Definition at line 89 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ SetTheRangeList()

void ScChangeViewSettings::SetTheRangeList ( const ScRangeList aRl)
inline

Definition at line 110 of file chgviset.hxx.

Referenced by ScXMLImport::SetChangeTrackingViewSettings().

◆ ShowChanges()

bool ScChangeViewSettings::ShowChanges ( ) const
inline

Member Data Documentation

◆ aAuthorToShow

OUString ScChangeViewSettings::aAuthorToShow
private

Definition at line 39 of file chgviset.hxx.

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

◆ aComment

OUString ScChangeViewSettings::aComment
private

Definition at line 40 of file chgviset.hxx.

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

◆ aFirstDateTime

DateTime ScChangeViewSettings::aFirstDateTime
private

Definition at line 37 of file chgviset.hxx.

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

◆ aLastDateTime

DateTime ScChangeViewSettings::aLastDateTime
private

Definition at line 38 of file chgviset.hxx.

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

◆ aRangeList

ScRangeList ScChangeViewSettings::aRangeList
private

Definition at line 41 of file chgviset.hxx.

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

◆ bIsAuthor

bool ScChangeViewSettings::bIsAuthor
private

Definition at line 45 of file chgviset.hxx.

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

◆ bIsComment

bool ScChangeViewSettings::bIsComment
private

Definition at line 46 of file chgviset.hxx.

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

◆ bIsDate

bool ScChangeViewSettings::bIsDate
private

Definition at line 44 of file chgviset.hxx.

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

◆ bIsRange

bool ScChangeViewSettings::bIsRange
private

Definition at line 47 of file chgviset.hxx.

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

◆ bShowAccepted

bool ScChangeViewSettings::bShowAccepted
private

Definition at line 48 of file chgviset.hxx.

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

◆ bShowIt

bool ScChangeViewSettings::bShowIt
private

Definition at line 43 of file chgviset.hxx.

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

◆ bShowRejected

bool ScChangeViewSettings::bShowRejected
private

Definition at line 49 of file chgviset.hxx.

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

◆ eDateMode

SvxRedlinDateMode ScChangeViewSettings::eDateMode
private

Definition at line 42 of file chgviset.hxx.

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

◆ mbIsActionRange

bool ScChangeViewSettings::mbIsActionRange
private

Definition at line 50 of file chgviset.hxx.

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

◆ mnFirstAction

sal_uLong ScChangeViewSettings::mnFirstAction
private

Definition at line 51 of file chgviset.hxx.

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

◆ mnLastAction

sal_uLong ScChangeViewSettings::mnLastAction
private

Definition at line 52 of file chgviset.hxx.

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

◆ pCommentSearcher

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

Definition at line 36 of file chgviset.hxx.

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


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