fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / sfx2 / templatecontaineritem.hxx
blob8f23c281dad035237dbc1646a668e759e58e70ea
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 TEMPLATEFOLDERVIEWITEM_HXX
11 #define TEMPLATEFOLDERVIEWITEM_HXX
13 #include <sfx2/templateproperties.hxx>
14 #include <sfx2/thumbnailviewitem.hxx>
16 class TemplateContainerItem : public ThumbnailViewItem
18 public:
20 sal_uInt16 mnRegionId;
21 BitmapEx maPreview2;
22 BitmapEx maPreview3;
23 BitmapEx maPreview4;
24 std::vector<TemplateItemProperties> maTemplates;
26 TemplateContainerItem (ThumbnailView &rView);
28 virtual ~TemplateContainerItem ();
30 virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor,
31 const ThumbnailItemAttributes *pAttrs);
33 virtual void calculateItemsPosition (const long nThumbnailHeight, const long nDisplayHeight,
34 const long nPadding, sal_uInt32 nMaxTextLenght,
35 const ThumbnailItemAttributes *pAttrs);
37 bool HasMissingPreview( );
39 private:
41 Rectangle maThumbnailArea;
44 #endif // TEMPLATEFOLDERVIEWITEM_HXX
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */