tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / hfedtdlg.hxx
blob6bec2d99585835a2ae9e9f75f80910f9b5e794f9
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 #pragma once
22 #include <sal/config.h>
24 #include <string_view>
26 #include <sfx2/tabdlg.hxx>
27 #include <editeng/svxenum.hxx>
29 class ScHFEditDlg : public SfxTabDialogController
31 SvxNumType eNumType;
32 protected:
33 ScHFEditDlg(weld::Window* pParent,
34 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle,
35 const OUString& rUIXMLDescription, const OUString& rID);
36 public:
37 virtual void PageCreated(const OUString& rId, SfxTabPage& rPage) override;
40 class ScHFEditHeaderDlg : public ScHFEditDlg
42 public:
43 ScHFEditHeaderDlg(weld::Window* pParent,
44 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
47 class ScHFEditFooterDlg : public ScHFEditDlg
49 public:
50 ScHFEditFooterDlg(weld::Window* pParent,
51 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
54 class ScHFEditSharedFirstHeaderDlg : public ScHFEditDlg
56 public:
57 ScHFEditSharedFirstHeaderDlg(weld::Window* pParent,
58 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
61 class ScHFEditSharedFirstFooterDlg : public ScHFEditDlg
63 public:
64 ScHFEditSharedFirstFooterDlg(weld::Window* pParent,
65 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
68 class ScHFEditSharedLeftHeaderDlg : public ScHFEditDlg
70 public:
71 ScHFEditSharedLeftHeaderDlg(weld::Window* pParent,
72 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
75 class ScHFEditSharedLeftFooterDlg : public ScHFEditDlg
77 public:
78 ScHFEditSharedLeftFooterDlg(weld::Window* pParent,
79 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
82 class ScHFEditFirstHeaderDlg : public ScHFEditDlg
84 public:
85 ScHFEditFirstHeaderDlg(weld::Window* pParent,
86 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
89 class ScHFEditLeftHeaderDlg : public ScHFEditDlg
91 public:
92 ScHFEditLeftHeaderDlg(weld::Window* pParent,
93 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
96 class ScHFEditRightHeaderDlg : public ScHFEditDlg
98 public:
99 ScHFEditRightHeaderDlg(weld::Window* pParent,
100 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
103 class ScHFEditFirstFooterDlg : public ScHFEditDlg
105 public:
106 ScHFEditFirstFooterDlg(weld::Window* pParent,
107 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
110 class ScHFEditLeftFooterDlg : public ScHFEditDlg
112 public:
113 ScHFEditLeftFooterDlg(weld::Window* pParent,
114 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
117 class ScHFEditRightFooterDlg : public ScHFEditDlg
119 public:
120 ScHFEditRightFooterDlg(weld::Window* pParent,
121 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
124 class ScHFEditSharedHeaderDlg : public ScHFEditDlg
126 public:
127 ScHFEditSharedHeaderDlg(weld::Window* pParent,
128 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
131 class ScHFEditSharedFooterDlg : public ScHFEditDlg
133 public:
134 ScHFEditSharedFooterDlg(weld::Window* pParent,
135 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
138 class ScHFEditAllDlg : public ScHFEditDlg
140 public:
141 ScHFEditAllDlg(weld::Window* pParent,
142 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
145 class ScHFEditActiveDlg : public ScHFEditDlg
147 public:
148 ScHFEditActiveDlg(weld::Window* pParent,
149 const SfxItemSet& rCoreSet, std::u16string_view rPageStyle);
152 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */