Dear James and all:

My experience is that Oo stores color codes, hatches and gradients all in the same place relative to itself.

This alone does not give you the exact path, as that can vary in relation to the different platforms.

However there is a simple procedure I use to load, store and migrate this data between Fedora, Win XP etc on my network, and carry it physically to friend's machines (as I have created a number of custom colours and gradients.)

*_Procedure:_*

In whatever installation of Oo you are using...

1)    Open a blank Oo Draw file.

2) Draw a rectangle (size is minimally important, as long as it fits the page and is big enough to see the fill colour.)

3 )   Right click (PC) on the fill.

4)    From the menu that appears, choose area.

5)    Then choose the "colours" tab.

6) Close to the right side of the colour choice window, look for 2 icons, One usually a blue floppy, (to "save as" the colour palette), the other one above it to load a colour palette.

7) Open either one of these, and you will get the contents of the default folder that holds the color palette (usual extension: .SOC) The default file name is "Standard.SOC", and the size will depend on the number of colours it contains at the time. (Mine, with added colours is only about 12 Kb.)

8) In the usual manner for navigating, start to navigate - more to see where the default folder is located than to actually do anything.

9) If you want to export a colour palette, load it into Oo, then save it with the other icon, navigating to your desired new location. Then you will end up saving a copy of it in that location, which can be a USB stick, and external or network drive or whatever you have.

10) Likewise, using the load icon, you can load a file from any other location, then save it as the "Standard.SOC" file, overwriting the one in the default folder and, providing the new file is a legitimate SOC, it will be the default colour palette once you close and restart Open office - no need to reboot as a rule.

11) All the preceding stuff repeats for Gradients (Default "Standard.SOG") and Hatches - Default "Standard.SOG"

12) If the installation were on a MAC, either the HFS or HFS+ file system would likely generate the usual mac fork, or that might be done by the underlying Java runtime used with the MAC (Tiger and up.)

12a) When exporting from a MAC to a PC environment, it is normal to end up with 3 files for each part of the MAC fork: The Data Resource is the one you need for the PC, the Resource and other forks should be saved aside, so that when you need to re-import the file back from the PC world to the MAC world, you simply copy the modified PC file back into the folder where the other 2 files were kept, making sure the filenames (aside from the extensions) are identical, then, in the MAC environment, the re-integration of the 3 files back into the MAC fork is normally done automatically when you copy the file back into the MAC environment.

On the older MACS, this was done with a PC formatted floppy used in the MAC floppy drive, as on either the 1.44Mb PC floppy and the same physical floppy, formatted as HFS (MAC) 900 Kb. were actually encoded MFM.

On USB Sticks, the file system should be FAT16, but Likely could work with ext2 or ext3, providing the MAC OS is capable of reading those systems currently.

In the case of an External HD (USB of IEEE1394/Firewire) the likely system would be FAT32.

NAS drives are more complex, as they generally have a firmware OS which is network transparent. Personally here my NAS box is the D-Link DNS-323 which is a UNIX box.

Since the latest major firmware upgrade flashes the obligatory initial initialise and format the box does on anew drive can be ext2 or ext3 (latter preferred) but other machines will see this as if it were NTFS, or, alternatively this box has built-in SFTP and Torrent servers as well as the more normal Windows network protocol. In Linux (Fedora 14 x_64) I access this via Samba. The box also has firmware RAID capability and scheduled automated download capability.

This box can go well with D-Link's DIR-825, as it likes a Gb. Wired connection (CAT 6 cable required).

Happy computing and learning!

I hope you all find my answer a "colourful" answer (guffaw).

Bruce M.


On 12/12/2010 19:09, James Greenidge wrote:
Seasons Greetings:

I'd be happy enough just being pointed to where Linux/Mint OOo stores its color code files so I can figure out how to replace it with the one from Mac OOo to save my home school the time and tedium of inputting over eighty custom non-Sun color codes. Thanks.

Jim


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


--
Best Regards, Bruce Martin

Reply via email to