1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _SDR_ATTRIBUTE_SDRFORMTEXTOUTLINEATTRIBUTE_HXX
25 #define _SDR_ATTRIBUTE_SDRFORMTEXTOUTLINEATTRIBUTE_HXX
26 
27 #include <sal/types.h>
28 
29 //////////////////////////////////////////////////////////////////////////////
30 // predefines
31 
32 namespace drawinglayer { namespace attribute {
33 	class ImpSdrFormTextOutlineAttribute;
34 	class LineAttribute;
35 	class StrokeAttribute;
36 }}
37 
38 //////////////////////////////////////////////////////////////////////////////
39 
40 namespace drawinglayer
41 {
42 	namespace attribute
43 	{
44         class SdrFormTextOutlineAttribute
45         {
46         private:
47             ImpSdrFormTextOutlineAttribute*		mpSdrFormTextOutlineAttribute;
48 
49 		public:
50             /// constructors/assignmentoperator/destructor
51 			SdrFormTextOutlineAttribute(
52 				const LineAttribute& rLineAttribute,
53                 const StrokeAttribute& rStrokeAttribute,
54                 sal_uInt8 nTransparence);
55 			SdrFormTextOutlineAttribute();
56 			SdrFormTextOutlineAttribute(const SdrFormTextOutlineAttribute& rCandidate);
57 			SdrFormTextOutlineAttribute& operator=(const SdrFormTextOutlineAttribute& rCandidate);
58 			~SdrFormTextOutlineAttribute();
59 
60             // checks if the incarnation is default constructed
61             bool isDefault() const;
62 
63             // compare operator
64 			bool operator==(const SdrFormTextOutlineAttribute& rCandidate) const;
65 
66 			// data read access
67             const LineAttribute& getLineAttribute() const;
68             const StrokeAttribute& getStrokeAttribute() const;
69             sal_uInt8 getTransparence() const;
70         };
71 	} // end of namespace attribute
72 } // end of namespace drawinglayer
73 
74 //////////////////////////////////////////////////////////////////////////////
75 
76 #endif // _SDR_ATTRIBUTE_SDRFORMTEXTOUTLINEATTRIBUTE_HXX
77 
78 // eof
79