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_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
24 TemplateRemoteView (Window
*pParent
, WinBits nWinStyle
, bool bDisableTransientChildren
);
26 virtual ~TemplateRemoteView ();
28 virtual void showRootRegion ();
30 virtual void showRegion (ThumbnailViewItem
*pItem
);
32 bool loadRepository (TemplateRepository
* pRepository
, bool bRefresh
);
34 virtual sal_uInt16
createRegion (const OUString
&rName
);
36 virtual bool isNestedRegionAllowed () const;
38 virtual bool isImportAllowed () const;
42 com::sun::star::uno::Reference
< com::sun::star::ucb::XCommandEnvironment
> m_xCmdEnv
;
45 #endif // INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */