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


On 09/10/17 02:20 PM, Regina Henschel wrote:
Hi Gary,

Gary Dale schrieb:
I'm using 5.4.1.2.0+ on a Debian/Buster AMD64 system.

I volunteer with several organizations, some of whom have standard
colours that I would like to add to the LibreOffice colour palette.
However the formerly available Tools | Options | Colors customization
feature seems to have disappeared.

Yes it was removed to reduce complexity for normal users.


I noticed that the font colour chooser allows you to use custom colours
but not add them to the palette. While usable, it's not a good solution
when you are going to be using the same colours repeatedly.

If you, as single user, need a color repeatedly, then you can add this color to your personal palette "Custom". It is not a real palette, but part of your personal registrymodifications.xcu. This file holds the recent colors too. But a normal user does not need to know these details.


After more googling, I eventually found a way of adding custom colours -
by creating a shape then right-clicking on it and selecting area. This
allows me to add colours to the custom palette (and apparently only the
custom palette - even if I select a different palette, the new colour
ends up in custom).

If you want to maintain "corporate identity" colors, storing them in "custom" is wrong anyway. So do not try to find any "tricks".

You should use a *.soc file stored in share/palette for those colors. You can add the colors to one of the existing files or make a totally new such file.
The file is a simple xml-file and can be edit with any editor.

You only need to add one line per color following the example
<draw:color draw:name="Black" draw:color="#000000" />
Instead of "Black" you write the text, which the user will see.
Instead of 000000 you write the code, which you see in the 'Hex' field in the Area > Color dialog. If you work in Draw you can use Format > Area without any need of a shape.

That way each user, who will use LibreOffice will get these special colors automatically.

You need writing rights from the OS to change or add files in share/palette.

Kind regards
Regina

I'm frankly dumbfounded by your explanations. You remove a generally useful dialogue to reduce complexity for normal users while simultaneously maintaining two different dialogues to set colours, each of which looks and works differently. Then you suggest that to do something that is in the use case of any normal organizational user (i.e. just about anyone who uses a word processor), you suggest creating/modifying XML files!

I agree that storing organizational (not necessarily corporate) colours in "custom" may not always be the best idea, but given their small number in any rational organization, creating a separate palette for them is arguably also not a good idea. My preference is to just add them to the standard palette and let the colour names identify them.

You've already got all the code you need to address the problem properly. Writer's code just isn't organized properly. If it was, you wouldn't have the two (maybe more - I haven't really looked) dialogues doing largely the same job but neither doing it really well.

--
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


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.