Issue 72228 - kde file dialog doesn't support method SetDefaultName
Summary: kde file dialog doesn't support method SetDefaultName
Status: CONFIRMED
Alias: None
Product: kde
Classification: Code
Component: code (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: issues@kde
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 19:02 UTC by veru
Modified: 2013-07-29 17:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description veru 2006-12-03 19:02:31 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.