On Wed, Feb 09, 2005 at 11:43:32AM -0800, William Skaggs wrote:
> 
> 
> Dan Lewis wrote:
> > For files created by the Draw part of OOo (*.sxd files), exporting to
> > png is very simple: File > Export. Select PNG as the file format. 
> 
> Thanks for the quick response, but that's not quite what I was asking.
> Basically the question is whether machinery exists to allow creating
> a program or script (called say "oo_convert") that could be run like
> 
> oo_convert < file.sxd > file.png
> 
> or
> 
> oo_convert -i file.sxd -o file.png

my last post went out before this came out.  I have a little python
script that does mass conversion of all .sx* files in a particular
directory; I've posted the script (there are actually 2 scripts,
mostly b/c debian pyUNO bridge is broken) OOoConvertWrapper.py, and
convert.py) at http://www.derailleur.org/oo-python/

maybe it'll be of some guidance.  The script requires a working PyUNO
bridge and uses Xfvb to run OOo silently.  It's clumsy, but feel free
to ask me any qyestions you like...

matt

> 
> etc.
> 
> Best,
>  
> 
>  
> ______________ ______________ ______________ ______________
> Sent via the CNPRC Email system at primate.ucdavis.edu
> 
> 
>  
>                    
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-------------------------------------------
Matt Price          [EMAIL PROTECTED]
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
[EMAIL PROTECTED] [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to