Hi :)
Ahh, of course! The direct formatting remained "on" despite pressing Enter
a few times. Seems a sensible way to do it thb. If formatting kept
flicking back to the style rather than kept going the way the user had set
it then it could become quite painful.
When i went back to the file and used;
Format - "Clear direct formatting"
the heading 3 became bold again - although the light greyness made that
difficult to see.
Regards from
Tom :)
On 12 September 2014 07:38, Owen Genat <owen.genat@gmail.com> wrote:
jmadero wrote
Are styles supposed to retain properties like "bold." I am consistently
getting mixed results using styles.
The comments up-thread by Kevin O'Brien and Brian Barker are correct,
despite a number of disagreements. So called "direct" or "manual" (directly
applied) formatting will always override a pre-defined style definition
e.g., a character or paragraph style. In LibreOffice "direct formatting"
(which is a Microsoft Office term) is equivalent to any style definition in
content.xml, rather than styles.xml (which is where pre-defined styles are
stored).
I have already commented in the bug report raised by Joel (which has since
been closed as NOTABUG), but it seems that this principle of overriding
styles is not well understood. Both ISO/IEC 26300 (ODF, Part 1, §16) and
ISO/IEC 29500:2012 (OOXML Part 1, §17.7.2) define a hierarchy of
application
for styles. In both specifications what amounts to directly applied
formatting[1] are the last to be applied and so act as an override (which
is
to be expected, otherwise clicking toolbar formatting buttons AFTER
applying
a style would have no effect). This can however result in apparently
surreptitious behaviour that is at the root of why style adherents tend to
loath directly applied formatting i.e., it interfers with the effective
application of pre-defined styles.
If others would like me to expand on what was occurring in the example
document in greater detail for clarity I will. In simple terms there was a
direct formatting character definition (style T9 in content.xml) setting
both the font style and font weight to normal. This definition was
overriding the equivalent settings in any subsequently applied paragraph
style definition that used a weight of bold (for example Heading 3).
[1] In OOXML these tend to be paragraph or run properties that are not from
styles, while in ODF the determination is obtained by following the
child-parent chain in style definitions.
Best wishes, Owen.
--
View this message in context:
http://nabble.documentfoundation.org/Styles-Don-t-Retain-Bold-tp4121727p4122029.html
Sent from the Users mailing list archive at Nabble.com.
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems?
http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be
deleted
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Re: [libreoffice-users] Styles Don't Retain Bold? · Joel Madero
Re: [libreoffice-users] Styles Don't Retain Bold? · Steve Edmonds
[libreoffice-users] Re: Styles Don't Retain Bold? · Owen Genat
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.