Date: prev next · Thread: first prev next last
March 2012 Archives by date, by thread · List index


Hello Maxime

This is intended behaviour. LibreOffice makes an assumption that when you apply a style you want the paragraph to look like that, so it overrides the direct formatting that had been applied to the whole paragraph. The assumption works otherwise when the direct formatting was affecting only a portion: you want the paragraph to look like the style, but you want that portion to retain it's direct formatting.

Generally, direct formatting overrides styles, but they are not really meant to be used in conjunction, but you still can if you want to. The best thing to do in your specific case is to change the style itself so it applies your bold atribute (or you may create a new style, based on that one, to do that). The second best thing is to apply the direct formatting after applying the style (but remember you will have to do that for each paragraph you want that atribute in, and you will have to re-do it if you later change the paragraph style again.

Hope that helps.

Message: 1
Date: Thu, 29 Mar 2012 09:25:56 +0200
From: Maxime de Roucy<mderoucy@linagora.com>
Subject: Re: [Libreoffice-ux-advise] [Libreoffice] named formatting
        attributs overwrite automatic formatting attributs (paragraph /
        character)
To: libreoffice-dev<libreoffice@lists.freedesktop.org>
Cc: Cor Nouws<oolst@nouenoff.nl>, ux-advise
        <libreoffice-ux-advise@lists.freedesktop.org>, caolanm@redhat.com
Message-ID:<1333005956.1310.41.camel@max-desktop>
Content-Type: text/plain; charset="utf-8"

Hello,

I have been ask to rewrite my mail with the term "direct
formatting" (which means with the buttons) and "style formatting" (which
means with the "Style and Formatting" window).

So here it is :

I am wondering, when I apply a direct character formatting attribut on a
portion of text (not a whole paragraph) (for example I clic on bold in
the "Formatting" toolbar) and then apply a style character formatting
attribut on the same portion of text (for example "Internet Link"), the
attributs are merged.

When I apply a direct character formatting attribut to a paragraph (for
example I clic on bold in the "Formatting" toolbar) and the apply a
style paragraph formatting attribut (for example "Default") on the same
paragraph, the style attribut overwrite the automatic one (the bold
attribut disappear).

For my part I think this should be fixed, I mean that both paragraph and
character attributs should have the same behavior (overwriting or
merging).

What do you think ?
- am I wrong ? (Not my choice?)
- Should the style paragraph formatting attribut be merge with the
direct one ? (My first choice)
- Should the style character formatting attribut overwrite the direct
one ? (My second choice)

Regards

Maxime de Roucy


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.