1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Shape.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_sheet_Shape_idl__
31 #define __com_sun_star_sheet_Shape_idl__
33 #ifndef __com_sun_star_drawing_Shape_idl__
34 #include
<com
/sun
/star
/drawing
/Shape.idl
>
36 #ifndef __com_sun_star_uno_XInterface_idl__
37 #include
<com
/sun
/star
/uno
/XInterface.idl
>
40 //=============================================================================
42 module com
{ module sun
{ module star
{ module sheet
{
44 //=============================================================================
46 /** specifies the service of shapes in a spreadsheet document
50 service com
::sun
::star
::drawing
::Shape
;
51 //-------------------------------------------------------------------------
52 /** contains the object where this shape is anchored on.
53 <p> Possible objects are XSpreadsheet and XCell.</p>
55 [readonly, property
] com
::sun
::star
::uno
::XInterface Anchor
;
56 //-------------------------------------------------------------------------
57 /** contains the horizontal position of the object (1/100 mm).
58 <p> The position is relative to the anchor object.</p>
59 <p> If the underlying table layout direction is left to right
60 the position is the difference of the left top edge of the anchor
61 object and the left top edge of the drawing object.</p>
62 <p> If the underlying table layout direction is right to left
63 the position is the difference of the right top edge of the anchor
64 object and the right top edge of the drawing object.</p>
66 [property
] long HoriOrientPosition
;
67 //-------------------------------------------------------------------------
68 /** contains the vertical position of the object (1/100 mm).
69 <p> The position is relative to the anchor object.</p>
70 <p> If the underlying table layout direction is left to right
71 the position is the difference of the left top edge of the anchor
72 object and the left top edge of the drawing object.</p>
73 <p> If the underlying table layout direction is right to left
74 the position is the difference of the right top edge of the anchor
75 object and the right top edge of the drawing object.</p>
77 [property
] long VertOrientPosition
;
81 //=============================================================================