merge the formfield patch from ooo-build
[ooovba.git] / oovbaapi / ooo / vba / word / XTable.idl
blobf677da6bd105a75c65944d231287960329981556
1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
5 * $RCSfile: XTable.idl,v $
7 * $Revision: 1.1 $
9 * last change: $Author: jsc $ $Date: 2007/02/09 08:35:01 $
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_XTable_idl__
37 #define __ooo_vba_word_XTable_idl__
39 #ifndef __com_sun_star_script_BasicErrorException_idl__
40 #include <com/sun/star/script/BasicErrorException.idl>
41 #endif
43 #ifndef __ooo_vba_XHelperInterface_idl__
44 #include <ooo/vba/XHelperInterface.idl>
45 #endif
46 module ooo { module vba { module word {
48 interface XRange;
50 interface XTable
52 interface ::ooo::vba::XHelperInterface;
53 [attribute, readonly ] string Name; // for debug only
55 XRange Range() raises (com::sun::star::script::BasicErrorException);
57 /**
58 select the table
60 void Select()
61 raises (com::sun::star::script::BasicErrorException);
63 /**
64 delete the table
66 void Delete()
67 raises (com::sun::star::script::BasicErrorException);
69 /**
70 convert the table to text
71 @param Separator the separator used for the text where cell separation was
72 @return XRange a range containing the text
73 @throw BasicErrorException when the conversion cannot be done
76 XRange ConvertToText([in] any Separator, [in] any NestedTables)
77 raises(com::sun::star::script::BasicErrorException);
79 any Borders( [in] any aIndex );
83 }; }; };
85 #endif