bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / titlepage.hxx
blob6a9431e36150c96ffa5a03ea968862b5795ec814
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/.
8 */
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>
20 class Window;
21 class SwWrtShell;
22 class SwPageDesc;
24 class SwTitlePageDlg : public SfxModalDialog
26 private:
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;
42 OKButton* m_pOkPB;
44 SwWrtShell *mpSh;
46 const SwFmtPageDesc *mpPageFmtDesc;
48 SwPageDesc *mpTitleDesc;
49 const SwPageDesc *mpIndexDesc;
50 const SwPageDesc *mpNormalDesc;
52 void FillList();
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 *);
63 public:
64 SwTitlePageDlg( Window *pParent );
65 ~SwTitlePageDlg();
68 #endif
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */