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

#include <ctredlin.hxx>

Collaboration diagram for SvxRedlinTable:
[legend]

Public Member Functions

 SvxRedlinTable (std::unique_ptr< weld::TreeView > xWriterControl, std::unique_ptr< weld::TreeView > xCalcControl)
 
weld::TreeViewGetWidget ()
 
bool IsSorted () const
 
 ~SvxRedlinTable ()
 
void SetFilterDate (bool bFlag)
 
void SetDateTimeMode (SvxRedlinDateMode nMode)
 
void SetFirstDate (const Date &)
 
void SetLastDate (const Date &)
 
void SetFirstTime (const tools::Time &)
 
void SetLastTime (const tools::Time &)
 
void SetFilterAuthor (bool bFlag)
 
void SetAuthor (const OUString &)
 
void SetFilterComment (bool bFlag)
 
void SetCommentParams (const utl::SearchParam *pSearchPara)
 
void UpdateFilterTest ()
 
void SetCalcView ()
 
void SetWriterView ()
 
bool IsValidEntry (std::u16string_view rAuthor, const DateTime &rDateTime, const OUString &rComment)
 
bool IsValidEntry (std::u16string_view rAuthor, const DateTime &rDateTime)
 
bool IsValidComment (const OUString &rComment)
 
 DECL_LINK (HeaderBarClick, int, void)
 

Private Member Functions

int ColCompare (const weld::TreeIter &rLeft, const weld::TreeIter &rRight)
 

Private Attributes

std::unique_ptr< comphelper::string::NaturalStringSorterxSorter
 
std::unique_ptr< weld::TreeViewxWriterTreeView
 
std::unique_ptr< weld::TreeViewxCalcTreeView
 
weld::TreeViewpTreeView
 
sal_uInt16 nDatePos
 
bool bAuthor
 
bool bDate
 
bool bComment
 
bool bSorted
 
SvxRedlinDateMode nDaTiMode
 
DateTime aDaTiFirst
 
DateTime aDaTiLast
 
DateTime aDaTiFilterFirst
 
DateTime aDaTiFilterLast
 
OUString aAuthor
 
std::unique_ptr< utl::TextSearchpCommentSearcher
 

Detailed Description

Definition at line 78 of file ctredlin.hxx.

Constructor & Destructor Documentation

◆ SvxRedlinTable()

SvxRedlinTable::SvxRedlinTable ( std::unique_ptr< weld::TreeView xWriterControl,
std::unique_ptr< weld::TreeView xCalcControl 
)

◆ ~SvxRedlinTable()

SvxRedlinTable::~SvxRedlinTable ( )

Definition at line 87 of file ctredlin.cxx.

Member Function Documentation

◆ ColCompare()

int SvxRedlinTable::ColCompare ( const weld::TreeIter rLeft,
const weld::TreeIter rRight 
)
private

◆ DECL_LINK()

SvxRedlinTable::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)

◆ GetWidget()

weld::TreeView & SvxRedlinTable::GetWidget ( )
inline

Definition at line 105 of file ctredlin.hxx.

◆ IsSorted()

bool SvxRedlinTable::IsSorted ( ) const
inline

Definition at line 106 of file ctredlin.hxx.

◆ IsValidComment()

bool SvxRedlinTable::IsValidComment ( const OUString &  rComment)

Definition at line 277 of file ctredlin.cxx.

References bComment, and pCommentSearcher.

Referenced by IsValidEntry().

◆ IsValidEntry() [1/2]

bool SvxRedlinTable::IsValidEntry ( std::u16string_view  rAuthor,
const DateTime rDateTime 
)

◆ IsValidEntry() [2/2]

bool SvxRedlinTable::IsValidEntry ( std::u16string_view  rAuthor,
const DateTime rDateTime,
const OUString &  rComment 
)

Definition at line 258 of file ctredlin.cxx.

References IsValidComment(), and IsValidEntry().

Referenced by IsValidEntry().

◆ SetAuthor()

void SvxRedlinTable::SetAuthor ( const OUString &  aString)

Definition at line 240 of file ctredlin.cxx.

References aAuthor.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetCalcView()

void SvxRedlinTable::SetCalcView ( )

◆ SetCommentParams()

void SvxRedlinTable::SetCommentParams ( const utl::SearchParam pSearchPara)

Definition at line 250 of file ctredlin.cxx.

References LANGUAGE_SYSTEM, and pCommentSearcher.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetDateTimeMode()

void SvxRedlinTable::SetDateTimeMode ( SvxRedlinDateMode  nMode)

Definition at line 210 of file ctredlin.cxx.

References nDaTiMode.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetFilterAuthor()

void SvxRedlinTable::SetFilterAuthor ( bool  bFlag)

Definition at line 235 of file ctredlin.cxx.

References bAuthor.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetFilterComment()

