bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / linenum.hxx
blob96af07a3db55d749fa3e22f1141619fce343e634
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 .
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>
28 class Window;
29 class SwView;
30 class SwWrtShell;
32 class SwLineNumberingDlg : public SfxModalDialog
34 private:
35 SwWrtShell* pSh;
36 VclContainer* m_pBodyContent;
37 Window* m_pDivIntervalFT;
38 NumericField* m_pDivIntervalNF;
39 Window* m_pDivRowsFT;
40 NumericField* m_pNumIntervalNF;
41 ListBox* m_pCharStyleLB;
42 SwNumberingTypeListBox* m_pFormatLB;
43 ListBox* m_pPosLB;
44 MetricField* m_pOffsetMF;
45 Edit* m_pDivisorED;
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);
55 public:
56 SwWrtShell* GetWrtShell() const { return pSh; }
58 SwLineNumberingDlg(SwView *pVw);
59 ~SwLineNumberingDlg();
62 #endif
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */