Daniel Rentz schrieb:
Kohei Yoshida schrieb:
On Mon, 2007-08-20 at 18:39 +0200, Niklas Nebel wrote:
Kohei Yoshida wrote:
Ok, but I don't think the ruby text is entirely a formatting attribute
of the text. I consider that a part of the raw text data.
When querying for raw text, as in formulas, or text export, do you
expect the ruby text to be included?
If the caller requests the ruby to be included, then yes, otherwise no.
Of course the default behavior should be to exclude the ruby text when
the string instance is queried for raw data, but that doesn't mean the
ruby text data should not be there.
The way Excel works is as following: Think about a situation where cell
A1 contains a text and phonetic text. The formula =A1 will return the
main text only, and the formula =PHONETIC(A1) will return the phonetic
text only. Formula cells with text results will never contain phonetic
text information, so if you have the formulas above in cell A2 and A3,
and call =PHONETIC(A2) and =PHONETIC(A3) in other cells, the result will
be an empty string in both cases.
While I am playing with that... If a text cell does not contain phonetic
text, the PHONETIC function call returns the main text instead of an
empty string. Of course, as mentioned, this does not happen with formula
cells.
Regards
Dainel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]