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


User af changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|af                        |cl
--------------------------------------------------------------------------------




------- Additional comments from a...@openoffice.org Wed Apr  8 14:52:28 +0000 
2009 -------
The font size, a value relative to its original size, is written in
XMLCharHeightHdl::exportXML (xmloff/source/style/chrhghdl.cxx) as absolute point
size (pt).  When written correctly (150% is mapped to 1.5pt) then the absolute
size is mapped correctly back to the relative size.

The exportXML() method, however, can handle only float values.  For some reason
some relative font sizes like 400% (extra large) is stored as double value in
the Any that is passed to exportXML().  The double value is not recognized and
therefore an empty string is written to file.

Adding support for double values in the exportXML() method fixes this problem.

@cl: I am not quite sure whether the absolute/relative conversion is a bug or a
feature or whether restricting exportXML() to just float values is a bug or a
feature.  Can you shed some light on this?

---------------------------------------------------------------------
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: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to