summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/ui
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-21 13:17:30 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-21 13:17:30 +0200
commitd6dd1c27f9ea664978ceb48825b8e8417cc01e61 (patch)
tree8e590051be59305933c374e5db280d8c73bd61a1 /offapi/com/sun/star/ui
parent3edcb9564ce9b11d75f76eff6c2eef7f830803ba (diff)
unoawt: evolution of the UNO-API for wizards
Diffstat (limited to 'offapi/com/sun/star/ui')
-rw-r--r--offapi/com/sun/star/ui/dialogs/XWizard.idl5
-rw-r--r--offapi/com/sun/star/ui/dialogs/XWizardPage.idl6
2 files changed, 10 insertions, 1 deletions
diff --git a/offapi/com/sun/star/ui/dialogs/XWizard.idl b/offapi/com/sun/star/ui/dialogs/XWizard.idl
index 76b4af66ffa1..0d6a92cbd164 100644
--- a/offapi/com/sun/star/ui/dialogs/XWizard.idl
+++ b/offapi/com/sun/star/ui/dialogs/XWizard.idl
@@ -33,6 +33,8 @@
module com { module sun { module star { module ui { module dialogs {
+interface XWizardPage;
+
//==================================================================================================================
/**
@@ -60,7 +62,8 @@ interface XWizard
boolean advanceTo( [in] short PageId );
boolean goBackTo( [in] short PageId );
- short getCurrentPage();
+ XWizardPage
+ getCurrentPage();
};
//==================================================================================================================
diff --git a/offapi/com/sun/star/ui/dialogs/XWizardPage.idl b/offapi/com/sun/star/ui/dialogs/XWizardPage.idl
index 8e0ea1b6be67..7c49db499214 100644
--- a/offapi/com/sun/star/ui/dialogs/XWizardPage.idl
+++ b/offapi/com/sun/star/ui/dialogs/XWizardPage.idl
@@ -43,6 +43,12 @@ interface XWizardPage : ::com::sun::star::lang::XComponent
*/
[attribute, readonly] ::com::sun::star::awt::XWindow Window;
+ /** denotes the ID of the page.
+
+ <p>Within a wizard, no two pages are allowed to have the same ID.</p>
+ */
+ [attribute, readonly] short PageId;
+
/** called when the page is activated
*/
void activatePage();