Page 1 of 1

Python UNO API and Openoffice.org-core

PostPosted: Wed Jul 09, 2008 12:43 pm
by ahmedqasim81
Hi,
I have written a short code for python which converts a .doc document to .html using python-uno API. Is it possible to make this work only by installing and running the openoffice service using openoffice "-accept=socket,host=localhost,port=2002;urp;"
the main question is the can I make this work by just installing openoffice.org-core package and python-uno package or do I have to install the whole openoffice.org package.I dont want java dependency. and I dont want to install the whole openoffice.and also is it possible to cut down the core package so that the size is small and it can still be used as normal.I mean atleast to convert .doc to .html

I hope you understand it.

Re: Python UNO API and Openoffice.org-core

PostPosted: Wed Jul 23, 2008 4:05 am
by AndrewZ
ahmedqasim81 wrote:the main question is the can I make this work by just installing openoffice.org-core package and python-uno package or do I have to install the whole openoffice.org package


Why don't you just try it? :) I suspect you also need the writer package.

I dont want java dependency


That's fine. You won't have one.

and I dont want to install the whole openoffice


You shouldn't need Impress, Base, Calc, Draw, and a few others. However, you won't gain much because the bulk is in the core package.

and also is it possible to cut down the core package so that the size is small and it can still be used as normal.I mean atleast to convert .doc to .html


Maybe if you tried hard, but otherwise no. If you have strict size requirements, maybe OOo is not the best tool for you.