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