ScChangeViewSettings Class Reference

#include <chgviset.hxx>

Collaboration diagram for ScChangeViewSettings:

Collaboration graph
[legend]

List of all members.

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 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.
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


Detailed Description

Definition at line 45 of file chgviset.hxx.


Constructor & Destructor Documentation

ScChangeViewSettings::ScChangeViewSettings (  )  [inline]

Definition at line 70 of file chgviset.hxx.

References FALSE, and SCDM_DATE_BEFORE.

ScChangeViewSettings::ScChangeViewSettings ( const ScChangeViewSettings r  ) 

ScChangeViewSettings::~ScChangeViewSettings (  ) 

Definition at line 40 of file chgviset.cxx.

References pCommentSearcher.


Member Function Documentation

BOOL ScChangeViewSettings::ShowChanges (  )  const [inline]

void ScChangeViewSettings::SetShowChanges ( BOOL  nFlag = TRUE  )  [inline]

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]

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]

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]

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]

void ScChangeViewSettings::SetTheAuthorToShow ( const String &  aString  )  [inline]

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  ) 

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]

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]

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  ) 

void ScChangeViewSettings::AdjustDateMode ( const ScDocument rDoc  ) 

bool ScChangeViewSettings::HasActionRange (  )  const [inline]

Definition at line 140 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

void ScChangeViewSettings::SetHasActionRange ( bool  nFlag = true  )  [inline]

Definition at line 141 of file chgviset.hxx.

Referenced by ScDocShell::Execute().

void ScChangeViewSettings::GetTheActionRange ( ULONG nFirst,
ULONG nLast 
) const [inline]

Definition at line 142 of file chgviset.hxx.

Referenced by ScViewUtil::IsActionShown().

void ScChangeViewSettings::SetTheActionRange ( ULONG  nFirst,
ULONG  nLast 
) [inline]

Definition at line 143 of file chgviset.hxx.

Referenced by ScDocShell::Execute().


Member Data Documentation

utl::TextSearch* ScChangeViewSettings::pCommentSearcher [private]

Definition at line 49 of file chgviset.hxx.

Referenced by IsValidComment(), SetTheComment(), and ~ScChangeViewSettings().

Definition at line 50 of file chgviset.hxx.

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

Definition at line 51 of file chgviset.hxx.

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

Definition at line 52 of file chgviset.hxx.

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

Definition at line 53 of file chgviset.hxx.

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

Definition at line 54 of file chgviset.hxx.

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

Definition at line 55 of file chgviset.hxx.

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

Definition at line 56 of file chgviset.hxx.

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

Definition at line 57 of file chgviset.hxx.

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

Definition at line 58 of file chgviset.hxx.

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

Definition at line 59 of file chgviset.hxx.

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

Definition at line 60 of file chgviset.hxx.

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

Definition at line 61 of file chgviset.hxx.

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

Definition at line 62 of file chgviset.hxx.

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

Definition at line 63 of file chgviset.hxx.

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

Definition at line 64 of file chgviset.hxx.

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

Definition at line 65 of file chgviset.hxx.

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

Definition at line 66 of file chgviset.hxx.

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


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

Generated on Thu Apr 29 18:34:22 2010 for ooo-build Module sc (ooo/OOO320_m15) by  doxygen 1.5.6