Python UNO API and Openoffice.org-core

Creating a macro - Writing a Script - Using the API

Python UNO API and Openoffice.org-core

Postby ahmedqasim81 » Wed Jul 09, 2008 12:43 pm

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.
OOo 2.4.X on Ubuntu 7.x
ahmedqasim81
 
Posts: 9
Joined: Mon Jun 23, 2008 2:31 pm

Re: Python UNO API and Openoffice.org-core

Postby AndrewZ » Wed Jul 23, 2008 4:05 am

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.
<signature>
* Did you solve your problem? Do others a favor: Post the solution
* Visit OpenOffice.org Ninja (blog) and OpenOffice.org Ninja Wiki for news, previews, troubleshooting, etc.
</signature>
OOo 3.0.X on Fedora 9 + XP
User avatar
AndrewZ
Volunteer
 
Posts: 633
Joined: Mon Oct 08, 2007 1:25 am
Location: Colorado, USA


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 6 guests