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)
 
void set_size_request (int nWidth, int nHeight)
 
weld::TreeViewGetWidget ()
 
 ~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 (const OUString &rAuthor, const DateTime &rDateTime, const OUString &rComment)
 
bool IsValidEntry (const OUString &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 60 of file ctredlin.hxx.

Constructor & Destructor Documentation

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

Definition at line 92 of file ctredlin.cxx.

Member Function Documentation

int SvxRedlinTable::ColCompare ( const weld::TreeIter rLeft,
const weld::TreeIter rRight 
)
private
SvxRedlinTable::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
weld::TreeView& SvxRedlinTable::GetWidget ( )
inline

Definition at line 89 of file ctredlin.hxx.

bool SvxRedlinTable::IsValidComment ( const OUString &  rComment)

Definition at line 265 of file ctredlin.cxx.

References bComment, and pCommentSearcher.

Referenced by IsValidEntry().

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

Definition at line 246 of file ctredlin.cxx.

References IsValidComment().

bool SvxRedlinTable::IsValidEntry ( const OUString &  rAuthor,
const DateTime rDateTime 
)
void SvxRedlinTable::set_size_request ( int  nWidth,
int  nHeight 
)

Definition at line 84 of file ctredlin.cxx.

References xCalcTreeView, and xWriterTreeView.

void SvxRedlinTable::SetAuthor ( const OUString &  aString)

Definition at line 228 of file ctredlin.cxx.

References aAuthor.

Referenced by SvxTPFilter::DeactivatePage().

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

Definition at line 238 of file ctredlin.cxx.

References LANGUAGE_SYSTEM, and pCommentSearcher.

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetDateTimeMode ( SvxRedlinDateMode  nMode)

Definition at line 198 of file ctredlin.cxx.

References nDaTiMode.

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetFilterAuthor ( bool  bFlag)

Definition at line 223 of file ctredlin.cxx.

References bAuthor.

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetFilterComment ( bool  bFlag)

Definition at line 233 of file ctredlin.cxx.

References bComment.

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetFilterDate ( bool  bFlag)

Definition at line 193 of file ctredlin.cxx.

References bDate.

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetFirstDate ( const Date aDate)

Definition at line 203 of file ctredlin.cxx.

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

Referenced by SvxTPFilter::DeactivatePage().

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

Definition at line 213 of file ctredlin.cxx.

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

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetLastDate ( const Date aDate)

Definition at line 208 of file ctredlin.cxx.

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

Referenced by SvxTPFilter::DeactivatePage().

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

Definition at line 218 of file ctredlin.cxx.

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

Referenced by SvxTPFilter::DeactivatePage().

void SvxRedlinTable::SetWriterView ( )
void SvxRedlinTable::UpdateFilterTest ( )

Member Data Documentation

OUString SvxRedlinTable::aAuthor
private

Definition at line 78 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetAuthor().

DateTime SvxRedlinTable::aDaTiFilterFirst
private

Definition at line 76 of file ctredlin.hxx.

Referenced by IsValidEntry(), and UpdateFilterTest().

DateTime SvxRedlinTable::aDaTiFilterLast
private

Definition at line 77 of file ctredlin.hxx.

Referenced by IsValidEntry(), and UpdateFilterTest().

DateTime SvxRedlinTable::aDaTiFirst
private

Definition at line 74 of file ctredlin.hxx.

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

DateTime SvxRedlinTable::aDaTiLast
private

Definition at line 75 of file ctredlin.hxx.

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

bool SvxRedlinTable::bAuthor
private

Definition at line 69 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetFilterAuthor().

bool SvxRedlinTable::bComment
private

Definition at line 71 of file ctredlin.hxx.

Referenced by IsValidComment(), and SetFilterComment().

bool SvxRedlinTable::bDate
private

Definition at line 70 of file ctredlin.hxx.

Referenced by IsValidEntry(), and SetFilterDate().

bool SvxRedlinTable::bSorted
private

Definition at line 72 of file ctredlin.hxx.

sal_uInt16 SvxRedlinTable::nDatePos
private

Definition at line 68 of file ctredlin.hxx.

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

SvxRedlinDateMode SvxRedlinTable::nDaTiMode
private

Definition at line 73 of file ctredlin.hxx.

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

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

Definition at line 79 of file ctredlin.hxx.

Referenced by IsValidComment(), and SetCommentParams().

weld::TreeView* SvxRedlinTable::pTreeView
private

Definition at line 66 of file ctredlin.hxx.

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

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

Definition at line 65 of file ctredlin.hxx.

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

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

Definition at line 63 of file ctredlin.hxx.

Referenced by ColCompare().

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

Definition at line 64 of file ctredlin.hxx.

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


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