On Tue, 2007-08-21 at 14:56 +0200, Eike Rathke wrote:
> Hi Kohei,
> 
> On Tuesday, 2007-08-21 08:12:13 -0400, Kohei Yoshida wrote:
> 
> > What I meant to say was that Excel embeds the ruby text directly into
> > string data in the shared string table, instead of storing it as a cell
> > attribute.
> 
> As part of the string? How is it distinguished?

It is tagged, of course.  I'm not sure how it's distinguished in the
BIFF format, but talking with Jody a while back, he seems to have said
that there is always extra blobs appended to the normal string data when
importing a Japanese XLS file.

As for the OOXML file, the texts with ruby are represented as follows.

<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main";
count="2" uniqueCount="2">
    <si>
        <t>吉田浩平</t>
        <rPh sb="0" eb="2">
            <t>ヨシダ</t>
        </rPh>
        <rPh sb="2" eb="4">
            <t>コウヘイ</t>
        </rPh>
        <phoneticPr fontId="1"/>
    </si>
    <si>
        <t>私は今アメリカで働いています。</t>
        <rPh sb="0" eb="1">
            <t>ワタシ</t>
        </rPh>
        <rPh sb="2" eb="3">
            <t>イマ</t>
        </rPh>
        <rPh sb="8" eb="9">
            <t>ハタラ</t>
        </rPh>
        <phoneticPr fontId="1"/>
    </si>
</sst>

And this appears inside the sharedStrings.xml fragment.

So, the ruby text is clearly distinguished from the main text, but it is
still within the same string entry.

Kohei

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to