bump product version to 4.1.6.2
[LibreOffice.git] / sd / source / ui / inc / prltempl.hxx
blob2f9a13cca0e382c8b42f110984207f57732efc8d
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #ifndef SD_PRLTEMPL_HXX
22 #define SD_PRLTEMPL_HXX
24 #include "sdresid.hxx"
25 #include <sfx2/tabdlg.hxx>
26 #include <svx/tabarea.hxx>
28 #include "prlayout.hxx" // for enum PresentationObjects
31 class SfxObjectShell;
32 class SfxStyleSheetBase;
33 class SfxStyleSheetBasePool;
35 /**
36 * Template-Tab-Dialog
38 class SdPresLayoutTemplateDlg : public SfxTabDialog
40 private:
41 const SfxObjectShell* mpDocShell;
43 XColorListRef pColorTab;
44 XGradientListRef pGradientList;
45 XHatchListRef pHatchingList;
46 XBitmapListRef pBitmapList;
47 XDashListRef pDashList;
48 XLineEndListRef pLineEndList;
50 sal_uInt16 nPageType;
51 sal_uInt16 nDlgType;
52 sal_uInt16 nPos;
54 ChangeType nColorTableState;
55 ChangeType nBitmapListState;
56 ChangeType nGradientListState;
57 ChangeType nHatchingListState;
59 PresentationObjects ePO;
61 virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
63 // for mapping with the new SvxNumBulletItem
64 SfxItemSet aInputSet;
65 SfxItemSet* pOutSet;
66 const SfxItemSet* pOrgSet;
68 sal_uInt16 GetOutlineLevel() const;
70 using SfxTabDialog::GetOutputItemSet;
72 public:
73 SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool );
74 ~SdPresLayoutTemplateDlg();
76 const SfxItemSet* GetOutputItemSet() const;
80 #endif // SD_PRLTEMPL_HXX
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */