Tim’s Weblog Tim's Weblog
Tim Strehle’s links and thoughts on Web apps, managing software development and Digital Asset Management, since 2002.
2008-02-11

Convert Documents From doc/ppt/xls/etc to html/pdf/flash/etc Using OpenOffice.org

Parand Tony Darugar - Convert Documents From doc/ppt/xls/etc to html/pdf/flash/etc Using OpenOffice.org:

"The magic solution is simply to use JODConverter with OpenOffice. In particular, I downloaded OpenOffice 2.3.1 for OS X, started it as “headless”:

/Applications/OpenOffice.org\ 2.3.app/Contents/MacOS/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard &

and then used JODConverter commandline to convert files:

alias ooconv='java -jar /Users/parand/Packages/jodconverter-2.2.1/lib/jodconverter-cli-2.2.1.jar'

ooconv SomePowerpointFile.ppt -f swf "

Mon, 11 Feb 2008 08:55:43 +0000