summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/wizardservices.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-03-05 13:53:13 +0000
committerFrank Schönheit <fs@openoffice.org>2001-03-05 13:53:13 +0000
commit69a660a95799ff00231d7d2a5e8bd9ac26048568 (patch)
tree48e74655ddd6a6a6874142e003cc1065816bc085 /extensions/source/dbpilots/wizardservices.cxx
parent432d5b86e13ee70862da89a6c32c9b1c663def74 (diff)
finished the grid control wizard
Diffstat (limited to 'extensions/source/dbpilots/wizardservices.cxx')
-rw-r--r--extensions/source/dbpilots/wizardservices.cxx34
1 files changed, 32 insertions, 2 deletions
diff --git a/extensions/source/dbpilots/wizardservices.cxx b/extensions/source/dbpilots/wizardservices.cxx
index 0bbcb6661b85..cc24925408ac 100644
--- a/extensions/source/dbpilots/wizardservices.cxx
+++ b/extensions/source/dbpilots/wizardservices.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: wizardservices.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fs $ $Date: 2001-02-23 15:19:08 $
+ * last change: $Author: fs $ $Date: 2001-03-05 14:53:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,9 @@
#ifndef _EXTENSIONS_DBP_LISTCOMBOWIZARD_HXX_
#include "listcombowizard.hxx"
#endif
+#ifndef _EXTENSIONS_DBP_GRIDWIZARD_HXX_
+#include "gridwizard.hxx"
+#endif
// the registration methods
extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard()
@@ -87,6 +90,13 @@ extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
> aAutoRegistration;
}
+extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
+{
+ static ::dbp::OMultiInstanceAutoRegistration<
+ ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
+ > aAutoRegistration;
+}
+
//.........................................................................
namespace dbp
{
@@ -128,6 +138,23 @@ namespace dbp
return aReturn;
}
+ //=====================================================================
+ //= OGridSI
+ //=====================================================================
+ //---------------------------------------------------------------------
+ ::rtl::OUString OGridSI::getImplementationName() const
+ {
+ return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGridWizard");
+ }
+
+ //---------------------------------------------------------------------
+ Sequence< ::rtl::OUString > OGridSI::getServiceNames() const
+ {
+ Sequence< ::rtl::OUString > aReturn(1);
+ aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GridControlAutoPilot");
+ return aReturn;
+ }
+
//.........................................................................
} // namespace dbp
//.........................................................................
@@ -135,6 +162,9 @@ namespace dbp
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.2 2001/02/23 15:19:08 fs
+ * some changes / centralizations - added the list-/combobox wizard
+ *
* Revision 1.1 2001/02/21 09:24:59 fs
* initial checkin - form control auto pilots
*