Hi Keith,
Method close() does what it says...
You have to verify if the document was modified.
Use method isModified() from interface com.sun.star.util.XModifiable.
Then you ask for saving, and store it with interface
com.sunstar.frame.XStorable.
See
Thanks. So are you saying that I need to reprogram the actions that
the Close menu item seems to invoke? I was hoping that there was more
direct access to that functionality, perhaps by dispatching a
.uno:CloseDoc somewhere. The xCloseable-close() in combination with
CloseVetoException matches
On Tue, Oct 28, 2014 at 10:31:56PM +0100, Keith Alcock wrote:
Thanks. So are you saying that I need to reprogram the actions that
the Close menu item seems to invoke? I was hoping that there was more
direct access to that functionality, perhaps by dispatching a
.uno:CloseDoc somewhere.
Yes,