1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
12 #include <sal/config.h>
14 #include <sfx2/tabdlg.hxx>
18 /// Tab page for EditEngine columns properties
19 class SvxTextColumnsPage
: public SfxTabPage
22 static const WhichRangesContainer pRanges
;
24 std::unique_ptr
<weld::SpinButton
> m_xColumnsNumber
;
25 std::unique_ptr
<weld::MetricSpinButton
> m_xColumnsSpacing
;
28 SvxTextColumnsPage(weld::Container
* pPage
, weld::DialogController
* pController
,
29 const SfxItemSet
& rInAttrs
);
30 virtual ~SvxTextColumnsPage() override
;
32 static std::unique_ptr
<SfxTabPage
>
33 Create(weld::Container
* pPage
, weld::DialogController
* pController
, const SfxItemSet
*);
34 static const WhichRangesContainer
& GetRanges() { return pRanges
; }
36 virtual bool FillItemSet(SfxItemSet
*) override
;
37 virtual void Reset(const SfxItemSet
*) override
;
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */