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

suppress ascii filter dialog on open, using headless

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


Joined: 12 Feb 2010
Posts: 1

PostPosted: Fri Feb 12, 2010 10:27 am    Post subject: suppress ascii filter dialog on open, using headless Reply with quote

I did a quick-and-dirty file translator using office headless. i wrote a short vba macro that saves docs / spreadsheets as html, presentations as pdf, then closes. on error it closes. then i added a event trigger to the Open Document event to run the macro.

Relatively painless - call soffice -headless <filepath> and it almost always translates the doc and exists.

Problem: when *opening* the doc, before the macro is invoked, sometimes the ascii filter dialog comes up. is there any way to ignore this from the command line, or maybe with another event trigger, to prevent the headless mode from hanging when the app is trying to present that dialog?

thanks... Mike
Back to top
View user's profile Send private message
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