Matthias B. wrote: > I'm looking for a way to get notified when a document's URL > (XModel.getURL()) changes, usually after the user saves the document > via save as (or save in case of a new document). I tried an > XStorageChangeListener, but it's not triggered in this case. The only > other thing I can think of is to catch the dispatches for Save and > SaveAs, but that's not pretty and doesn't catch changes to the URL via > API.
You can try the document event "OnSaveAsDone". Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]