I'm in the process of integrating OO Writer into an application that I'm currently developing. This app only requires a word processor, so when installing, I only install Writer and skip installation of Draw/Impress/Base/...
Unfortunately, when you're in Writer and close the last document, the UI always switches back from the Writer-style UI to the generic OpenOffice main application UI that displays the "*Welcome to OpenOffice.org ...Create a new document*". This is not only annoying (since only Writer is installed), but it's also inconsistent with our requirements; which are to allow users to launch and edit *existing* ODT documents, but disallow them from creating new documents (this part is already taken care of by stripping functionality via the xml files in the user *config* directory). Anyway, I would like to find a way to prevent this UI switch from happening. Instead, when the last document is closed from within Writer, it should simply exit the application and not switch back to the OpenOffice UI. How can this be achieved? Cheers, Daniel
