1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef _SWTITLEPAGE_HXX
11 #define _SWTITLEPAGE_HXX
13 #include <sfx2/basedlgs.hxx>
14 #include <vcl/button.hxx>
15 #include <vcl/field.hxx>
16 #include <vcl/fixed.hxx>
17 #include <vcl/lstbox.hxx>
18 #include <numberingtypelistbox.hxx>
24 class SwTitlePageDlg
: public SfxModalDialog
27 RadioButton
* m_pUseExistingPagesRB
;
28 NumericField
* m_pPageCountNF
;
30 RadioButton
* m_pDocumentStartRB
;
31 RadioButton
* m_pPageStartRB
;
32 NumericField
* m_pPageStartNF
;
34 CheckBox
* m_pRestartNumberingCB
;
35 NumericField
* m_pRestartNumberingNF
;
36 CheckBox
* m_pSetPageNumberCB
;
37 NumericField
* m_pSetPageNumberNF
;
39 ListBox
* m_pPagePropertiesLB
;
40 PushButton
* m_pPagePropertiesPB
;
46 const SwFmtPageDesc
*mpPageFmtDesc
;
48 SwPageDesc
*mpTitleDesc
;
49 const SwPageDesc
*mpIndexDesc
;
50 const SwPageDesc
*mpNormalDesc
;
54 sal_uInt16
GetInsertPosition() const;
56 DECL_LINK(OKHdl
, void *);
57 DECL_LINK(EditHdl
, void *);
58 DECL_LINK(RestartNumberingHdl
, void *);
59 DECL_LINK(SetPageNumberHdl
, void *);
60 DECL_LINK(UpHdl
, void *);
61 DECL_LINK(DownHdl
, void *);
62 DECL_LINK(StartPageHdl
, void *);
64 SwTitlePageDlg( Window
*pParent
);
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */