1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#ifndef __com_sun_star_drawing_EnhancedCustomShapePath_idl__ 28#define __com_sun_star_drawing_EnhancedCustomShapePath_idl__ 29 30#ifndef __com_sun_star_awt_Size_idl__ 31#include <com/sun/star/awt/Size.idl> 32#endif 33#ifndef __com_sun_star_awt_Point_idl__ 34#include <com/sun/star/awt/Point.idl> 35#endif 36#ifndef __com_sun_star_beans_PropertyValue_idl__ 37#include <com/sun/star/beans/PropertyValue.idl> 38#endif 39#ifndef __com_sun_star_drawing_EnhancedCustomShapeParameterPair_idl__ 40#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.idl> 41#endif 42#ifndef __sun_star_drawing_EnhancedCustomShapeSegment_idl__ 43#include <com/sun/star/drawing/EnhancedCustomShapeSegment.idl> 44#endif 45#ifndef __sun_star_drawing_EnhancedCustomShapeTextFrame_idl__ 46#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.idl> 47#endif 48 49 50//============================================================================= 51 52module com { module sun { module star { module drawing { 53 54//============================================================================= 55/** 56 This service may be represented by a ::com::sun::star::beans::PropertyValue []. 57*/ 58 59service EnhancedCustomShapePath 60{ 61 /** This property is specifying the points that makes the geometry of the shape 62 */ 63 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> Coordinates; 64 65 /** This property specifies the commands and the way the Coordinates have to be interpreted. 66 */ 67 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeSegment> Segments; 68 69 /** This property specifies the horizontal StretchPoint that has to be used. No stretching is used if 70 this property is omitted. 71 */ 72 [optional, property] long StretchX; 73 74 /** This property specifies the vertical StretchPoint that has to be used. No stretching is used if 75 this property is omitted. 76 */ 77 [optional, property] long StretchY; 78 79 /** This property specifies the text frames that can be used with the shape. In general 80 the first text frame is used, except the shape is containing vertical text, then the object 81 tries to use the second text frame. The default text frame will be as big as the shape. 82 */ 83 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeTextFrame> TextFrames; 84 85 /** This property specifies custom glue points 86 */ 87 [optional, property] sequence<::com::sun::star::drawing::EnhancedCustomShapeParameterPair> GluePoints; 88 89 /** This property specifies GluePoint leaving directions. 90 */ 91 [optional, property] sequence< double > GluePointLeavingDirections; 92 93 /** This property defines the GluePoint type. The values that can be used are 94 specified in com::sun::star::drawing::EnhancedCustomShapeGluePointType 95 */ 96 [optional, property] short GluePointType; 97 98 /** This property specifies if this shape supports the EnhancedCustomShapeExtrusion 99 properties. The default is true. 100 */ 101 [optional, property] boolean ExtrusionAllowed; 102 103 /** This property specifies if this shape supports concentric gradient fill. The default 104 is false. 105 */ 106 [optional, property] boolean ConcentricGradientFillAllowed; 107 108 /** This property specifies if this shape supports concentric gradient fill. The 109 default is false; 110 */ 111 [optional, property] boolean TextPathAllowed; 112}; 113 114//============================================================================= 115 116}; }; }; }; 117 118#endif 119 120