Re: [libreoffice-users] help with standard.soc file color defining

2017-02-13 Thread toki
On 02/13/2017 10:40 AM, hdv  wrote:

> You are correct concerning ase palettes. 
> However, the feature is not complete yet, because you have to add the
palettes by hand at the moment.

I just dumped my ASE palettes into /opt/Libreoffice5/share/palettes,
then tested it, by opening a file to change the colour of font.  It worked!

> See https://bugs.documentfoundation.org/show_bug.cgi?id=92354

Assuming permission to distribute can be obtained, it might
easier/simpler to distribute them using an extension --- perhaps the
same one as proposed for the .soc etc. files.

The "hard" part is knowing where that appropriate place is.

jonathon

-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] help with standard.soc file color defining

2017-02-13 Thread hdv
On 2017-02-10 04:24, toki wrote:
> On 02/09/2017 07:49 PM, Tim---Kracked_P_P---webmaster wrote:
> 
>> I am having trouble adding the Resene color palette to the
>> "standard.soc" file.
> 
> Two different Resene Palettes can be found at
> https://groups.io/g/ODF_Templates/files/ColourPalettes .
> 
> 
> For some reason, I'm under the impression that LibO can utilize adobe
> *.ase palettes, but a quick search on the LibO site doesn't confirm it.
> I've got 45 *.ase palettes from Resene,

Hai Jonathon,

You are correct concerning ase palettes. Chris Laplante added this feature on
request of Philipp Weissenbacher about one and a half years ago (I sponsored
this feature through freedomsponsors.org back then). However, the feature is not
complete yet, because you have to add the palettes by hand at the moment.

See https://bugs.documentfoundation.org/show_bug.cgi?id=92354

Hopefully this can be finished sometime in the (near?) future.

Grx HdV


-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] help with standard.soc file color defining

2017-02-10 Thread Tim---Kracked_P_P---webmaster

On 02/09/2017 10:24 PM, toki wrote:

On 02/09/2017 07:49 PM, Tim---Kracked_P_P---webmaster wrote:


I am having trouble adding the Resene color palette to the
"standard.soc" file.

Two different Resene Palettes can be found at
https://groups.io/g/ODF_Templates/files/ColourPalettes .


For some reason, I'm under the impression that LibO can utilize adobe
*.ase palettes, but a quick search on the LibO site doesn't confirm it.
I've got 45 *.ase palettes from Resene,

jonathon


I found the Resene color palette from a site that discussed color 
palettes.  Here is the site's URL.


http://people.csail.mit.edu/jaffer/Color/CSDR

The site has several different PDF files for the different color sorting 
options.


The link you provided at the "groups.io" requires a user/password to 
access the site.  So I do not know what they offer. The .soc file[s] I 
want to create will be offered at the LO Extension site as a .soc file.  
If someone knows how to create an extension that automatically installs 
the file in the proper config folder, please let me know.  Since I use 
Linux, I know where the the .soc files are located. It would be better 
to have extension do the work for you.


For those who look at the link I provided here, there are over 1300 
colors in the Renese palette.  There are other versions of there 
palette.  Renese colors is a paint palette.  I have an older PDF file 
that has a MIT.edu link to a Renese-2010 PDF file. The link I provided 
to the MIT side has several Renese files that are color sorted by 
different methods.  I like the following version.


http://swiss.csail.mit.edu/~jaffer/CSDR/resene-s.pdf

Thanks to Rémy Gauthier, I now have the Renese text file RGB color list 
to one that is a HEX version.  Now I just need to finish the needed 
parts of the .soc file, including the Renese copyright that must 
included with the color coding to make the .soc file.  After that, I 
will upload it to a folder and provide the link so others can test it on 
their systems.  Then, hopefully, I will place the .soc file with the LO 
Extension site.





--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] help with standard.soc file color defining

2017-02-09 Thread toki
On 02/09/2017 07:49 PM, Tim---Kracked_P_P---webmaster wrote:

> I am having trouble adding the Resene color palette to the
> "standard.soc" file.

Two different Resene Palettes can be found at
https://groups.io/g/ODF_Templates/files/ColourPalettes .


