[CREATE] Gradients, Swatches, Hatches and OpenDocument
Craig Bradney
cbradney at zip.com.au
Tue Sep 13 12:39:19 PDT 2005
> For your convenience I've dropped some files on my web pages
> http://www.maths.tcd.ie/~horkana/create/
>
> Sample OpenOffice/StarOffice XML Gradients (.sog)
> http://www.maths.tcd.ie/~horkana/create/staroffice-gradients/
> standard location for these files seems to be
> /usr/local/OpenOffice.org1.0/user/config/classic.sog
>
> Various OpenOffice resources, Gradients, Hatches, Swatches etc
> http://www.maths.tcd.ie/~horkana/create/openoffice-resources_config/
>
> They resources use the openoffice draw markup, and as you can see it
> is a table full of gradients and very closely resembles SVG the only
> significant differene being the support for more gradient types
> http://www.maths.tcd.ie/~horkana/create/openoffice-resources_config/classic
>.sog
Are there libraries out there that are *not* part of OpenOffice that are non
GTK and non Qt related, and are cross platform while you are at it?
Scribus now runs on most *nix, OSX and win32, and we need this stuff ASAP.
Right now we are just going it alone so we can move our code forward. (Its
not highly involved, afterall, for our current needs)
> I dont know if you are familiar with the kind of SVG older versions of
> OpenOffice exported but rather than the more common Hexidecimal RGB format
> they made use of RGB triplets of the form:
> color="rgb(256,256,256)"
> Presumably something equivalent could be done for other colourspaces such
> as CMYK, LAB, HSV and I have a sneaking suspicion Scribus may already have
> done something along these lines and this problem might be a lot simpler
> than we would have guessed.
Right now, as per the create wiki page I put up, we read in the "standard" "R
G B Name" format of X11/Gimp/etc.. and add spot and registration tags and
these are added to the document. We add the colour data to all documents so
the document doesn't rely on the preexisting colour files if its moved to a
new computer or OS.
Craig
More information about the CREATE
mailing list