OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

setting OOo options programmatically (without the UI)

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
karama
Newbie
Newbie


Joined: 20 Aug 2007
Posts: 1

PostPosted: Mon Aug 20, 2007 12:36 pm    Post subject: setting OOo options programmatically (without the UI) Reply with quote

Hi,

I am using the Openoffice api to convert word docs to html in headless mode with Xvfb.

I want to change the "HTML compatibility" option in the Tools->Options->Load/Save menu
programatically (or by modifying a config file).

The server I am running this on doesn't have x window display capabilities, so I cannot make this modification using the UI.

Any ideas? Alternatively, is there a way to specify these setting when I actually convert the doc file using the storeAsURL api?
Back to top
View user's profile Send private message
9point9
Moderator
Moderator


Joined: 31 Aug 2004
Posts: 3875
Location: UK

PostPosted: Mon Aug 20, 2007 12:44 pm    Post subject: Reply with quote

There is the configuration manager API for doing this sort of thing. The best example I can think of is DannyB's 'ENLARGE THE SIZE OF YOUR recent files list' thread. Something along similar lines will be able to change the HTML settings:
http://www.oooforum.org/forum/viewtopic.phtml?t=3559&highlight=
_________________
Arch Linux
OOo 3.2.0

OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group