xref: /trunk/main/oovbaapi/ooo/vba/word/XTable.idl (revision ad7bc010)
1*ad7bc010SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*ad7bc010SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*ad7bc010SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*ad7bc010SAndrew Rist * distributed with this work for additional information
6*ad7bc010SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*ad7bc010SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*ad7bc010SAndrew Rist * "License"); you may not use this file except in compliance
9*ad7bc010SAndrew Rist * with the License.  You may obtain a copy of the License at
10*ad7bc010SAndrew Rist *
11*ad7bc010SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*ad7bc010SAndrew Rist *
13*ad7bc010SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*ad7bc010SAndrew Rist * software distributed under the License is distributed on an
15*ad7bc010SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*ad7bc010SAndrew Rist * KIND, either express or implied.  See the License for the
17*ad7bc010SAndrew Rist * specific language governing permissions and limitations
18*ad7bc010SAndrew Rist * under the License.
19*ad7bc010SAndrew Rist *
20*ad7bc010SAndrew Rist *************************************************************/
21*ad7bc010SAndrew Rist
22*ad7bc010SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __ooo_vba_word_XTable_idl__
25cdf0e10cSrcweir#define __ooo_vba_word_XTable_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir#ifndef  __com_sun_star_script_BasicErrorException_idl__
28cdf0e10cSrcweir#include <com/sun/star/script/BasicErrorException.idl>
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir
31cdf0e10cSrcweir#ifndef  __ooo_vba_XHelperInterface_idl__
32cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl>
33cdf0e10cSrcweir#endif
34cdf0e10cSrcweirmodule ooo { module vba { module word {
35cdf0e10cSrcweir
36cdf0e10cSrcweirinterface XRange;
37cdf0e10cSrcweir
38cdf0e10cSrcweirinterface XTable
39cdf0e10cSrcweir{
40cdf0e10cSrcweir    interface ::ooo::vba::XHelperInterface;
41cdf0e10cSrcweir    [attribute, readonly ] string Name; // for debug only
42cdf0e10cSrcweir
43cdf0e10cSrcweir    XRange Range() raises (com::sun::star::script::BasicErrorException);
44cdf0e10cSrcweir
45cdf0e10cSrcweir    /**
46cdf0e10cSrcweir     select the table
47cdf0e10cSrcweir     */
48cdf0e10cSrcweir    void Select()
49cdf0e10cSrcweir        raises (com::sun::star::script::BasicErrorException);
50cdf0e10cSrcweir
51cdf0e10cSrcweir    /**
52cdf0e10cSrcweir     delete the table
53cdf0e10cSrcweir     */
54cdf0e10cSrcweir    void Delete()
55cdf0e10cSrcweir        raises (com::sun::star::script::BasicErrorException);
56cdf0e10cSrcweir
57cdf0e10cSrcweir    /**
58cdf0e10cSrcweir     convert the table to text
59cdf0e10cSrcweir     @param Separator the separator used for the text where cell separation was
60cdf0e10cSrcweir     @return XRange a range containing the text
61cdf0e10cSrcweir     @throw BasicErrorException when the conversion cannot be done
62cdf0e10cSrcweir     */
63cdf0e10cSrcweir/*
64cdf0e10cSrcweir    XRange ConvertToText([in] any Separator, [in] any NestedTables)
65cdf0e10cSrcweir        raises(com::sun::star::script::BasicErrorException);
66cdf0e10cSrcweir*/
67cdf0e10cSrcweir    any Borders( [in] any Index );
68cdf0e10cSrcweir
69cdf0e10cSrcweir};
70cdf0e10cSrcweir
71cdf0e10cSrcweir}; }; };
72cdf0e10cSrcweir
73cdf0e10cSrcweir#endif
74cdf0e10cSrcweir
75