1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 #ifndef INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_SEARCHRESULTS_HXX
13 #include <vcl/dialog.hxx>
14 #include <sfx2/childwin.hxx>
22 class SearchResultsDlg
: public ModelessDialog
24 VclPtr
<SvSimpleTable
> mpList
;
25 SfxBindings
* mpBindings
;
28 DECL_LINK( ListSelectHdl
, void * );
30 SearchResultsDlg( SfxBindings
* _pBindings
, vcl::Window
* pParent
, sal_uInt16 nId
);
31 virtual ~SearchResultsDlg();
32 virtual void dispose() SAL_OVERRIDE
;
34 void FillResults( ScDocument
* pDoc
, const ScRangeList
& rMatchedRanges
);
36 virtual bool Close() SAL_OVERRIDE
;
39 class SearchResultsDlgWrapper
: public SfxChildWindow
42 SearchResultsDlgWrapper(
43 vcl::Window
* _pParent
, sal_uInt16 nId
, SfxBindings
* pBindings
, SfxChildWinInfo
* pInfo
);
45 virtual ~SearchResultsDlgWrapper();
47 SFX_DECL_CHILDWINDOW_WITHID(SearchResultsDlgWrapper
);
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */