Apache OpenOffice (AOO) Bugzilla – Issue 72228
kde file dialog doesn't support method SetDefaultName
Last modified: 2013-07-29 17:55:19 UTC
Following StarBasic Code: oDialog = CreateUnoService( "com.sun.star.ui.dialogs.FilePicker" ) oDialog.Initialize( aArg() ) oDialog.appendFilter( "OpenDocument Text (*.odt)", "*.odt" ) oDialog.SetMultiselectionMode( False ) oDialog.SetDefaultName( sName ) iOk = oDialog.execute() On Suse Linux with KDE, Novells OOo build, Version 2.0.2, Option "use OOo Dialogs" set, the above code suggests the content of sName as default filename. If the option is not set and the KDE dialogs are used, no default filename is set.