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: CellProperties.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_text_CellProperties_idl__
31 #define __com_sun_star_text_CellProperties_idl__
33 #ifndef __com_sun_star_beans_XPropertySet_idl__
34 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
37 #ifndef __com_sun_star_util_Color_idl__
38 #include
<com
/sun
/star
/util
/Color.idl
>
41 #ifndef __com_sun_star_text_XTextSection_idl__
42 #include
<com
/sun
/star
/text
/XTextSection.idl
>
44 #ifndef __com_sun_star_style_GraphicLocation_idl__
45 #include
<com
/sun
/star
/style
/GraphicLocation.idl
>
47 #ifndef __com_sun_star_table_BorderLine_idl__
48 #include
<com
/sun
/star
/table
/BorderLine.idl
>
50 #ifndef __com_sun_star_container_XNameContainer_idl__
51 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
53 #ifndef _com_sun_star_xml_UserDefinedAttributesSupplier_idl_
54 #include
<com
/sun
/star
/xml
/UserDefinedAttributesSupplier.idl
>
58 //=============================================================================
60 module com
{ module sun
{ module star
{ module text
{
62 //=============================================================================
64 /** service that holds all cell properties of a text table cell in a text document.
66 @see com::sun::star::text::Cell
68 published service CellProperties
70 //-------------------------------------------------------------------------
71 /** contains user defined attributes.
73 @see <type scope="com::sun::star::xml">UserDefinedAttributesSupplier</type>
75 service com
::sun
::star
::xml
::UserDefinedAttributesSupplier
;
77 //-------------------------------------------------------------------------
79 /** gives access to the objects properties
81 interface com
::sun
::star
::beans
::XPropertySet
;
83 //-------------------------------------------------------------------------
84 /** contains the cell name, see SwXTextTable::getCellByName for more information
86 [property
] string CellName
;
88 //-------------------------------------------------------------------------
89 /** contains the background color.
91 [property
] com
::sun
::star
::util
::Color BackColor
;
93 //-------------------------------------------------------------------------
94 /** contains the URL to the background graphic.
96 [property
] string BackGraphicURL
;
98 //-------------------------------------------------------------------------
99 /** contains the name of the graphic filter of the background graphic.
101 [property
] string BackGraphicFilter
;
103 //-------------------------------------------------------------------------
104 /** determins the position of the background graphic.
106 [property
] com
::sun
::star
::style
::GraphicLocation BackGraphicLocation
;
108 //-------------------------------------------------------------------------
109 /** contains the number format.
111 [property
] long NumberFormat
;
113 //-------------------------------------------------------------------------
114 /** determins whether the background is transparent.
116 [property
] boolean BackTransparent
;
118 //-------------------------------------------------------------------------
119 /** contains the left border line.
121 [property
] com
::sun
::star
::table
::BorderLine LeftBorder
;
123 //-------------------------------------------------------------------------
124 /** contains the right border line.
126 [property
] com
::sun
::star
::table
::BorderLine RightBorder
;
128 //-------------------------------------------------------------------------
129 /** contains the top border line.
131 [property
] com
::sun
::star
::table
::BorderLine TopBorder
;
133 //-------------------------------------------------------------------------
134 /** contains the bottom border line.
136 [property
] com
::sun
::star
::table
::BorderLine BottomBorder
;
138 //-------------------------------------------------------------------------
139 /** contains the distance of the left border.
141 [property
] long LeftBorderDistance
;
143 //-------------------------------------------------------------------------
144 /** contains the distance of the right border.
146 [property
] long RightBorderDistance
;
148 //-------------------------------------------------------------------------
149 /** contains the distance of the top border.
151 [property
] long TopBorderDistance
;
153 //-------------------------------------------------------------------------
154 /** contains the distance of the bottom border.
156 [property
] long BottomBorderDistance
;
158 //-------------------------------------------------------------------------
159 /** contains the text section the text table is contained in if there is any.
161 [readonly, property
]com
::sun
::star
::text
::XTextSection TextSection
;
163 //-------------------------------------------------------------------------
164 /** determins whether the cell is write protected or not.
166 [property
] boolean IsProtected
;
168 //-------------------------------------------------------------------------
169 /** the vertical orientation of the text inside of the table cells in
170 this row.@see VertOrientation
172 [property
] short VertOrient
;
176 //=============================================================================