Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / hfedtdlg.hxx
blobcd8335b9658e8c338c14ba220cea900f6aa08973
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 .
20 #ifndef SC_HFEDTDLG_HXX
21 #define SC_HFEDTDLG_HXX
23 #include <sfx2/tabdlg.hxx>
24 #include <svx/pageitem.hxx>
27 #include "sc.hrc"
30 //==================================================================
32 class ScHFEditDlg : public SfxTabDialog
34 SvxNumType eNumType;
35 protected:
36 ScHFEditDlg(SfxViewFrame* pFrame, Window* pParent,
37 const SfxItemSet& rCoreSet, const OUString& rPageStyle,
38 const OString& rID, const OUString& rUIXMLDescription );
39 public:
40 virtual void PageCreated( sal_uInt16 nId, SfxTabPage& rPage );
43 class ScHFEditHeaderDlg : public ScHFEditDlg
45 public:
46 ScHFEditHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
47 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
50 class ScHFEditFooterDlg : public ScHFEditDlg
52 public:
53 ScHFEditFooterDlg(SfxViewFrame* pFrame, Window* pParent,
54 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
57 class ScHFEditLeftHeaderDlg : public ScHFEditDlg
59 public:
60 ScHFEditLeftHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
61 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
64 class ScHFEditRightHeaderDlg : public ScHFEditDlg
66 public:
67 ScHFEditRightHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
68 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
71 class ScHFEditLeftFooterDlg : public ScHFEditDlg
73 public:
74 ScHFEditLeftFooterDlg(SfxViewFrame* pFrame, Window* pParent,
75 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
78 class ScHFEditRightFooterDlg : public ScHFEditDlg
80 public:
81 ScHFEditRightFooterDlg(SfxViewFrame* pFrame, Window* pParent,
82 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
85 class ScHFEditSharedHeaderDlg : public ScHFEditDlg
87 public:
88 ScHFEditSharedHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
89 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
92 class ScHFEditSharedFooterDlg : public ScHFEditDlg
94 public:
95 ScHFEditSharedFooterDlg(SfxViewFrame* pFrame, Window* pParent,
96 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
99 class ScHFEditAllDlg : public ScHFEditDlg
101 public:
102 ScHFEditAllDlg(SfxViewFrame* pFrame, Window* pParent,
103 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
106 class ScHFEditActiveDlg : public ScHFEditDlg
108 public:
109 ScHFEditActiveDlg(SfxViewFrame* pFrame, Window* pParent,
110 const SfxItemSet& rCoreSet, const OUString& rPageStyle);
113 #endif // SC_HFEDTDLG_HXX
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */