[Libreoffice-ux-advise] [Libreoffice] [PATCH] modify default behaviour of the format paintbrush

Maxime de Roucy mderoucy at linagora.com
Mon Mar 19 04:15:03 PDT 2012


Hello,

> Is this change based on the idea, that people who use the paintbrush are 
> not that much looking at styles, and thus that copying those styles 
> might do more harm then good for them?
I was showing a modification I made to the format paintbrush in a
preview patch to a co-worker who work with LO but don't know it that
much. And he was very surprised that the tool change the format of the
whole paragraph.

For him, by default the format paintbrush should just change the
selected characters (whether using named or auto-style format).

That's why I thought of changing the default behaviour.

Currently :
By default it past the characters and paragraphs formatting ;
if Ctrl is hold, it only past the character formatting ;
if Ctrl and Shift are hold, it only past the paragraph formatting.

With the patch :
By default it only past the characters formatting ;
if Ctrl is hold, it past the characters and paragraphs formatting ;
if Ctrl and Shift are hold, it only past the paragraph formatting.

Regards

-- 
Maxime de Roucy
Groupe LINAGORA - OSSA
80 rue Roque de Fillol
92800 PUTEAUX
Tel. : 0 810 251 251


Le vendredi 16 mars 2012 à 16:13 +0100, Cor Nouws a écrit :
> Hi Maxime,
> 
> Maxime de Roucy wrote (14-03-12 18:38)
> 
> > Two new patchs that modify the default behaviour of the format
> > paintbrush.
> >
> > 0001-Format-paintbrush-default-behaviour.patch
> > To apply to the core repository.
> >
> > 0001-Change-format-paintbrush.patch
> > To apply to the help repository.
> >
> > By default the paintbrush doesn't copy the paragraph formatting ;
> > if Ctrl is hold, paragraph and character formatting are copied ;
> > if Ctrl and Shift are hold, only the paragraph formatting is copied.
> 
> I tried the paintbrush right now, and see that it does copy the 
> paragraph style too (I vaguely remember that from a presentation at the 
> first OOoCon I attended, 2004 :-) )
> 
> Is this change based on the idea, that people who use the paintbrush are 
> not that much looking at styles, and thus that copying those styles 
> might do more harm then good for them?
> 
> Regards,
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120319/9f9a9bc5/attachment.pgp>


More information about the LibreOffice mailing list