98a1f0a8cf
Sheet titles containing " " or "!" will be quoted in formulas. This commit fixes the lookup of sheets with this kind of title by trimming the quotes during the lookup. Without this any defined range referencing a sheet with " " or "!" in the title name will be lost when reading the workbook from file. Fixes #928 Closes 930
50 lines
728 B
PHP
50 lines
728 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
'#N/A',
|
|
'A1',
|
|
'2',
|
|
],
|
|
[
|
|
'="ABC"',
|
|
'A2',
|
|
'="ABC"',
|
|
],
|
|
[
|
|
'=A1',
|
|
'A3',
|
|
'=A1',
|
|
],
|
|
[
|
|
'=\'Worksheet1\'!A1',
|
|
'A4',
|
|
'=\'Worksheet1\'!A1',
|
|
],
|
|
[
|
|
'=\'Works heet1\'!A1',
|
|
'A4',
|
|
'=\'Works heet1\'!A1',
|
|
],
|
|
[
|
|
'="HELLO WORLD"',
|
|
'\'Worksheet1\'!A5',
|
|
'="HELLO WORLD"',
|
|
],
|
|
[
|
|
'="HELLO WORLD"',
|
|
'\'Work sheet1\'!A5',
|
|
'="HELLO WORLD"',
|
|
],
|
|
[
|
|
'="HELLO WORLD"',
|
|
'\'Work!sheet1\'!A5',
|
|
'="HELLO WORLD"',
|
|
],
|
|
[
|
|
'#N/A',
|
|
'\'Worksheet1\'!A6',
|
|
'123',
|
|
],
|
|
];
|