Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / include / sfx2 / templatedefaultview.hxx
blob4438536c9a2efb68d35b294c47399b67cb972752
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_TEMPLATEDEFAULTVIEW_HXX
11 #define INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
13 #include <sfx2/templatelocalview.hxx>
15 class SFX2_DLLPUBLIC TemplateDefaultView : public TemplateLocalView
17 public:
18 TemplateDefaultView(Window *pParent);
20 virtual void reload() override;
22 virtual void showAllTemplates () override;
24 virtual void KeyInput( const KeyEvent& rKEvt ) override;
26 void createContextMenu();
28 DECL_LINK_TYPED(ContextMenuSelectHdl, Menu*, void);
29 protected:
30 long mnItemMaxSize;
31 long mnTextHeight;
32 long mnItemPadding;
35 #endif // INCLUDED_SFX2_TEMPLATEDEFAULTVIEW_HXX
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */