Issue 121458 - Direct formatting applied to whole paragraph should be a character style
Summary: Direct formatting applied to whole paragraph should be a character style
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 3.4.1
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 22:07 UTC by Hagar Delest
Modified: 2012-12-11 09:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Hagar Delest 2012-12-10 22:07:00 UTC
If a direct formatting is applied on a part of a paragraph, then a new internal character style is created (T1 for example).
But if you apply a direct formatting to a whole paragraph, a new internal paragraph style is created and applied (P1 for example).
As a consequence, when you change the paragraph style with the styles drop-down list, P1 is lost, so your direct formatting is lost for that whole paragraph (but not for the string with direct formatting applied on a part of the paragraph).

Expected behavior: the whole paragraph should get an internal character style on top of the already applied paragraph style so that the direct formatting is preserved.

For further detail with content.xml analysis, see this post: http://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=57972#p255941 and following posts.

Rationale: the direct formatting behavior should be consistent when applied to a part of a paragraph and a whole paragraph.

NB: same behavior in LibreOffice.
Comment 1 Oliver-Rainer Wittmann 2012-12-11 09:07:26 UTC
CC myself