On Wed, Aug 27, 2008 at 3:55 AM, Alexandro Colorado <[EMAIL PROTECTED]> wrote: > On Tue, 26 Aug 2008 11:00:37 -0500, Lukasz Szybalski <[EMAIL PROTECTED]> > wrote: > >> 2. Is there a way to open openoffice in some kind of quite mode? >> openoffice -accept="socket,host=localhost,port=2002;urp;" This opens >> up the actual program. I think if I was able to run it in a background >> that would speed things up. > > This might be a cleaner code: > http://www.stuvel.eu/ooo-python > > Look for Automatic OOo startup. > > BTW sqlalchemy might not run on the standard version of python shipped with > this version of OOo. Please make sure that you note it on your manual. > > OOo ships with python 2.3 and most modules outside of the standard library > ones, don't work. I guess a better option will be to code with the OOo > database module. > com.sun.star.sdb.DatabaseContext
I don't really work with python 2.3 that comes with OOo. I use what ever python version system has and interact with openoffice through uno. Right now I have the following code that starts my openofice try : if OOo listens continue if not os.command( start OO...) I'll check out the links you sent. My other question as far as combining pages? How can I add a new page? Currently I create temp.odt and append it to my maindocument.odt: cursor2.insertDocumentFromURL("file:///home/lucas/temp.odt", ()) But at around 95-110+ page the process of inserting a page doubles in time, aka inserting a pages takes twice as long. Is there a better way to add a new page? Thanks, Lucas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]