LibreOffice Module sw (master)  1
linenum.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_LINENUM_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_LINENUM_HXX
21 
22 #include <sfx2/basedlgs.hxx>
23 #include "numberingtypelistbox.hxx"
24 
25 class SwView;
26 class SwWrtShell;
27 
29 {
30 private:
32  std::unique_ptr<weld::Widget> m_xBodyContent;
33  std::unique_ptr<weld::Widget> m_xDivIntervalFT;
34  std::unique_ptr<weld::SpinButton> m_xDivIntervalNF;
35  std::unique_ptr<weld::Widget> m_xDivRowsFT;
36  std::unique_ptr<weld::SpinButton> m_xNumIntervalNF;
37  std::unique_ptr<weld::ComboBox> m_xCharStyleLB;
38  std::unique_ptr<SwNumberingTypeListBox> m_xFormatLB;
39  std::unique_ptr<weld::ComboBox> m_xPosLB;
40  std::unique_ptr<weld::MetricSpinButton> m_xOffsetMF;
41  std::unique_ptr<weld::Entry> m_xDivisorED;
42  std::unique_ptr<weld::CheckButton> m_xCountEmptyLinesCB;
43  std::unique_ptr<weld::CheckButton> m_xCountFrameLinesCB;
44  std::unique_ptr<weld::CheckButton> m_xRestartEachPageCB;
45  std::unique_ptr<weld::CheckButton> m_xNumberingOnCB;
46  std::unique_ptr<weld::CheckButton> m_xNumberingOnFooterHeader;
47  std::unique_ptr<weld::Button> m_xOKButton;
48  std::unique_ptr<weld::Widget> m_xNumIntervalFT;
49  std::unique_ptr<weld::Widget> m_xNumRowsFT;
50  DECL_LINK(OKHdl, weld::Button&, void);
51  DECL_LINK(LineOnOffHdl, weld::Button&, void);
52  DECL_LINK(ModifyHdl, weld::Entry&, void);
53 
54 public:
55  SwLineNumberingDlg(const SwView& rVw);
56  virtual ~SwLineNumberingDlg() override;
57 };
58 
59 #endif
60 
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
DECL_LINK(OKHdl, weld::Button &, void)
std::unique_ptr< weld::SpinButton > m_xNumIntervalNF
Definition: linenum.hxx:36
std::unique_ptr< weld::CheckButton > m_xCountFrameLinesCB
Definition: linenum.hxx:43
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
std::unique_ptr< weld::Entry > m_xDivisorED
Definition: linenum.hxx:41
std::unique_ptr< weld::ComboBox > m_xCharStyleLB
Definition: linenum.hxx:37
std::unique_ptr< weld::CheckButton > m_xNumberingOnFooterHeader
Definition: linenum.hxx:46
std::unique_ptr< weld::CheckButton > m_xNumberingOnCB
Definition: linenum.hxx:45
SwWrtShell * m_pSh
Definition: linenum.hxx:31
std::unique_ptr< weld::SpinButton > m_xDivIntervalNF
Definition: linenum.hxx:34
std::unique_ptr< weld::Widget > m_xDivIntervalFT
Definition: linenum.hxx:33
std::unique_ptr< SwNumberingTypeListBox > m_xFormatLB
Definition: linenum.hxx:38
virtual ~SwLineNumberingDlg() override
Definition: linenum.cxx:178
std::unique_ptr< weld::Widget > m_xNumRowsFT
Definition: linenum.hxx:49
std::unique_ptr< weld::CheckButton > m_xRestartEachPageCB
Definition: linenum.hxx:44
std::unique_ptr< weld::CheckButton > m_xCountEmptyLinesCB
Definition: linenum.hxx:42
std::unique_ptr< weld::Widget > m_xBodyContent
Definition: linenum.hxx:32
std::unique_ptr< weld::Button > m_xOKButton
Definition: linenum.hxx:47
std::unique_ptr< weld::Widget > m_xNumIntervalFT
Definition: linenum.hxx:48
std::unique_ptr< weld::Widget > m_xDivRowsFT
Definition: linenum.hxx:35
std::unique_ptr< weld::MetricSpinButton > m_xOffsetMF
Definition: linenum.hxx:40
std::unique_ptr< weld::ComboBox > m_xPosLB
Definition: linenum.hxx:39
SwLineNumberingDlg(const SwView &rVw)
Definition: linenum.cxx:66
Definition: view.hxx:146