xref: /aoo42x/main/offapi/com/sun/star/text/CellRange.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27#ifndef __com_sun_star_text_CellRange_idl__
28#define __com_sun_star_text_CellRange_idl__
29
30#ifndef __com_sun_star_table_XCellRange_idl__
31#include <com/sun/star/table/XCellRange.idl>
32#endif
33
34#ifndef __com_sun_star_util_Color_idl__
35#include <com/sun/star/util/Color.idl>
36#endif
37
38#ifndef __com_sun_star_sheet_XCellRangeData_idl__
39#include <com/sun/star/sheet/XCellRangeData.idl>
40#endif
41
42#ifndef __com_sun_star_container_XNamed_idl__
43#include <com/sun/star/container/XNamed.idl>
44#endif
45
46#ifndef __com_sun_star_style_ParagraphProperties_idl__
47#include <com/sun/star/style/ParagraphProperties.idl>
48#endif
49#ifndef __com_sun_star_style_ParagraphPropertiesAsian_idl__
50#include <com/sun/star/style/ParagraphPropertiesAsian.idl>
51#endif
52#ifndef __com_sun_star_style_ParagraphPropertiesComplex_idl__
53#include <com/sun/star/style/ParagraphPropertiesComplex.idl>
54#endif
55#ifndef __com_sun_star_style_CharacterPropertiesAsian_idl__
56#include <com/sun/star/style/CharacterPropertiesAsian.idl>
57#endif
58#ifndef __com_sun_star_style_CharacterProperties_Complex_idl__
59#include <com/sun/star/style/CharacterPropertiesComplex.idl>
60#endif
61#ifndef __com_sun_star_style_CharacterProperties_idl__
62#include <com/sun/star/style/CharacterProperties.idl>
63#endif
64#ifndef __com_sun_star_sheet_XCellRangeData_idl__
65#include <com/sun/star/sheet/XCellRangeData.idl>
66#endif
67#ifndef __com_sun_star_style_GraphicLocation_idl__
68#include <com/sun/star/style/GraphicLocation.idl>
69#endif
70#ifndef __com_sun_star_chart_XChartDataArray_idl__
71#include <com/sun/star/chart/XChartDataArray.idl>
72#endif
73
74//=============================================================================
75
76module com {  module sun {  module star {  module text {
77
78//=============================================================================
79
80/** area of cells within a text table.
81
82    @see com::sun::star::text::TextTable
83 */
84published service CellRange
85{
86	service com::sun::star::style::CharacterProperties;
87
88    service com::sun::star::style::CharacterPropertiesAsian;
89
90    service com::sun::star::style::CharacterPropertiesComplex;
91
92	service com::sun::star::style::ParagraphProperties;
93
94    [optional] service com::sun::star::style::ParagraphPropertiesAsian;
95
96    [optional] service com::sun::star::style::ParagraphPropertiesComplex;
97
98	interface com::sun::star::table::XCellRange;
99
100    [optional] interface com::sun::star::sheet::XCellRangeData;
101
102    [optional] interface com::sun::star::chart::XChartDataArray;
103
104    //-----------------------------------------------------------------------------
105
106    /** contains color of the background.
107     */
108    [property] com::sun::star::util::Color BackColor;
109
110    //-----------------------------------------------------------------------------
111
112    /** contains the filter name of the background graphic.
113     */
114    [property] string BackGraphicFilter;
115
116    //-----------------------------------------------------------------------------
117
118    /** determins the location of the background graphic.
119     */
120    [property] com::sun::star::style::GraphicLocation BackGraphicLocation;
121
122    //-----------------------------------------------------------------------------
123
124    /** contains the URL of the background graphic.
125     */
126    [property] string BackGraphicURL;
127
128    //-----------------------------------------------------------------------------
129
130    /** determins if the background color is transparent.
131     */
132    [property] boolean BackTransparent;
133
134    //-----------------------------------------------------------------------------
135
136    /** determins if the first column of the table should be treated as
137        axis labels when a chart is to be created.
138     */
139    [property] boolean ChartColumnAsLabel;
140
141    //-----------------------------------------------------------------------------
142
143    /** determins if the first row of the table should be treated as
144        axis labels when a chart is to be created.
145     */
146    [property] boolean ChartRowAsLabel;
147
148    //-----------------------------------------------------------------------------
149
150    /** contains the number format.
151    */
152    [property] long NumberFormat;
153
154};
155
156//=============================================================================
157
158}; }; }; };
159
160#endif
161