Hi Ariel,

again an excellent answer by you. You are often a great help to me.

Ariel Constenla-Haile schrieb:
Hi Regina,

On Sat, May 11, 2013 at 03:15:43PM +0200, Regina Henschel wrote:
Hi,

Look at the character background icon in the text section of the sidebar.
It has the command .uno:CharacterBackgroundPattern

1. Why has this command been introduced? There exists already .uno:Backcolor

The slot/command was there since 2002
http://hg.services.openoffice.org/OOO340/rev/8dc02b58193f (at least in
that file)

I also see that for the Font Color the sidebar uses ".uno:Color", while
the toolbar has ".uno:FontColor".

The text edit toolbar has the command .uno:Color in Impress, so there the command in the toolbar and in the sidepane is the same.

Currently both font commands have the same help text, although they behave different. The help in Impress is not exactly fitting. I think, the help texts have to be divided. The texts are in main\helpcontent2\source\text\shared\01\05020200.xhp.

I skip the explanation of the dispatcher here. I have learned a lot.
[..]


Back to this case, I've no idea why the sidebar uses a SvxBrushItem,
this items allows to set a background color or a background graphic, but
AFAIK background graphic is implemented for paragraph, not for (a set
of) characters in a paragraph (Format - Character - Background offers
only color).

We might hear a reason from the developers who implemented it.


3. The icon in the sidebar behaves different from the corresponding
icon in the 'Formatting' toolbar. Especially it does not remember
the last color and it has no 'can' modus. Is that intended?

There is a bug pointing to the incongruent behaviour of the color
related toolbar icons across the different modules
https://issues.apache.org/ooo/show_bug.cgi?id=10864

It might help, to use different icons for the different commands.


To this incongruence, it has to be added that now the toolbar item popup
a floating window, while the items in sidebar do it different.

Indeed.

Kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to