Branch libreoffice-5-0-4
[LibreOffice.git] / include / svx / sdr / attribute / sdrformtextattribute.hxx
blob970fbb50872ccadcc7ba10975e4de383f2cee99f
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SVX_SDR_ATTRIBUTE_SDRFORMTEXTATTRIBUTE_HXX
21 #define INCLUDED_SVX_SDR_ATTRIBUTE_SDRFORMTEXTATTRIBUTE_HXX
23 #include <sal/types.h>
24 #include <svx/xenum.hxx>
25 #include <tools/color.hxx>
28 // predefines
30 class SfxItemSet;
32 namespace drawinglayer { namespace attribute {
33 class ImpSdrFormTextAttribute;
34 class SdrFormTextOutlineAttribute;
39 namespace drawinglayer
41 namespace attribute
43 class SdrFormTextAttribute
45 private:
46 ImpSdrFormTextAttribute* mpSdrFormTextAttribute;
48 public:
49 /// constructors/assignmentoperator/destructor
50 SdrFormTextAttribute(const SfxItemSet& rSet);
51 SdrFormTextAttribute();
52 SdrFormTextAttribute(const SdrFormTextAttribute& rCandidate);
53 SdrFormTextAttribute& operator=(const SdrFormTextAttribute& rCandidate);
54 ~SdrFormTextAttribute();
56 // checks if the incarnation is default constructed
57 bool isDefault() const;
59 // compare operator
60 bool operator==(const SdrFormTextAttribute& rCandidate) const;
62 // data read access
63 sal_Int32 getFormTextDistance() const;
64 sal_Int32 getFormTextStart() const;
65 sal_Int32 getFormTextShdwXVal() const;
66 sal_Int32 getFormTextShdwYVal() const;
67 XFormTextStyle getFormTextStyle() const;
68 XFormTextAdjust getFormTextAdjust() const;
69 XFormTextShadow getFormTextShadow() const;
70 Color getFormTextShdwColor() const;
71 const SdrFormTextOutlineAttribute& getOutline() const;
72 const SdrFormTextOutlineAttribute& getShadowOutline() const;
73 bool getFormTextMirror() const;
74 bool getFormTextOutline() const;
76 } // end of namespace attribute
77 } // end of namespace drawinglayer
81 #endif // INCLUDED_SVX_SDR_ATTRIBUTE_SDRFORMTEXTATTRIBUTE_HXX
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */