2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
8 my $file = "$samples/names-tests.gnumeric";
10 if (&subtest
("gnumeric")) {
11 &message
("Check names gnumeric roundtrip.");
12 &test_roundtrip
($file,
13 'format' => 'Gnumeric_XmlIO:sax',
17 if (&subtest
("ods")) {
18 &message
("Check names ods roundtrip.");
19 &test_roundtrip
($file,
20 'format' => 'Gnumeric_OpenCalc:odf',
22 'filter2' => 'std:drop_generator');
25 if (&subtest
("biff7")) {
26 &message
("Check names xls/BIFF7 roundtrip.");
27 &test_roundtrip
($file,
28 'format' => 'Gnumeric_Excel:excel_biff7',
30 'resize' => '16384x256',
31 'filter2' => 'std:drop_codepage',
32 'ignore_failure' => 1);
35 if (&subtest
("biff8")) {
36 &message
("Check names xls/BIFF8 roundtrip.");
37 &test_roundtrip
($file,
38 'format' => 'Gnumeric_Excel:excel_biff8',
40 'filter2' => 'std:drop_codepage',
41 'ignore_failure' => 1);
44 if (&subtest
("xlsx")) {
45 &message
("Check names xlsx roundtrip.");
46 &test_roundtrip
($file,
47 'format' => 'Gnumeric_Excel:xlsx',
49 'resize' => '1048576x16384',
50 'ignore_failure' => 1);