1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE script:module PUBLIC
"-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
3 <script:module xmlns:
script=
"http://openoffice.org/2000/script" script:
name=
"sc_ScIndexEnumeration_TableColumnsEnumeration" script:
language=
"StarBasic">
5 '*************************************************************************
7 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 ' Copyright
2008 by Sun Microsystems, Inc.
11 ' OpenOffice.org - a multi-platform office productivity suite
13 ' $RCSfile: sc_ScIndexEnumeration_TableColumnsEnumeration.xba,v $
17 ' This file is part of OpenOffice.org.
19 ' OpenOffice.org is free software: you can redistribute it and/or modify
20 ' it under the terms of the GNU Lesser General Public License version
3
21 ' only, as published by the Free Software Foundation.
23 ' OpenOffice.org is distributed in the hope that it will be useful,
24 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
25 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 ' GNU Lesser General Public License version
3 for more details
27 ' (a copy is included in the LICENSE file that accompanied this code).
29 ' You should have received a copy of the GNU Lesser General Public License
30 ' version
3 along with OpenOffice.org. If not, see
31 '
<http://www.openoffice.org/license.html
>
32 ' for a copy of the LGPLv3 License.
34 '*************************************************************************
35 '*************************************************************************
39 ' Be sure that all variables are dimensioned:
43 ' REQUIRED VARIABLES for interface/service tests:
48 '*************************************************************************
50 ' sc.ScIndexEnumeration_TableColumnsEnumeration
51 '*************************************************************************
55 oDoc = utils.createDocument(
"scalc", cObjectName)
56 oTable = oDoc.Sheets(
0)
57 oObj = oTable.getColumns().createEnumeration()