LibreOffice Module sc (master) 1
|
#include <searchresults.hxx>
Public Member Functions | |
SearchResultsDlg (SfxBindings *_pBindings, weld::Window *pParent) | |
virtual | ~SearchResultsDlg () override |
virtual void | Close () override |
void | FillResults (ScDocument &rDoc, const ScRangeList &rMatchedRanges, bool bCellNotes, bool bEmptyCells, bool bMatchedRangesWereClamped) |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (ListSelectHdl, weld::TreeView &, void) | |
DECL_LINK (HeaderBarClick, int, void) | |
DECL_STATIC_LINK (SearchResultsDlg, OnShowToggled, weld::Toggleable &, void) | |
Private Attributes | |
OUString | aSkipped |
SfxBindings * | mpBindings |
ScDocument * | mpDoc |
bool | mbSorted |
std::unique_ptr< weld::TreeView > | mxList |
std::unique_ptr< weld::Label > | mxSearchResults |
std::unique_ptr< weld::CheckButton > | mxShowDialog |
Definition at line 21 of file searchresults.hxx.
sc::SearchResultsDlg::SearchResultsDlg | ( | SfxBindings * | _pBindings, |
weld::Window * | pParent | ||
) |
Definition at line 25 of file searchresults.cxx.
References LINK, mxList, and mxShowDialog.
|
overridevirtual |
Definition at line 47 of file searchresults.cxx.
References SfxViewFrame::GetChildWindow(), SfxChildWindow::GetController(), SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), mpBindings, and SvxSearchDialog::Present().
|
overridevirtual |
Reimplemented from SfxDialogController.
Definition at line 182 of file searchresults.cxx.
References SfxDialogController::Close(), SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher(), and mpBindings.
|
private |
|
private |
|
private |
void sc::SearchResultsDlg::FillResults | ( | ScDocument & | rDoc, |
const ScRangeList & | rMatchedRanges, | ||
bool | bCellNotes, | ||
bool | bEmptyCells, | ||
bool | bMatchedRangesWereClamped | ||
) |
Definition at line 98 of file searchresults.cxx.
References ScRange::aEnd, aSkipped, ScRange::aStart, ScAddress::Col(), ScCellIterator::first(), ScDocument::GetAddressConvention(), ScDocument::GetAllTableNames(), ScDocument::GetNote(), ScCellIterator::GetPos(), ScDocument::GetString(), ScPostIt::GetText(), i, ScAddress::IncCol(), ScAddress::IncRow(), ScAddress::IncTab(), mpDoc, mxList, mxSearchResults, n, ScCellIterator::next(), ScGlobal::ReplaceOrAppend(), ScAddress::Row(), ScResId(), ScAddress::SetCol(), ScAddress::SetRow(), ScRangeList::size(), ScAddress::Tab(), and u.
Referenced by ScViewFunc::SearchAndReplace().
|
private |
Definition at line 23 of file searchresults.hxx.
Referenced by FillResults().
|
private |
Definition at line 26 of file searchresults.hxx.
|
private |
Definition at line 24 of file searchresults.hxx.
Referenced by Close(), and ~SearchResultsDlg().
|
private |
Definition at line 25 of file searchresults.hxx.
Referenced by FillResults().
|
private |
Definition at line 27 of file searchresults.hxx.
Referenced by FillResults(), and SearchResultsDlg().
|
private |
Definition at line 28 of file searchresults.hxx.
Referenced by FillResults().
|
private |
Definition at line 29 of file searchresults.hxx.
Referenced by SearchResultsDlg().