LibreOffice Module cui (master)  1
dstribut.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_CUI_SOURCE_INC_DSTRIBUT_HXX
20 #define INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX
21 
22 #include <sfx2/tabdlg.hxx>
23 #include <svx/dstribut_enum.hxx>
24 #include <vcl/weld.hxx>
25 
27 {
30 
31  std::unique_ptr<weld::RadioButton> m_xBtnHorNone;
32  std::unique_ptr<weld::RadioButton> m_xBtnHorLeft;
33  std::unique_ptr<weld::RadioButton> m_xBtnHorCenter;
34  std::unique_ptr<weld::RadioButton> m_xBtnHorDistance;
35  std::unique_ptr<weld::RadioButton> m_xBtnHorRight;
36  std::unique_ptr<weld::RadioButton> m_xBtnVerNone;
37  std::unique_ptr<weld::RadioButton> m_xBtnVerTop;
38  std::unique_ptr<weld::RadioButton> m_xBtnVerCenter;
39  std::unique_ptr<weld::RadioButton> m_xBtnVerDistance;
40  std::unique_ptr<weld::RadioButton> m_xBtnVerBottom;
41 
42 public:
43  SvxDistributePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs,
46  virtual ~SvxDistributePage() override;
47 
48  virtual bool FillItemSet(SfxItemSet*) override;
49  virtual void Reset(const SfxItemSet*) override;
50 
53 };
54 
56 {
58 
59 public:
60  SvxDistributeDialog(weld::Window* pParent, const SfxItemSet& rAttr,
63  virtual ~SvxDistributeDialog() override;
64 
67 };
68 
69 
70 #endif // INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX
71 
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SvxDistributePage * mpPage
Definition: dstribut.hxx:57
std::unique_ptr< weld::RadioButton > m_xBtnHorNone
Definition: dstribut.hxx:31
std::unique_ptr< weld::RadioButton > m_xBtnHorCenter
Definition: dstribut.hxx:33
virtual void Reset(const SfxItemSet *) override
Definition: dstribut.cxx:79
SvxDistributeHorizontal m_eDistributeHor
Definition: dstribut.hxx:28
std::unique_ptr< weld::RadioButton > m_xBtnHorLeft
Definition: dstribut.hxx:32
SvxDistributeHorizontal GetDistributeHor() const
Definition: dstribut.hxx:65
SvxDistributeDialog(weld::Window *pParent, const SfxItemSet &rAttr, SvxDistributeHorizontal eHor, SvxDistributeVertical eVer)
Definition: dstribut.cxx:29
std::unique_ptr< weld::RadioButton > m_xBtnHorDistance
Definition: dstribut.hxx:34
virtual ~SvxDistributePage() override
Definition: dstribut.cxx:69
std::unique_ptr< weld::RadioButton > m_xBtnVerDistance
Definition: dstribut.hxx:39
SvxDistributeVertical GetDistributeVer() const
Definition: dstribut.hxx:66
virtual bool FillItemSet(SfxItemSet *) override
Definition: dstribut.cxx:118
SvxDistributeVertical
virtual ~SvxDistributeDialog() override
Definition: dstribut.cxx:39
std::unique_ptr< weld::RadioButton > m_xBtnVerCenter
Definition: dstribut.hxx:38
std::unique_ptr< weld::RadioButton > m_xBtnVerNone
Definition: dstribut.hxx:36
SvxDistributePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs, SvxDistributeHorizontal eHor, SvxDistributeVertical eVer)
Definition: dstribut.cxx:49
std::unique_ptr< weld::RadioButton > m_xBtnHorRight
Definition: dstribut.hxx:35
SvxDistributeHorizontal GetDistributeHor() const
Definition: dstribut.hxx:51
SvxDistributeVertical m_eDistributeVer
Definition: dstribut.hxx:29
std::unique_ptr< weld::RadioButton > m_xBtnVerBottom
Definition: dstribut.hxx:40
SvxDistributeVertical GetDistributeVer() const
Definition: dstribut.hxx:52
SvxDistributeHorizontal
std::unique_ptr< weld::RadioButton > m_xBtnVerTop
Definition: dstribut.hxx:37