1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: ch2_losa_ods_to_xls.bas,v $
13 '* last change: $Author: obo $ $Date: 2008-07-22 10:35:03 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/************************************************************************
34 '* owner : oliver.craemer@sun.com
36 '* short description : Load/Save test for chart files - Input: ODS, Output: XLS
38 '\************************************************************************
40 Global gsFileFormat
as String
41 Global gsDirectoryInSourcePath
as String
42 Global gsOutputFileCustomExtension
as String
45 gsFileFormat
= "MS Excel 97"
47 'Important for determination of input file source path
48 '-> gtesttoolpath & "chart2\optional\input\" & gsDirectoryInSourcePath &"\"
49 gsDirectoryInSourcePath
= "ods"
51 'Custom output file extension. Can be different to result from hGetFilternameExtension.
53 gsOutputFileCustomExtension
= ".xls"
55 Printlog
"--------------------------------------------------"
56 Printlog
"--- Load charts in ODS - SaveAS XLS ---"
57 Printlog
"--------------------------------------------------"
59 use
"chart2/optional/includes/loadsave/ch2_losa.inc"
60 use
"chart2/tools/ch_tools_common.inc"
62 Call hStatusIn("Chart2", "ch2_losa_ods_to_xls.bas")
67 '-------------------------------------------------------------------------
70 use
"global\system\includes\master.inc"
71 use
"global\system\includes\gvariabl.inc"