I've written most of a simple (python) program to do the following:

zip contents of directory "name/" as "name.odt" (a previously unzipped document)
   open the OpenOffice Writer on "name.odt"
when user quits Writer, unzip contents of "name.odt" to "name/" (& remove "name.odt")

..and, while I'm at it, reformat the xml bits to be "diff" and "merge"-friendly.

Why? So that by using subversion (or cvs etc.) to store the directory rather the ".odt" file my co-workers and I will be able to merge changes to a single document.

I've seen a few discussions about other approaches to the same end but I saw no conclusive answers as to how to do it. Please let me know if there is another way to do this!

My question:

Can I run the Writer from the command line in such a way that it does not return until the user quits? (Or alternatively, can I get Writer to run a close-document-hook?)

Ideally I'd like to be able to do this on Linux, Mac and Windows.

Cheers,
Oliver Goodman

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to