Date: prev next · Thread: first prev next last
June 2015 Archives by date, by thread · List index


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

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

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

--- Comment #9 from V Stuart Foote <vstuart.foote@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.