Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #ifndef SC_HFEDTDLG_HXX
21 : #define SC_HFEDTDLG_HXX
22 :
23 : #include <sfx2/tabdlg.hxx>
24 : #include <svx/pageitem.hxx>
25 :
26 :
27 : #include "sc.hrc"
28 :
29 :
30 : //==================================================================
31 :
32 0 : class ScHFEditDlg : public SfxTabDialog
33 : {
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 );
41 : };
42 :
43 0 : class ScHFEditHeaderDlg : public ScHFEditDlg
44 : {
45 : public:
46 : ScHFEditHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
47 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
48 : };
49 :
50 0 : class ScHFEditFooterDlg : public ScHFEditDlg
51 : {
52 : public:
53 : ScHFEditFooterDlg(SfxViewFrame* pFrame, Window* pParent,
54 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
55 : };
56 :
57 0 : class ScHFEditLeftHeaderDlg : public ScHFEditDlg
58 : {
59 : public:
60 : ScHFEditLeftHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
61 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
62 : };
63 :
64 0 : class ScHFEditRightHeaderDlg : public ScHFEditDlg
65 : {
66 : public:
67 : ScHFEditRightHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
68 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
69 : };
70 :
71 0 : class ScHFEditLeftFooterDlg : public ScHFEditDlg
72 : {
73 : public:
74 : ScHFEditLeftFooterDlg(SfxViewFrame* pFrame, Window* pParent,
75 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
76 : };
77 :
78 0 : class ScHFEditRightFooterDlg : public ScHFEditDlg
79 : {
80 : public:
81 : ScHFEditRightFooterDlg(SfxViewFrame* pFrame, Window* pParent,
82 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
83 : };
84 :
85 0 : class ScHFEditSharedHeaderDlg : public ScHFEditDlg
86 : {
87 : public:
88 : ScHFEditSharedHeaderDlg(SfxViewFrame* pFrame, Window* pParent,
89 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
90 : };
91 :
92 0 : class ScHFEditSharedFooterDlg : public ScHFEditDlg
93 : {
94 : public:
95 : ScHFEditSharedFooterDlg(SfxViewFrame* pFrame, Window* pParent,
96 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
97 : };
98 :
99 0 : class ScHFEditAllDlg : public ScHFEditDlg
100 : {
101 : public:
102 : ScHFEditAllDlg(SfxViewFrame* pFrame, Window* pParent,
103 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
104 : };
105 :
106 0 : class ScHFEditActiveDlg : public ScHFEditDlg
107 : {
108 : public:
109 : ScHFEditActiveDlg(SfxViewFrame* pFrame, Window* pParent,
110 : const SfxItemSet& rCoreSet, const OUString& rPageStyle);
111 : };
112 :
113 : #endif // SC_HFEDTDLG_HXX
114 :
115 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|