I'm afraid that this may be an issue only for languages in the East Asian region...
SpreadsheetDecoder seems to merge phonetic information (under <rPh> tags in xl/sharedStrings.xml) into cell value.
Phonetic information is auxiliary hint so I think it does not need to be observable as a cell value.
Currently, XlsDecoder._parseSharedString is:
void _parseSharedString(XmlElement node) {
var list = [];
node.findAllElements('t').forEach((child) {
list.add(_parseValue(child));
});
_sharedStrings.add(list.join(''));
}
Shouldn't it be the following?
void _parseSharedString(XmlElement node) {
var list = [];
node.findAllElements('t').forEach((child) {
if (child.parentElement.name.local != 'rPh') {
list.add(_parseValue(child));
}
});
_sharedStrings.add(list.join(''));
}
I'm afraid that this may be an issue only for languages in the East Asian region... SpreadsheetDecoder seems to merge phonetic information (under
<rPh>
tags in xl/sharedStrings.xml) into cell value. Phonetic information is auxiliary hint so I think it does not need to be observable as a cell value.Currently, XlsDecoder._parseSharedString is:
Shouldn't it be the following?
I attach an example excel file with phonetic information. with_phonetic.xlsx.zip