bump product version to 5.0.4.1
[LibreOffice.git] / sfx2 / source / inc / templatesearchview.hxx
blob86551f3fd0d9aba0aed02983a698024eae9f3ed9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
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
17 public:
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 );
27 protected:
28 virtual void OnItemDblClicked(ThumbnailViewItem *pItem) SAL_OVERRIDE;
30 protected:
31 Link<> maOpenTemplateHdl;
34 #endif // INCLUDED_SFX2_SOURCE_INC_TEMPLATESEARCHVIEW_HXX
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */