merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / text / CellProperties.idl
blobe108f96c3cf554969c1dbd7177b7bc4a7e3d1f5f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_CellProperties_idl__
28 #define __com_sun_star_text_CellProperties_idl__
30 #ifndef __com_sun_star_beans_XPropertySet_idl__
31 #include <com/sun/star/beans/XPropertySet.idl>
32 #endif
34 #ifndef __com_sun_star_util_Color_idl__
35 #include <com/sun/star/util/Color.idl>
36 #endif
38 #ifndef __com_sun_star_text_XTextSection_idl__
39 #include <com/sun/star/text/XTextSection.idl>
40 #endif
41 #ifndef __com_sun_star_style_GraphicLocation_idl__
42 #include <com/sun/star/style/GraphicLocation.idl>
43 #endif
44 #ifndef __com_sun_star_table_BorderLine_idl__
45 #include <com/sun/star/table/BorderLine.idl>
46 #endif
47 #ifndef __com_sun_star_container_XNameContainer_idl__
48 #include <com/sun/star/container/XNameContainer.idl>
49 #endif
50 #ifndef _com_sun_star_xml_UserDefinedAttributesSupplier_idl_
51 #include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
52 #endif
55 //=============================================================================
57 module com { module sun { module star { module text {
59 //=============================================================================
61 /** service that holds all cell properties of a text table cell in a text document.
63 @see com::sun::star::text::Cell
65 published service CellProperties
67 //-------------------------------------------------------------------------
68 /** contains user defined attributes.
70 @see <type scope="com::sun::star::xml">UserDefinedAttributesSupplier</type>
72 service com::sun::star::xml::UserDefinedAttributesSupplier;
74 //-------------------------------------------------------------------------
76 /** gives access to the objects properties
78 interface com::sun::star::beans::XPropertySet;
80 //-------------------------------------------------------------------------
81 /** contains the cell name, see SwXTextTable::getCellByName for more information
83 [property] string CellName;
85 //-------------------------------------------------------------------------
86 /** contains the background color.
88 [property] com::sun::star::util::Color BackColor;
90 //-------------------------------------------------------------------------
91 /** contains the URL to the background graphic.
93 [property] string BackGraphicURL;
95 //-------------------------------------------------------------------------
96 /** contains the name of the graphic filter of the background graphic.
98 [property] string BackGraphicFilter;
100 //-------------------------------------------------------------------------
101 /** determins the position of the background graphic.
103 [property] com::sun::star::style::GraphicLocation BackGraphicLocation;
105 //-------------------------------------------------------------------------
106 /** contains the number format.
108 [property] long NumberFormat;
110 //-------------------------------------------------------------------------
111 /** determins whether the background is transparent.
113 [property] boolean BackTransparent;
115 //-------------------------------------------------------------------------
116 /** contains the left border line.
118 [property] com::sun::star::table::BorderLine LeftBorder;
120 //-------------------------------------------------------------------------
121 /** contains the right border line.
123 [property] com::sun::star::table::BorderLine RightBorder;
125 //-------------------------------------------------------------------------
126 /** contains the top border line.
128 [property] com::sun::star::table::BorderLine TopBorder;
130 //-------------------------------------------------------------------------
131 /** contains the bottom border line.
133 [property] com::sun::star::table::BorderLine BottomBorder;
135 //-------------------------------------------------------------------------
136 /** contains the distance of the left border.
138 [property] long LeftBorderDistance;
140 //-------------------------------------------------------------------------
141 /** contains the distance of the right border.
143 [property] long RightBorderDistance;
145 //-------------------------------------------------------------------------
146 /** contains the distance of the top border.
148 [property] long TopBorderDistance;
150 //-------------------------------------------------------------------------
151 /** contains the distance of the bottom border.
153 [property] long BottomBorderDistance;
155 //-------------------------------------------------------------------------
156 /** contains the text section the text table is contained in if there is any.
158 [readonly, property]com::sun::star::text::XTextSection TextSection;
160 //-------------------------------------------------------------------------
161 /** determins whether the cell is write protected or not.
163 [property] boolean IsProtected;
165 //-------------------------------------------------------------------------
166 /** the vertical orientation of the text inside of the table cells in
167 this row.@see VertOrientation
169 [property] short VertOrient;
173 //=============================================================================
175 }; }; }; };
176 #endif