xref: /aoo4110/main/offapi/com/sun/star/text/CellRange.idl (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_text_CellRange_idl__
24#define __com_sun_star_text_CellRange_idl__
25
26#ifndef __com_sun_star_table_XCellRange_idl__
27#include <com/sun/star/table/XCellRange.idl>
28#endif
29
30#ifndef __com_sun_star_util_Color_idl__
31#include <com/sun/star/util/Color.idl>
32#endif
33
34#ifndef __com_sun_star_sheet_XCellRangeData_idl__
35#include <com/sun/star/sheet/XCellRangeData.idl>
36#endif
37
38#ifndef __com_sun_star_container_XNamed_idl__
39#include <com/sun/star/container/XNamed.idl>
40#endif
41
42#ifndef __com_sun_star_style_ParagraphProperties_idl__
43#include <com/sun/star/style/ParagraphProperties.idl>
44#endif
45#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
46#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
47#endif
48#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
49#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
50#endif
51#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
52#include <com/sun/star/style/CharacterPropertiesAsian.idl>
53#endif
54#ifndef __com_sun_star_style_CharacterProperties_Complex_idl__
55#include <com/sun/star/style/CharacterPropertiesComplex.idl>
56#endif
57#ifndef __com_sun_star_style_CharacterProperties_idl__
58#include <com/sun/star/style/CharacterProperties.idl>
59#endif
60#ifndef __com_sun_star_sheet_XCellRangeData_idl__
61#include <com/sun/star/sheet/XCellRangeData.idl>
62#endif
63#ifndef __com_sun_star_style_GraphicLocation_idl__
64#include <com/sun/star/style/GraphicLocation.idl>
65#endif
66#ifndef __com_sun_star_chart_XChartDataArray_idl__
67#include <com/sun/star/chart/XChartDataArray.idl>
68#endif
69
70//=============================================================================
71
72module com {  module sun {  module star {  module text {
73
74//=============================================================================
75
76/** area of cells within a text table.
77
78    @see com::sun::star::text::TextTable
79 */
80published service CellRange
81{
82	service com::sun::star::style::CharacterProperties;
83
84    service com::sun::star::style::CharacterPropertiesAsian;
85
86    service com::sun::star::style::CharacterPropertiesComplex;
87
88	service com::sun::star::style::ParagraphProperties;
89
90    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
91
92    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
93
94	interface com::sun::star::table::XCellRange;
95
96    [optional] interface com::sun::star::sheet::XCellRangeData;
97
98    [optional] interface com::sun::star::chart::XChartDataArray;
99
100    //-----------------------------------------------------------------------------
101
102    /** contains color of the background.
103     */
104    [property] com::sun::star::util::Color BackColor;
105
106    //-----------------------------------------------------------------------------
107
108    /** contains the filter name of the background graphic.
109     */
110    [property] string BackGraphicFilter;
111
112    //-----------------------------------------------------------------------------
113
114    /** determins the location of the background graphic.
115     */
116    [property] com::sun::star::style::GraphicLocation BackGraphicLocation;
117
118    //-----------------------------------------------------------------------------
119
120    /** contains the URL of the background graphic.
121     */
122    [property] string BackGraphicURL;
123
124    //-----------------------------------------------------------------------------
125
126    /** determins if the background color is transparent.
127     */
128    [property] boolean BackTransparent;
129
130    //-----------------------------------------------------------------------------
131
132    /** determins if the first column of the table should be treated as
133        axis labels when a chart is to be created.
134     */
135    [property] boolean ChartColumnAsLabel;
136
137    //-----------------------------------------------------------------------------
138
139    /** determins if the first row of the table should be treated as
140        axis labels when a chart is to be created.
141     */
142    [property] boolean ChartRowAsLabel;
143
144    //-----------------------------------------------------------------------------
145
146    /** contains the number format.
147    */
148    [property] long NumberFormat;
149
150};
151
152//=============================================================================
153
154}; }; }; };
155
156#endif
157