merge the formfield patch from ooo-build
[ooovba.git] / oovbaapi / ooo / vba / word / XTables.idl
blobf09f27fb78f014135d2f0abdd36dd069cd31b2b4
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile: XTables.idl,v $
7 * $Revision: 1.1 $
9 * last change: $Author: jsc $ $Date: 2007/02/09 08:45:13 $
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 * MA 02111-1307 USA
34 ************************************************************************/
36 #ifndef __ooo_vba_word__XTables_idl__
37 #define __ooo_vba_word__XTables_idl__
39 #ifndef __ooo_vba_HelperInterface_idl__
40 #include <ooo/vba/XHelperInterface.idl>
41 #endif
43 #ifndef __ooo_vba_XCollection_idl__
44 #include <ooo/vba/XCollection.idl>
45 #endif
47 #ifndef __ooo_vba_word_XTable_idl__
48 #include <ooo/vba/word/XTable.idl>
49 #endif
51 #ifndef __com_sun_star_script_BasicErrorException_idl__
52 #include <com/sun/star/script/BasicErrorException.idl>
53 #endif
55 module ooo { module vba { module word {
57 interface XRange;
59 interface XTables
61 interface ooo::vba::XCollection;
62 /** Creates a new Table, optionally with a name.
63 <p>Creates a new table at the current cursor position. </p>
64 @param range
65 @returns
66 reference to the new table.
68 XTable Add([in] XRange Range, [in] any NumRows, [in] any NumColumns,
69 /*optional*/ [in] any DefaultTableBehavior,
70 /*optional*/ [in] any AutoFitBehavior)
71 raises(com::sun::star::script::BasicErrorException);
76 }; }; };
78 #endif