[Libreoffice-ux-advise] [Bug 85131] Style drop down doesn't update styles when paragraph is partially selected and/or not all text has same formatting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 9 08:40:03 PDT 2015


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vstuart.foote at utsa.edu

--- Comment #9 from V Stuart Foote <vstuart.foote at utsa.edu> ---
There is an issue, and misconceptions, on how a style is applied and how a
style can be modified. Bug 89960 -- Suggestion to Change Style Behavior in
Relation to Direct Formatting, as well as bug 83726 -- Applying Styles Does Not
Consistently Set Character Properties, are the broader case.

However, the .uno command linked to this menu item functions correctly to
modify Paragraph style to match selection, but only when selection is a whole
paragraph and only when all characters in the paragraph have the same direct
formatting.

Regards the the sample file, it contains a paragraph defined in Title Paragraph
style so has bold black text, but also with several direct formattings applied
to individual characters, e.g. italics and red color--and all as Default
Character style. Because the direct formatting are applied to individual
characters and not over the entire paragraph they are invalid attributes for
defining/modifying a paragraph style.

Even the "New Style from Selection" from the Paragraph styles or the Character
styles tabs of the Styles and Formatting content panel on the Sidebar will not
work with partial selections from Paragraphs.

The other facet is that Character styles when applied are not merged with
Paragraph styles--and Paragraph styles do not influence Character styles--it is
one or the other, and you either need to define a new Paragraph style or a new
Character file--but must choose. Individual characters or strings can take or
define/modify Character styles--but Paragraphs are monolithic.

But, even with a correct understanding of the relationship between component
styles, and of direct formatting the behavior of some of the .uno commands are
faulty, for example bug 70759 -- Apply Style toolbar "Clear formatting" action
does not clear the formatting but sets style "text body".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list