To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=38494


User er changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Mar 30 02:24:24 -0800 
2005 -------
JC,

> >RTF does have a language/locale designator, \lang# where # is the MS-LangID,
> >which is written by Writer but is not evaluated by Calc. Evaluating that 
> >would
> >enable us to correctly parse strings to values.

> If that was the case, Calc would allways presume English number formats when
> pasting RTF. But it is not.

No one said it did. And the above doesn't imply it would.

> But try the same with 12.000, and you will see that Calc stops caring about
> language settings.

Because the decimal separator of your locale doesn't occur in the string, and
the '.' may either be an en_US decimal separator, which is taken in this case,
or a group separator of your locale. That's a weakness of the current
algorithm, which is used for both, HTML and RTF, the implementation is in
sc/source/filter/rtf/eeimpars.cxx r1.12 lines 389-429.

> What we wish for, is making Calc parse the strings consistently.

Which evaluating the \lang# tags present in RTF and parsing values accordingly
would do, as long as the document language or language of a text portion is set
correctly.

  Eike


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to