Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / include / sfx2 / templateremoteview.hxx
blob067ef0ad7f64261562183abdfcf396cb0631df10
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_TEMPLATEREMOTEVIEW_HXX
11 #define INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
13 #include <sfx2/templateabstractview.hxx>
14 #include <sfx2/templateproperties.hxx>
16 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
18 class TemplateRepository;
20 class TemplateRemoteView : public TemplateAbstractView
22 public:
24 TemplateRemoteView (vcl::Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren);
26 virtual void showAllTemplates () override;
28 virtual void showRegion (TemplateContainerItem *pItem) override;
30 bool loadRepository (TemplateRepository* pRepository);
32 virtual sal_uInt16 createRegion (const OUString &rName) override;
34 private:
36 css::uno::Reference< css::ucb::XCommandEnvironment > m_xCmdEnv;
39 #endif // INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */