android: Update app-specific/MIME type icons
[LibreOffice.git] / include / svx / RectangleAlignmentItem.hxx
blob91179e628a40ae582296063c6921d67fa5393dd0
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 <svl/eitem.hxx>
13 #include <svx/svxdllapi.h>
15 namespace model
17 enum class RectangleAlignment;
20 /** Item that holds a rectangle alignment value.
22 e.g. Top Left, Top, Top Right, Center.
23 @see model::RectangleAlignment
25 class SVXCORE_DLLPUBLIC SvxRectangleAlignmentItem final
26 : public SfxEnumItem<model::RectangleAlignment>
28 public:
29 SvxRectangleAlignmentItem(sal_uInt16 nWhich, model::RectangleAlignment nValue);
30 virtual ~SvxRectangleAlignmentItem() override;
32 SvxRectangleAlignmentItem(SvxRectangleAlignmentItem const&) = default;
33 SvxRectangleAlignmentItem(SvxRectangleAlignmentItem&&) = default;
34 SvxRectangleAlignmentItem& operator=(SvxRectangleAlignmentItem const&) = delete;
35 SvxRectangleAlignmentItem& operator=(SvxRectangleAlignmentItem&&) = delete;
37 virtual SvxRectangleAlignmentItem* Clone(SfxItemPool* pPool = nullptr) const override;
39 virtual sal_uInt16 GetValueCount() const override;
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */