|
LibreOffice Module svx (master) 1
|
#include <ctredlin.hxx>
Public Member Functions | |
| SvxRedlinTable (std::unique_ptr< weld::TreeView > xWriterControl, std::unique_ptr< weld::TreeView > xCalcControl) | |
| weld::TreeView & | GetWidget () |
| 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::NaturalStringSorter > | xSorter |
| std::unique_ptr< weld::TreeView > | xWriterTreeView |
| std::unique_ptr< weld::TreeView > | xCalcTreeView |
| weld::TreeView * | pTreeView |
| 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::TextSearch > | pCommentSearcher |
Definition at line 78 of file ctredlin.hxx.
| SvxRedlinTable::SvxRedlinTable | ( | std::unique_ptr< weld::TreeView > | xWriterControl, |
| std::unique_ptr< weld::TreeView > | xCalcControl | ||
| ) |
Definition at line 49 of file ctredlin.cxx.
References BEFORE, ColCompare(), getLocale(), getProcessComponentContext(), LINK, pTreeView, xCalcTreeView, and xWriterTreeView.
| SvxRedlinTable::~SvxRedlinTable | ( | ) |
Definition at line 87 of file ctredlin.cxx.
|
private |
Definition at line 122 of file ctredlin.cxx.
References RedlinData::aDateTime, RedlinData::eType, weld::TreeView::get_id(), weld::TreeView::get_sort_column(), weld::TreeView::get_text(), nDatePos, pTreeView, xSorter, and xWriterTreeView.
Referenced by SvxRedlinTable().
| SvxRedlinTable::DECL_LINK | ( | HeaderBarClick | , |
| int | , | ||
| void | |||
| ) |
|
inline |
Definition at line 105 of file ctredlin.hxx.
|
inline |
Definition at line 106 of file ctredlin.hxx.
| bool SvxRedlinTable::IsValidComment | ( | const OUString & | rComment | ) |
Definition at line 277 of file ctredlin.cxx.
References bComment, and pCommentSearcher.
Referenced by IsValidEntry().
| bool SvxRedlinTable::IsValidEntry | ( | std::u16string_view | rAuthor, |
| const DateTime & | rDateTime | ||
| ) |
Definition at line 265 of file ctredlin.cxx.
References aAuthor, aDaTiFilterFirst, aDaTiFilterLast, bAuthor, bDate, DateTime::IsBetween(), nDaTiMode, and NOTEQUAL.
| 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().
| void SvxRedlinTable::SetAuthor | ( | const OUString & | aString | ) |
Definition at line 240 of file ctredlin.cxx.
References aAuthor.
Referenced by SvxTPFilter::DeactivatePage().
| void SvxRedlinTable::SetCalcView | ( | ) |
Definition at line 361 of file ctredlin.cxx.
References CALC_DATE, weld::Widget::get_approximate_digit_width(), nDatePos, pTreeView, weld::TreeView::set_column_fixed_widths(), xCalcTreeView, and xWriterTreeView.
| void SvxRedlinTable::SetCommentParams | ( | const utl::SearchParam * | pSearchPara | ) |
Definition at line 250 of file ctredlin.cxx.
References LANGUAGE_SYSTEM, and pCommentSearcher.
Referenced by SvxTPFilter::DeactivatePage().
| void SvxRedlinTable::SetDateTimeMode | ( | SvxRedlinDateMode | nMode | ) |
Definition at line 210 of file ctredlin.cxx.
References nDaTiMode.
Referenced by SvxTPFilter::DeactivatePage().
| void SvxRedlinTable::SetFilterAuthor | ( | bool | bFlag | ) |
Definition at line 235 of file ctredlin.cxx.
References bAuthor.
Referenced by SvxTPFilter::DeactivatePage().
| void SvxRedlinTable::SetFilterComment | ( | bool | bFlag | ) |
Definition at line 245 of file ctredlin.cxx.
References bComment.
Referenced by SvxTPFilter::DeactivatePage().
| void SvxRedlinTable::SetFilterDate | ( | bool | bFlag | ) |
Definition at line 205 of file ctredlin.cxx.
References bDate.
Referenced by SvxTPFilter::DeactivatePage().
| 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().
| 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().
| 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().
| 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().
| void SvxRedlinTable::SetWriterView | ( | ) |
Definition at line 343 of file ctredlin.cxx.
References weld::Widget::get_approximate_digit_width(), nDatePos, pTreeView, weld::TreeView::set_column_fixed_widths(), WRITER_DATE, xCalcTreeView, and xWriterTreeView.
| void SvxRedlinTable::UpdateFilterTest | ( | ) |
Definition at line 162 of file ctredlin.cxx.
References aDaTiFilterFirst, aDaTiFilterLast, aDaTiFirst, aDaTiLast, Date::AddYears(), BEFORE, BETWEEN, EQUAL, tools::Time::GetTime(), nDaTiMode, NONE, NOTEQUAL, SAVE, tools::Time::SetTime(), SINCE, and Date::SYSTEM.
Referenced by SvxTPFilter::DeactivatePage().
|
private |
Definition at line 96 of file ctredlin.hxx.
Referenced by IsValidEntry(), and SetAuthor().
|
private |
Definition at line 94 of file ctredlin.hxx.
Referenced by IsValidEntry(), and UpdateFilterTest().
|
private |
Definition at line 95 of file ctredlin.hxx.
Referenced by IsValidEntry(), and UpdateFilterTest().
|
private |
Definition at line 92 of file ctredlin.hxx.
Referenced by SetFirstDate(), SetFirstTime(), and UpdateFilterTest().
|
private |
Definition at line 93 of file ctredlin.hxx.
Referenced by SetLastDate(), SetLastTime(), and UpdateFilterTest().
|
private |
Definition at line 87 of file ctredlin.hxx.
Referenced by IsValidEntry(), and SetFilterAuthor().
|
private |
Definition at line 89 of file ctredlin.hxx.
Referenced by IsValidComment(), and SetFilterComment().
|
private |
Definition at line 88 of file ctredlin.hxx.
Referenced by IsValidEntry(), and SetFilterDate().
|
private |
Definition at line 90 of file ctredlin.hxx.
|
private |
Definition at line 86 of file ctredlin.hxx.
Referenced by ColCompare(), SetCalcView(), and SetWriterView().
|
private |
Definition at line 91 of file ctredlin.hxx.
Referenced by IsValidEntry(), SetDateTimeMode(), and UpdateFilterTest().
|
private |
Definition at line 97 of file ctredlin.hxx.
Referenced by IsValidComment(), and SetCommentParams().
|
private |
Definition at line 84 of file ctredlin.hxx.
Referenced by ColCompare(), SetCalcView(), SetWriterView(), and SvxRedlinTable().
|
private |
Definition at line 83 of file ctredlin.hxx.
Referenced by SetCalcView(), SetWriterView(), and SvxRedlinTable().
|
private |
Definition at line 81 of file ctredlin.hxx.
Referenced by ColCompare().
|
private |
Definition at line 82 of file ctredlin.hxx.
Referenced by ColCompare(), SetCalcView(), SetWriterView(), and SvxRedlinTable().