xref: /aoo4110/main/svx/inc/svx/sxcaitm.hxx (revision b1cdbd2c)
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 #ifndef _SXCAITM_HXX
24 #define _SXCAITM_HXX
25 
26 #include <svx/svddef.hxx>
27 
28 #ifndef _SDRANGITM_HXX
29 #include <svx/sdangitm.hxx>
30 #endif
31 #include <svx/sdooitm.hxx>
32 
33 //------------------------------------
34 // class SdrCaptionFixedAngleItem
35 // sal_True=Winkel durch SdrCaptionAngleItem vorgegeben
36 // sal_False=Freier Winkel
37 //------------------------------------
38 class SdrCaptionFixedAngleItem: public SdrOnOffItem {
39 public:
SdrCaptionFixedAngleItem(sal_Bool bFix=sal_True)40 	SdrCaptionFixedAngleItem(sal_Bool bFix=sal_True): SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,bFix) {}
SdrCaptionFixedAngleItem(SvStream & rIn)41 	SdrCaptionFixedAngleItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,rIn)  {}
42 };
43 
44 //------------------------------
45 // class SdrCaptionAngleItem
46 // Winkelangabe in 1/100 Degree
47 // Nur bei Type2, Type3 und Type4
48 // und nur wenn SdrCaptionIsFixedAngleItem=TRUE
49 //------------------------------
50 class SdrCaptionAngleItem: public SdrAngleItem {
51 public:
SdrCaptionAngleItem(long nAngle=0)52 	SdrCaptionAngleItem(long nAngle=0): SdrAngleItem(SDRATTR_CAPTIONANGLE,nAngle) {}
SdrCaptionAngleItem(SvStream & rIn)53 	SdrCaptionAngleItem(SvStream& rIn): SdrAngleItem(SDRATTR_CAPTIONANGLE,rIn)    {}
54 };
55 
56 #endif
57