Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / svx / inc / sdr / attribute / sdrlineeffectstextattribute.hxx
blob3134b0b78b4e75a43766968e187682f7068494b4
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 #pragma once
22 #include <sdr/attribute/sdreffectstextattribute.hxx>
23 #include <drawinglayer/attribute/sdrglowattribute.hxx>
24 #include <drawinglayer/attribute/sdrlineattribute.hxx>
25 #include <drawinglayer/attribute/sdrlinestartendattribute.hxx>
28 namespace drawinglayer::attribute
30 class SdrLineEffectsTextAttribute : public SdrEffectsTextAttribute
32 // line, shadow, lineStartEnd and text attributes
33 SdrLineAttribute maLine; // line attributes (if used)
34 SdrLineStartEndAttribute maLineStartEnd; // line start end (if used)
36 public:
37 SdrLineEffectsTextAttribute(
38 SdrLineAttribute aLine,
39 SdrLineStartEndAttribute aLineStartEnd,
40 const SdrShadowAttribute& rShadow,
41 const SdrTextAttribute& rTextAttribute,
42 const SdrGlowAttribute& rGlow,
43 sal_Int32 nSoftEdgeRadius);
44 SdrLineEffectsTextAttribute();
45 SdrLineEffectsTextAttribute(const SdrLineEffectsTextAttribute& rCandidate);
46 SdrLineEffectsTextAttribute& operator=(const SdrLineEffectsTextAttribute& rCandidate);
48 // checks if the incarnation is default constructed
49 bool isDefault() const;
51 // compare operator
52 bool operator==(const SdrLineEffectsTextAttribute& rCandidate) const;
54 // data access
55 const SdrLineAttribute& getLine() const { return maLine; }
56 const SdrLineStartEndAttribute& getLineStartEnd() const { return maLineStartEnd; }
59 } // end of namespace drawinglayer::attribute
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */