I don't know the answer for you original question, but I think you
shouldn't care about the name, but about the filter that is used.

- xy.html could be any other file type, using wrong extension
- people can choose HTML, but name the file xy.xml, xy.nfo, readme or
what ever.

Malte.

Jakob Lechner wrote, On 06/11/07 11:54:
> Hello,
> 
> I want my UNO component to modify a text document just before it's
> saved. Therefore I've used an EventListener in order to get notified
> about the "OnSaveAs" event. Does anybody know how I can retrieve the new
> filename of the document? I want to modify the document if and only if
> it is saved as html document.
> 
> Thanks in advance! 
> 
> Best regards

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

Reply via email to