https://bugs.documentfoundation.org/show_bug.cgi?id=149135

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=14
                   |                            |6663

--- Comment #4 from Mike Kaganski <[email protected]> ---
When you apply paragraph style, the action does reset the direct formatting set
on the paragraph level. It does not change any format (direct or style) set on
character level (with an exception when the character direct formatting spans
the whole paragraph).

This allows e.g. to keep some words highlighted, even if you decided to change
this paragraph from text body to table contents. This is the correct behavior,
and follows the least astonishment principle.

It might seem that the test case matches the "character direct formatting spans
the whole paragraph" exception mentioned above. No, in that paragraph, there
are actually *two* text runs with different direct formatting, the only
difference being an "rsid" invisible attribute, showing different edit
sessions. It is visible in the XML, but deliberately not shown in style
inspector. This makes this case to work differently compared to tdf#146663.
Possibly it would make sense to reset all but rsid in this case, to behave like
146663.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to