merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / table / XTable.idl
blob51e33324a797d00915b1e2217d908b41f64bba72
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 ************************************************************************/
28 #ifndef __com_sun_star_table_XTable_idl__
29 #define __com_sun_star_table_XTable_idl__
31 #ifndef __com_sun_star_lang_XComponent_idl__
32 #include <com/sun/star/lang/XComponent.idl>
33 #endif
35 #ifndef __com_sun_star_table_XCellRange_idl__
36 #include <com/sun/star/table/XCellRange.idl>
37 #endif
39 #ifndef __com_sun_star_table_XColumnRowRange_idl__
40 #include <com/sun/star/table/XColumnRowRange.idl>
41 #endif
43 #ifndef __com_sun_star_table_XCellCursor_idl__
44 #include <com/sun/star/table/XCellCursor.idl>
45 #endif
47 #ifndef __com_sun_star_util_XModifiable_idl__
48 #include <com/sun/star/util/XModifiable.idl>
49 #endif
51 #ifndef __com_sun_star_beans_XMultiPropertySet_idl__
52 #include <com/sun/star/beans/XMultiPropertySet.idl>
53 #endif
55 #ifndef __com_sun_star_beans_XPropertySet_idl__
56 #include <com/sun/star/beans/XPropertySet.idl>
57 #endif
59 #ifndef __com_sun_star_beans_XFastPropertySet_idl__
60 #include <com/sun/star/beans/XFastPropertySet.idl>
61 #endif
63 #ifndef __com_sun_star_lang_IllegalArgumentException_idl__
64 #include <com/sun/star/lang/IllegalArgumentException.idl>
65 #endif
67 //=============================================================================
69 module com { module sun { module star { module table {
71 //=============================================================================
73 /**
75 interface XTable
78 interface com::sun::star::lang::XComponent;
80 //-------------------------------------------------------------------------
82 interface com::sun::star::table::XCellRange;
84 //-------------------------------------------------------------------------
86 interface com::sun::star::table::XColumnRowRange;
88 //-------------------------------------------------------------------------
90 /** interface to make the modify state of the table accessible.
91 <p>Additionally, it makes it possible to register listener objects, which
92 get notification whenever the content of the table changes.
94 interface ::com::sun::star::util::XModifiable;
96 //-------------------------------------------------------------------------
98 /* interface ::com::sun::star::beans::XMultiPropertySet; */
100 //-------------------------------------------------------------------------
102 interface ::com::sun::star::beans::XPropertySet;
104 //-------------------------------------------------------------------------
106 interface ::com::sun::star::beans::XFastPropertySet;
108 //-------------------------------------------------------------------------
110 /** creates a cell cursor including the whole table
112 @see com::sun::star::table::CellCursor
114 com::sun::star::table::XCellCursor createCursor();
116 //-------------------------------------------------------------------------
118 /** creates a cell cursor to travel in the given range context.
120 @param aRange
121 the cell range for the cursor.
123 @throws <type scope="com::sun::star::lang">IllegalArgumentException</type>
124 if the given reference is empty or not a range from this table.
126 @see com::sun::star::table::CellCursor
128 com::sun::star::table::XCellCursor createCursorByRange( [in] com::sun::star::table::XCellRange Range )
129 raises ( com::sun::star::lang::IllegalArgumentException );
131 //-------------------------------------------------------------------------
133 /** stores the current row count of this table */
134 [readonly, attribute] long RowCount;
136 //-------------------------------------------------------------------------
138 /** stores the current column count of this table */
139 [readonly, attribute] long ColumnCount;
142 //=============================================================================
144 }; }; }; };
146 #endif