von komma4 » Mo, 18.08.2008 13:17
toni007 hat geschrieben:Nun soll der aktuelle Dateiname vorbelegt sein (ist bei mir nicht der Fall). Gibt es eine Option, die dafür sorgt?
http://api.openoffice.org/docs/common/r ... icker.html
SDK hat geschrieben:setDefaultName Sets the default string that appears in the file name box of a FilePicker.
Bereite den Dateinamen erst mit
ConvertFromURL( ThisComponent.getURL() ) auf, bevor Du den Dateinamen mit
FileNameoutofPath() holst.
Hilft das weiter?
[quote="toni007"]Nun soll der aktuelle Dateiname vorbelegt sein (ist bei mir nicht der Fall). Gibt es eine Option, die dafür sorgt?[/quote]
http://api.openoffice.org/docs/common/ref/com/sun/star/ui/dialogs/XFilePicker.html
[quote="SDK"]setDefaultName Sets the default string that appears in the file name box of a FilePicker.[/quote]
Bereite den Dateinamen erst mit[color=#008000] ConvertFromURL( ThisComponent.getURL() )[/color] auf, bevor Du den Dateinamen mit [color=#008000]FileNameoutofPath() [/color]holst.
Hilft das weiter?