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/.
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 .
19 #ifndef _SWLINENUM_HXX
20 #define _SWLINENUM_HXX
22 #include <sfx2/basedlgs.hxx>
23 #include <vcl/button.hxx>
24 #include <vcl/layout.hxx>
25 #include <vcl/lstbox.hxx>
26 #include <numberingtypelistbox.hxx>
32 class SwLineNumberingDlg
: public SfxModalDialog
36 VclContainer
* m_pBodyContent
;
37 Window
* m_pDivIntervalFT
;
38 NumericField
* m_pDivIntervalNF
;
40 NumericField
* m_pNumIntervalNF
;
41 ListBox
* m_pCharStyleLB
;
42 SwNumberingTypeListBox
* m_pFormatLB
;
44 MetricField
* m_pOffsetMF
;
46 CheckBox
* m_pCountEmptyLinesCB
;
47 CheckBox
* m_pCountFrameLinesCB
;
48 CheckBox
* m_pRestartEachPageCB
;
49 CheckBox
* m_pNumberingOnCB
;
51 DECL_LINK(OKHdl
, void *);
52 DECL_LINK(LineOnOffHdl
, void * = 0);
53 DECL_LINK(ModifyHdl
, void * = 0);
56 SwWrtShell
* GetWrtShell() const { return pSh
; }
58 SwLineNumberingDlg(SwView
*pVw
);
59 ~SwLineNumberingDlg();
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */