merged tag LIBREOFFICE_3_2_99_3
[LibreOffice.git] / sd / source / ui / inc / prltempl.hxx
blobf182f4311dabde1e27c487883d1b9641649909cd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
30 #ifndef SD_PRLTEMPL_HXX
31 #define SD_PRLTEMPL_HXX
33 #include "sdresid.hxx"
34 #include <sfx2/tabdlg.hxx>
35 #include <svx/tabarea.hxx>
37 #include "prlayout.hxx" // fuer enum PresentationObjects
40 class XColorTable;
41 class XGradientList;
42 class XHatchList;
43 class XBitmapList;
44 class XDashList;
45 class XLineEndList;
46 class SfxObjectShell;
47 class SfxStyleSheetBase;
48 class SfxStyleSheetBasePool;
50 /*************************************************************************
52 |* Vorlagen-Tab-Dialog
54 \************************************************************************/
55 class SdPresLayoutTemplateDlg : public SfxTabDialog
57 private:
58 const SfxObjectShell* mpDocShell;
60 XColorTable* pColorTab;
61 XGradientList* pGradientList;
62 XHatchList* pHatchingList;
63 XBitmapList* pBitmapList;
64 XDashList* pDashList;
65 XLineEndList* pLineEndList;
67 USHORT nPageType;
68 USHORT nDlgType;
69 USHORT nPos;
71 ChangeType nColorTableState;
72 ChangeType nBitmapListState;
73 ChangeType nGradientListState;
74 ChangeType nHatchingListState;
75 ChangeType nLineEndListState;
76 ChangeType nDashListState;
78 PresentationObjects ePO;
80 virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
82 // fuers Maping mit dem neuen SvxNumBulletItem
83 SfxItemSet aInputSet;
84 SfxItemSet* pOutSet;
85 const SfxItemSet* pOrgSet;
87 USHORT GetOutlineLevel() const;
89 using SfxTabDialog::GetOutputItemSet;
91 public:
92 SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool );
93 ~SdPresLayoutTemplateDlg();
95 const SfxItemSet* GetOutputItemSet() const;
99 #endif // SD_PRLTEMPL_HXX
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */