To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96371
User dtardon changed the following:
What |Old value |New value
================================================================================
CC|'' |'cmc,dtardon'
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Fri Jul 31 07:32:37
+0000 2009 -------
The problem is in handling of changes in format in
sw/source/filter/rtf/rtfatr.cxx:230: the items are compared only to the same
item in parent set or to the default item, but doesn't take in consideration the
autoformat for given node. Therefore, if the item in question (say Weight) has
been set in autoformat (to bold) and now is being set back to it's default value
(normal), it will be skipped in the output.
A snippet of RTF export, showing a paragraph, where weight should be changed to
normal after the first ., but it isn't):
\pard\plain
\ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af3\afs24\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang1033\b\loch\f0\fs24\lang1033\b
{\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b Bold.{ Normal.}}
With the attached patch, the same paragraph will be exported like following:
\pard\plain
\ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af3\afs24\lang255\ab\ltrch\dbch\af3\langfe255\hich\f0\fs24\lang1033\b\loch\f0\fs24\lang1033\b
{\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b
Bold.{\rtlch\ltrch\dbch\hich\b0\loch\b0 Normal.}}
---------------------------------------------------------------------
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]