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{
21private:
23
24 std::unique_ptr<weld::SpinButton> m_xColumnsNumber;
25 std::unique_ptr<weld::MetricSpinButton> m_xColumnsSpacing;
26
27public:
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*);
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: */
Tab page for EditEngine columns properties.
std::unique_ptr< weld::MetricSpinButton > m_xColumnsSpacing
virtual bool FillItemSet(SfxItemSet *) override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
virtual ~SvxTextColumnsPage() override
virtual void Reset(const SfxItemSet *) override
SvxTextColumnsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
static WhichRangesContainer GetRanges()
static const WhichRangesContainer pRanges
std::unique_ptr< weld::SpinButton > m_xColumnsNumber