LibreOffice Module cui (master)  1
TextColumnsPage.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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 
10 #pragma once
11 
12 #include <sal/config.h>
13 
14 #include <sfx2/tabdlg.hxx>
15 
16 #include <memory>
17 
20 {
21 private:
23 
24  std::unique_ptr<weld::SpinButton> m_xColumnsNumber;
25  std::unique_ptr<weld::MetricSpinButton> m_xColumnsSpacing;
26 
27 public:
29  const SfxItemSet& rInAttrs);
30  virtual ~SvxTextColumnsPage() override;
31 
32  static std::unique_ptr<SfxTabPage>
33  Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet*);
34  static WhichRangesContainer GetRanges() { return pRanges; }
35 
36  virtual bool FillItemSet(SfxItemSet*) override;
37  virtual void Reset(const SfxItemSet*) override;
38 };
39 
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
static WhichRangesContainer GetRanges()
virtual void Reset(const SfxItemSet *) override
std::unique_ptr< weld::SpinButton > m_xColumnsNumber
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
SvxTextColumnsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
virtual ~SvxTextColumnsPage() override
std::unique_ptr< weld::MetricSpinButton > m_xColumnsSpacing
Tab page for EditEngine columns properties.
virtual bool FillItemSet(SfxItemSet *) override
static const WhichRangesContainer pRanges