xref: /trunk/main/svx/inc/svx/sxelditm.hxx (revision 3334a7e6)
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 _SXELDITM_HXX
24 #define _SXELDITM_HXX
25 
26 #include <svx/svddef.hxx>
27 #include <svx/sdmetitm.hxx>
28 #include "svx/svxdllapi.h"
29 
30 class SdrEdgeLineDeltaAnzItem: public SfxUInt16Item {
31 public:
SdrEdgeLineDeltaAnzItem(sal_uInt16 nVal=0)32 	SdrEdgeLineDeltaAnzItem(sal_uInt16 nVal=0): SfxUInt16Item(SDRATTR_EDGELINEDELTAANZ,nVal) {}
SdrEdgeLineDeltaAnzItem(SvStream & rIn)33 	SdrEdgeLineDeltaAnzItem(SvStream& rIn): SfxUInt16Item(SDRATTR_EDGELINEDELTAANZ,rIn)  {}
34 };
35 
36 class SVX_DLLPUBLIC SdrEdgeLine1DeltaItem: public SdrMetricItem {
37 public:
SdrEdgeLine1DeltaItem(long nVal=0)38 	SdrEdgeLine1DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE1DELTA,nVal)  {}
SdrEdgeLine1DeltaItem(SvStream & rIn)39 	SdrEdgeLine1DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE1DELTA,rIn) {}
40 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
41 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
42 };
43 
44 class SVX_DLLPUBLIC SdrEdgeLine2DeltaItem: public SdrMetricItem {
45 public:
SdrEdgeLine2DeltaItem(long nVal=0)46 	SdrEdgeLine2DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE2DELTA,nVal)  {}
SdrEdgeLine2DeltaItem(SvStream & rIn)47 	SdrEdgeLine2DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE2DELTA,rIn) {}
48 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
49 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
50 };
51 
52 class SVX_DLLPUBLIC SdrEdgeLine3DeltaItem: public SdrMetricItem {
53 public:
SdrEdgeLine3DeltaItem(long nVal=0)54 	SdrEdgeLine3DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE3DELTA,nVal)  {}
SdrEdgeLine3DeltaItem(SvStream & rIn)55 	SdrEdgeLine3DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE3DELTA,rIn) {}
56 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
57 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
58 };
59 
60 #endif
61