2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
7 $GnumericTest::default_subtests
= '*,-biff7';
9 my $file = "$samples/hlink-tests.gnumeric";
11 if (&subtest
("gnumeric")) {
12 &message
("Check hyperlink gnumeric roundtrip.");
13 &test_roundtrip
($file,
14 'format' => 'Gnumeric_XmlIO:sax',
18 if (&subtest
("ods")) {
19 &message
("Check hyperlink ods roundtrip.");
20 &test_roundtrip
($file,
21 'format' => 'Gnumeric_OpenCalc:odf',
23 'filter2' => 'std:drop_generator');
26 if (&subtest
("biff7")) {
27 &message
("Check hyperlink xls/BIFF7 roundtrip.");
28 &test_roundtrip
($file,
29 'format' => 'Gnumeric_Excel:excel_biff7',
31 'resize' => '16384x256',
32 'filter2' => 'std:drop_codepage',
33 'ignore_failure' => 1);
36 if (&subtest
("biff8")) {
37 &message
("Check hyperlink xls/BIFF8 roundtrip.");
38 &test_roundtrip
($file,
39 'format' => 'Gnumeric_Excel:excel_biff8',
41 'filter2' => 'std:drop_codepage');
44 if (&subtest
("xlsx")) {
45 &message
("Check hyperlink xlsx roundtrip.");
46 &test_roundtrip
($file,
47 'format' => 'Gnumeric_Excel:xlsx',
49 'resize' => '1048576x16384');