rPh element could be just ignored #476

Closed
kawanet wants to merge 1 commits from CT_PhoneticRun into master
kawanet commented 2016-10-11 05:15:01 +00:00 (Migrated from github.com)

The xlsx.js currently does not support 18.4.6 rPh CT_PhoneticRun.
This patch just removes <rPh> element to avoid parsing needless phonetic string.

<?xml version="1.0" encodingx="UTF-8" standalone="yes"?>
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1">
  <si>
    <t>** original string **</t>
    <rPh sb="X" eb="Y">
      <t>** phonetic string **</t>
    </rPh>
    <phoneticPr fontId="1"/>
  </si>
</sst>

See also similar patch for Perl module:
http://blog.remora.cx/2010/03/annoying-cell-value-with-furigana.html

The xlsx.js currently does not support 18.4.6 rPh CT_PhoneticRun. This patch just removes `<rPh>` element to avoid parsing needless phonetic string. ``` xml <?xml version="1.0" encodingx="UTF-8" standalone="yes"?> <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1"> <si> <t>** original string **</t> <rPh sb="X" eb="Y"> <t>** phonetic string **</t> </rPh> <phoneticPr fontId="1"/> </si> </sst> ``` See also similar patch for Perl module: http://blog.remora.cx/2010/03/annoying-cell-value-with-furigana.html

Pull request closed

Sign in to join this conversation.
No description provided.