[api-dev] veto on a saveAs-action using the document event OnSaveAs

2008-08-13 Thread Christoph Lutz
Hi, I want to veto on a saveAs-action using the document event OnSaveAs. The veto should be done only for specific target URLs (save-as filename), the user has chosen in the SaveAs-Dialog. But how do I get the URL of the save-target? The eventObject only contains the fields EventName and Source.

Re: [api-dev] veto on a saveAs-action using the document event OnSaveAs

2008-08-13 Thread Frank Schönheit
Hi Christoph, Is there another way to veto on saveAs-actions for specific targets? I don't think so ... I want to veto on a saveAs-action using the document event OnSaveAs. The veto should be done only for specific target URLs (save-as filename), the user has chosen in the SaveAs-Dialog.

Re: [api-dev] veto on a saveAs-action using the document event OnSaveAs

2008-08-13 Thread Christoph Lutz
thanks, Frank for your statements! So I think the oly way to controll which files are saved by OOo is to override the dispatch-command that is used for SaveAs... In this case it is not possible to wait for OOo 3.x as my task is to write a interim solution for a better fileLocking for the OOo 2.x