For some reason, I'm under the impression that LibO can utilize adobe
*.ase palettes, but a quick search on the LibO site doesn't confirm it.
I've got 45 *.ase palettes from Resene,

jonathon


-- 
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] help with standard.soc file color defining

2017-02-09 Thread Tim---Kracked_P_P---webmaster


Does not help much.  There are over 1500 named colors in the text file.  
Actually Renese colors are actually their line of paint colors.  It was 
nice of Renese to share their colors as long as you add their copyright 
text in the .soc file "somewhere".




If anyone has a C++ or Python script that would do this, it would be 
nice.  I just do not remember how to do this in either language anymore.



On 02/09/2017 04:00 PM, Remy Gauthier wrote:

Hello,

You can use the "BASE" function of CALC to convert the numbers to
hexadecimal notation. The syntax is BASE(number, base, #digits); for
instance, converting the 44 of the zydeco color would be someting like
=BASE(44,16,2) which gives 2C.

And if you want, you can use a combination of CONCATENATE and BASE to
re-create the XML of the colors which you could then easily cut/paste
to the destination file.

I hope this helps.

Rémy Gauthier.
Le jeudi 09 février 2017 à 14:49 -0500, Tim---Kracked_P_P---webmaster a
écrit :

I am having trouble adding the Resene color palette to the
"standard.soc" file.

The colors in that file are listed in HEX - #FF

but the Resene list is in the RGB decimal format - RGB(255,255,255)


The Renese "people" will allow the use of their color names, as long

as

you include the copyright info.


My problem is the .soc files I have are all in HEX format, and when

I

add a color in RGB format, that color and the next HEX color are

skipped

and the color's space shows single White space/box.

I really want to use their palette for a additional palette called

"Renese.soc" with the basic and LO colors in the palette as the

first

colors seen.


So can any one help me with this issue?  Below is the first few

colors

in the default palette.  After that is the first colors in the

Renese

list [downloaded as a text file]

Can I replace the 'draw:color="#008000"/>' with
'draw:color="rgb(0,128,0)"/>'









"R" "G" "B""Colour Name"

1  54  28cardingreen
9  54  36bottlegreen
2  64  44sherwoodgreen
2  64  44zydeco
7  58  80tarawera





--
To unsubscribe e-mail to: users+unsubscr...@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


Re: [libreoffice-users] help with standard.soc file color defining

2017-02-09 Thread Remy Gauthier
Hello,

You can use the "BASE" function of CALC to convert the numbers to
hexadecimal notation. The syntax is BASE(number, base, #digits); for
instance, converting the 44 of the zydeco color would be someting like
=BASE(44,16,2) which gives 2C.

And if you want, you can use a combination of CONCATENATE and BASE to
re-create the XML of the colors which you could then easily cut/paste
to the destination file.

I hope this helps.

Rémy Gauthier.
Le jeudi 09 février 2017 à 14:49 -0500, Tim---Kracked_P_P---webmaster a
écrit :
> I am having trouble adding the Resene color palette to the 
> "standard.soc" file.
> 
> The colors in that file are listed in HEX - #FF
> 
> but the Resene list is in the RGB decimal format - RGB(255,255,255)
> 
> > The Renese "people" will allow the use of their color names, as long
as 
> you include the copyright info.
> 
> > My problem is the .soc files I have are all in HEX format, and when
I 
> > add a color in RGB format, that color and the next HEX color are
skipped 
> and the color's space shows single White space/box.
> 
> I really want to use their palette for a additional palette called 
> > "Renese.soc" with the basic and LO colors in the palette as the
first 
> colors seen.
> 
> > So can any one help me with this issue?  Below is the first few
colors 
> > in the default palette.  After that is the first colors in the
Renese 
> list [downloaded as a text file]
> 
> Can I replace the 'draw:color="#008000"/>' with 
> 'draw:color="rgb(0,128,0)"/>'
> 
> 
> 
> 
> 
> 
> 
> 
> 
> "R" "G" "B""Colour Name"
> 
>    1  54  28cardingreen
>    9  54  36bottlegreen
>    2  64  44sherwoodgreen
>    2  64  44zydeco
>    7  58  80tarawera
> 
> 

-- 
To unsubscribe e-mail to: users+unsubscr...@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