summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/ui
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-06-01 15:03:56 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-06-01 15:03:56 +0200
commitab54a7404ba383265f8a4dca953bcf4bcfd093b8 (patch)
tree8b4c008061004efe9e4b751c03a5f6eeb0243ac3 /offapi/com/sun/star/ui
parentf6c1c0f3626c8212bd1d95a91d8d1f113ce910da (diff)
unoawt: UNO/SVT wizzards: allow to completely reset the DefaultButton - for pages which have on own default button
Diffstat (limited to 'offapi/com/sun/star/ui')
-rw-r--r--offapi/com/sun/star/ui/dialogs/WizardButton.idl2
-rw-r--r--offapi/com/sun/star/ui/dialogs/XWizard.idl3
2 files changed, 4 insertions, 1 deletions
diff --git a/offapi/com/sun/star/ui/dialogs/WizardButton.idl b/offapi/com/sun/star/ui/dialogs/WizardButton.idl
index aeb22910996c..34c0d8074889 100644
--- a/offapi/com/sun/star/ui/dialogs/WizardButton.idl
+++ b/offapi/com/sun/star/ui/dialogs/WizardButton.idl
@@ -37,6 +37,8 @@ module com { module sun { module star { module ui { module dialogs {
*/
constants WizardButton
{
+ /// denotes none of the buttons in the wizard
+ const short NONE = 0;
/// denotes the button used to travel forward through the wizard
const short NEXT = 1;
/// denotes the button used to travel backward through the wizard
diff --git a/offapi/com/sun/star/ui/dialogs/XWizard.idl b/offapi/com/sun/star/ui/dialogs/XWizard.idl
index 5de5eaa300a4..445f7bbf2a44 100644
--- a/offapi/com/sun/star/ui/dialogs/XWizard.idl
+++ b/offapi/com/sun/star/ui/dialogs/XWizard.idl
@@ -102,7 +102,8 @@ interface XWizard
buttons are unlikely to ever being disabled.</p>
@param WizardButton
- denotes the button to enable or disable, as one of the <type>WizardButton</type> constants
+ denotes the button to enable or disable, as one of the <type>WizardButton</type> constants. Must not be
+ <member>WizardButton::NONE</member>.
@param Enable
specifies whether the button should be enabled (<TRUE/>) or disabled (<FALSE/>)
*/