void SvxRedlinTable::SetFilterComment ( bool  bFlag)

Definition at line 245 of file ctredlin.cxx.

References bComment.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetFilterDate()

void SvxRedlinTable::SetFilterDate ( bool  bFlag)

Definition at line 205 of file ctredlin.cxx.

References bDate.

Referenced by SvxTPFilter::DeactivatePage().

◆ SetFirstDate()

void SvxRedlinTable::SetFirstDate ( const Date aDate)

Definition at line 215 of file ctredlin.cxx.

References aDaTiFirst, Date::GetDate(), and Date::SetDate().

Referenced by SvxTPFilter::DeactivatePage().

◆ SetFirstTime()

void SvxRedlinTable::SetFirstTime ( const tools::Time aTime)

Definition at line 225 of file ctredlin.cxx.

References aDaTiFirst, tools::Time::GetTime(), and tools::Time::SetTime().

Referenced by SvxTPFilter::DeactivatePage().

◆ SetLastDate()

void SvxRedlinTable::SetLastDate ( const Date aDate)

Definition at line 220 of file ctredlin.cxx.

References aDaTiLast, Date::GetDate(), and Date::SetDate().

Referenced by SvxTPFilter::DeactivatePage().

◆ SetLastTime()

void SvxRedlinTable::SetLastTime ( const tools::Time aTime)

Definition at line 230 of file ctredlin.cxx.

References aDaTiLast, tools::Time::GetTime(), and tools::Time::SetTime().

Referenced by SvxTPFilter::DeactivatePage().

◆ SetWriterView()

void SvxRedlinTable::SetWriterView ( )

◆ UpdateFilterTest()

void SvxRedlinTable::UpdateFilterTest ( )

Member Data Documentation

◆ aAuthor

OUString SvxRedlinTable::aAuthor
private

Definition at line 96 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetAuthor().

◆ aDaTiFilterFirst

DateTime SvxRedlinTable::aDaTiFilterFirst
private

Definition at line 94 of file ctredlin.hxx.

Referenced by IsValidEntry(), and UpdateFilterTest().

◆ aDaTiFilterLast

DateTime SvxRedlinTable::aDaTiFilterLast
private

Definition at line 95 of file ctredlin.hxx.

Referenced by IsValidEntry(), and UpdateFilterTest().

◆ aDaTiFirst

DateTime SvxRedlinTable::aDaTiFirst
private

Definition at line 92 of file ctredlin.hxx.

Referenced by SetFirstDate(), SetFirstTime(), and UpdateFilterTest().

◆ aDaTiLast

DateTime SvxRedlinTable::aDaTiLast
private

Definition at line 93 of file ctredlin.hxx.

Referenced by SetLastDate(), SetLastTime(), and UpdateFilterTest().

◆ bAuthor

bool SvxRedlinTable::bAuthor
private

Definition at line 87 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetFilterAuthor().

◆ bComment

bool SvxRedlinTable::bComment
private

Definition at line 89 of file ctredlin.hxx.

Referenced by IsValidComment(), and SetFilterComment().

◆ bDate

bool SvxRedlinTable::bDate
private

Definition at line 88 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetFilterDate().

◆ bSorted

bool SvxRedlinTable::bSorted
private

Definition at line 90 of file ctredlin.hxx.

◆ nDatePos

sal_uInt16 SvxRedlinTable::nDatePos
private

Definition at line 86 of file ctredlin.hxx.

Referenced by ColCompare(), SetCalcView(), and SetWriterView().

◆ nDaTiMode

SvxRedlinDateMode SvxRedlinTable::nDaTiMode
private

Definition at line 91 of file ctredlin.hxx.

Referenced by IsValidEntry(), SetDateTimeMode(), and UpdateFilterTest().

◆ pCommentSearcher

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

Definition at line 97 of file ctredlin.hxx.

Referenced by IsValidComment(), and SetCommentParams().

◆ pTreeView

weld::TreeView* SvxRedlinTable::pTreeView
private

Definition at line 84 of file ctredlin.hxx.

Referenced by ColCompare(), SetCalcView(), SetWriterView(), and SvxRedlinTable().

◆ xCalcTreeView

std::unique_ptr<weld::TreeView> SvxRedlinTable::xCalcTreeView
private

Definition at line 83 of file ctredlin.hxx.

Referenced by SetCalcView(), SetWriterView(), and SvxRedlinTable().

◆ xSorter

std::unique_ptr<comphelper::string::NaturalStringSorter> SvxRedlinTable::xSorter
private

Definition at line 81 of file ctredlin.hxx.

Referenced by ColCompare().

◆ xWriterTreeView

std::unique_ptr<weld::TreeView> SvxRedlinTable::xWriterTreeView
private

Definition at line 82 of file ctredlin.hxx.

Referenced by ColCompare(), SetCalcView(), SetWriterView(), and SvxRedlinTable().


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