summaryrefslogtreecommitdiff
path: root/svtools/source/uno/wizard/wizardshell.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-21 15:03:31 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-21 15:03:31 +0200
commitbdb2890c55676da4b4a569ff914bf1a5bd717725 (patch)
tree5b23a7034977c01f9cccf4c782e0ddd2bfd2bc73 /svtools/source/uno/wizard/wizardshell.hxx
parent89d95059bdf9530e6e9b1a9aadf3573364cd1718 (diff)
unoawt: added more functionality to XWizard
Diffstat (limited to 'svtools/source/uno/wizard/wizardshell.hxx')
-rw-r--r--svtools/source/uno/wizard/wizardshell.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx
index f61666f46cc3..4c44f5512d58 100644
--- a/svtools/source/uno/wizard/wizardshell.hxx
+++ b/svtools/source/uno/wizard/wizardshell.hxx
@@ -84,15 +84,26 @@ namespace svt { namespace uno
sal_Bool travelNext() { return WizardShell_Base::travelNext(); }
sal_Bool travelPrevious() { return WizardShell_Base::travelPrevious(); }
- void preExecute()
+ void activatePath( const sal_Int16 i_nPathID )
{
- // activate the first page
- ActivatePage();
+ WizardShell_Base::activatePath( PathId( i_nPathID ) );
}
::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XWizardPage >
getCurrentWizardPage() const;
+ sal_Int16 getCurrentPage() const
+ {
+ return impl_stateToPageId( getCurrentState() );
+ }
+
+ void enablePage( const sal_Int16 i_PageID, const sal_Bool i_Enable );
+
+ bool knowsPage( const sal_Int16 i_nPageID ) const
+ {
+ return knowsState( impl_pageIdToState( i_nPageID ) );
+ }
+
private:
sal_Int16 impl_stateToPageId( const WizardTypes::WizardState i_nState ) const
{