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 __SFX2_TEMPLATESEARCHVIEW_HXX__
11 #define __SFX2_TEMPLATESEARCHVIEW_HXX__
13 #include <sfx2/thumbnailview.hxx>
15 class TemplateSearchView
: public ThumbnailView
19 TemplateSearchView ( Window
* pParent
, WinBits nWinStyle
= WB_TABSTOP
| WB_VSCROLL
);
21 virtual ~TemplateSearchView();
23 void setOpenTemplateHdl (const Link
&rLink
);
25 void AppendItem(sal_uInt16 nAssocItemId
, sal_uInt16 nRegionId
, sal_uInt16 nIdx
,
26 const OUString
&rTitle
, const OUString
&rSubtitle
,
27 const OUString
&rPath
, const BitmapEx
&rImage
);
30 virtual void OnItemDblClicked(ThumbnailViewItem
*pItem
);
33 Link maOpenTemplateHdl
;
36 #endif // __SFX2_TEMPLATESEARCHVIEW_HXX__
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */