tdf#154285 Check upper bound of arguments in SbRtl_Minute function
[LibreOffice.git] / cui / source / inc / TextColumnsPage.hxx
blob0aa6e2c9e80045f61e5c48bfd96649fd9a076a00
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.
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 */
10 #pragma once
12 #include <sal/config.h>
14 #include <sfx2/tabdlg.hxx>
16 #include <memory>
18 /// Tab page for EditEngine columns properties
19 class SvxTextColumnsPage : public SfxTabPage
21 private:
22 static const WhichRangesContainer pRanges;
24 std::unique_ptr<weld::SpinButton> m_xColumnsNumber;
25 std::unique_ptr<weld::MetricSpinButton> m_xColumnsSpacing;
27 public:
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: */