On Sat, Mar 1, 2008 at 10:39 PM, NoOp wrote: > it might not be too difficult to modify the standard.soc file in a text > editor to include your house style colors.
* Get the RGB values of the colours you want to add; * Get the names of the colours you want to add; * Copy standard.soc to something else. ( I'd suggest the standard_YYYYMMDD.soc where YYYMMDD is the year, month, and day.) * Open standard.soc in a text editor; * Find the first line that start with "<draw:color draw:name"; * Copy that entire line; * Paste as many colours as you'll be adding to the palette; * Start at the beginning of the pasted lines; * Replace everything between the first set of quote marks with the name of the colour. It should like like the following := draw:name="name of colour" * Replace the numbers between the second set of quote marks with the RGB value of the colour. It should look like the following := draw:color="#000000"/> * Repeat until all colours have been added; * Save your work; * Restart OOo; * Verify that the colour palette is what you wanted; > *Disclaimer*: I've *not* experimented with this, so back up your .soc's and > proceed at your own risk :-) I've created a number of palettes. So long as you remember to back up your original, prior to editing it, you won't run into any problems. ( I _think_ the largest colour palette I've used had 64K colours. I do have a python script that will generate a16M colour palette.)) xan jonathon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
