Bump version to 4.1-6
[LibreOffice.git] / sfx2 / source / inc / templatesearchview.hxx
blobf1bb49c93aa9e8ef1c8d24ea262a8ba4aa40a66b
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 __SFX2_TEMPLATESEARCHVIEW_HXX__
11 #define __SFX2_TEMPLATESEARCHVIEW_HXX__
13 #include <sfx2/thumbnailview.hxx>
15 class TemplateSearchView : public ThumbnailView
17 public:
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 );
29 protected:
30 virtual void OnItemDblClicked(ThumbnailViewItem *pItem);
32 protected:
33 Link maOpenTemplateHdl;
36 #endif // __SFX2_TEMPLATESEARCHVIEW_HXX__
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */