Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / text / CellProperties.idl
blob6144d9fc8530f7f298633f59e35fe2630e388cd0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_text_CellProperties_idl__
20 #define __com_sun_star_text_CellProperties_idl__
22 #include <com/sun/star/beans/XPropertySet.idl>
23 #include <com/sun/star/util/Color.idl>
24 #include <com/sun/star/text/XTextSection.idl>
25 #include <com/sun/star/style/GraphicLocation.idl>
26 #include <com/sun/star/table/BorderLine.idl>
27 #include <com/sun/star/container/XNameContainer.idl>
28 #include <com/sun/star/xml/UserDefinedAttributesSupplier.idl>
32 module com { module sun { module star { module text {
35 /** service that holds all cell properties of a text table cell in a text document.
37 @see com::sun::star::text::Cell
39 published service CellProperties
41 /** contains user defined attributes.
43 @see com::sun::star::xml::UserDefinedAttributesSupplier
45 service com::sun::star::xml::UserDefinedAttributesSupplier;
48 /** gives access to the objects properties
50 interface com::sun::star::beans::XPropertySet;
52 /** contains the cell name, see SwXTextTable::getCellByName for more information
54 [property] string CellName;
56 /** contains the background color.
58 [property] com::sun::star::util::Color BackColor;
60 /** contains the URL to the background graphic.
62 [property] string BackGraphicURL;
64 /** contains the name of the graphic filter of the background graphic.
66 [property] string BackGraphicFilter;
68 /** determines the position of the background graphic.
70 [property] com::sun::star::style::GraphicLocation BackGraphicLocation;
72 /** contains the number format.
74 [property] long NumberFormat;
76 /** determines whether the background is transparent.
78 [property] boolean BackTransparent;
80 /** contains the left border line.
82 [property] com::sun::star::table::BorderLine LeftBorder;
84 /** contains the right border line.
86 [property] com::sun::star::table::BorderLine RightBorder;
88 /** contains the top border line.
90 [property] com::sun::star::table::BorderLine TopBorder;
92 /** contains the bottom border line.
94 [property] com::sun::star::table::BorderLine BottomBorder;
96 /** contains the distance of the left border.
98 [property] long LeftBorderDistance;
100 /** contains the distance of the right border.
102 [property] long RightBorderDistance;
104 /** contains the distance of the top border.
106 [property] long TopBorderDistance;
108 /** contains the distance of the bottom border.
110 [property] long BottomBorderDistance;
112 /** contains the text section the text table is contained in if there is any.
114 [readonly, property]com::sun::star::text::XTextSection TextSection;
116 /** determines whether the cell is write protected or not.
118 [property] boolean IsProtected;
120 /** the vertical orientation of the text inside of the table cells in
121 this row.@see VertOrientation
123 [property] short VertOrient;
128 }; }; }; };
129 #endif
131 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */