xref: /trunk/main/svx/inc/svx/sxenditm.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 _SXENDITM_HXX
24 #define _SXENDITM_HXX
25 
26 #include <svx/svddef.hxx>
27 #include <svx/sdmetitm.hxx>
28 #include "svx/svxdllapi.h"
29 
30 class SVX_DLLPUBLIC SdrEdgeNode1HorzDistItem: public SdrMetricItem {
31 public:
SdrEdgeNode1HorzDistItem(long nVal=0)32 	SdrEdgeNode1HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,nVal)  {}
SdrEdgeNode1HorzDistItem(SvStream & rIn)33 	SdrEdgeNode1HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,rIn) {}
34 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
35 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
36 };
37 
38 class SVX_DLLPUBLIC SdrEdgeNode1VertDistItem: public SdrMetricItem {
39 public:
SdrEdgeNode1VertDistItem(long nVal=0)40 	SdrEdgeNode1VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,nVal)  {}
SdrEdgeNode1VertDistItem(SvStream & rIn)41 	SdrEdgeNode1VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,rIn) {}
42 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
43 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
44 };
45 
46 class SVX_DLLPUBLIC SdrEdgeNode2HorzDistItem: public SdrMetricItem {
47 public:
SdrEdgeNode2HorzDistItem(long nVal=0)48 	SdrEdgeNode2HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,nVal)  {}
SdrEdgeNode2HorzDistItem(SvStream & rIn)49 	SdrEdgeNode2HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,rIn) {}
50 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
51 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
52 };
53 
54 class SVX_DLLPUBLIC SdrEdgeNode2VertDistItem: public SdrMetricItem {
55 public:
SdrEdgeNode2VertDistItem(long nVal=0)56 	SdrEdgeNode2VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,nVal)  {}
SdrEdgeNode2VertDistItem(SvStream & rIn)57 	SdrEdgeNode2VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,rIn) {}
58 	virtual	sal_Bool        	 QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
59 	virtual	sal_Bool			 PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
60 };
61 
62 class SdrEdgeNode1GlueDistItem: public SdrMetricItem {
63 public:
SdrEdgeNode1GlueDistItem(long nVal=0)64 	SdrEdgeNode1GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1GLUEDIST,nVal)  {}
SdrEdgeNode1GlueDistItem(SvStream & rIn)65 	SdrEdgeNode1GlueDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1GLUEDIST,rIn) {}
66 };
67 
68 class SdrEdgeNode2GlueDistItem: public SdrMetricItem {
69 public:
SdrEdgeNode2GlueDistItem(long nVal=0)70 	SdrEdgeNode2GlueDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2GLUEDIST,nVal)  {}
SdrEdgeNode2GlueDistItem(SvStream & rIn)71 	SdrEdgeNode2GlueDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2GLUEDIST,rIn) {}
72 };
73 
74 #endif
75