summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/inc/abpilot.hrc20
-rw-r--r--extensions/inc/bibliography.hrc102
-rw-r--r--extensions/inc/dbpilots.hrc40
-rw-r--r--extensions/inc/propctrlr.hrc601
-rw-r--r--extensions/inc/update.hrc28
-rw-r--r--extensions/prj/build.lst3
-rw-r--r--extensions/prj/d.lst17
-rw-r--r--extensions/qa/complex/extensions/OfficeResourceLoader.java84
-rw-r--r--extensions/qa/complex/extensions/makefile.mk59
-rw-r--r--extensions/source/abpilot/abp.component34
-rw-r--r--extensions/source/abpilot/abpresid.hrc3
-rw-r--r--extensions/source/abpilot/abpservices.cxx21
-rw-r--r--extensions/source/abpilot/abspilot.src23
-rw-r--r--extensions/source/abpilot/exports.dxp1
-rw-r--r--extensions/source/abpilot/makefile.mk8
-rw-r--r--extensions/source/bibliography/bib.component35
-rw-r--r--extensions/source/bibliography/bib.hrc2
-rw-r--r--extensions/source/bibliography/bibload.cxx30
-rw-r--r--extensions/source/bibliography/datman.cxx6
-rw-r--r--extensions/source/bibliography/datman.src31
-rw-r--r--extensions/source/bibliography/general.cxx16
-rw-r--r--extensions/source/bibliography/general.hxx4
-rw-r--r--extensions/source/bibliography/makefile.mk8
-rw-r--r--extensions/source/bibliography/toolbar.src77
-rw-r--r--extensions/source/config/ldap/componentdef.cxx7
-rw-r--r--extensions/source/config/ldap/exports.dxp1
-rw-r--r--extensions/source/config/ldap/ldapbe2.component34
-rw-r--r--extensions/source/config/ldap/makefile.mk8
-rw-r--r--extensions/source/dbpilots/commonpagesdbp.src9
-rw-r--r--extensions/source/dbpilots/dbp.component40
-rw-r--r--extensions/source/dbpilots/dbpilots.src3
-rw-r--r--extensions/source/dbpilots/dbpresid.hrc1
-rw-r--r--extensions/source/dbpilots/dbpservices.cxx21
-rw-r--r--extensions/source/dbpilots/gridpages.src7
-rw-r--r--extensions/source/dbpilots/groupboxpages.src14
-rw-r--r--extensions/source/dbpilots/listcombopages.src8
-rw-r--r--extensions/source/dbpilots/makefile.mk8
-rw-r--r--extensions/source/inc/componentmodule.cxx48
-rw-r--r--extensions/source/inc/componentmodule.hxx15
-rw-r--r--extensions/source/logging/log.component47
-rw-r--r--extensions/source/logging/makefile.mk8
-rw-r--r--extensions/source/ole/makefile.mk7
-rw-r--r--extensions/source/ole/oleautobridge.component46
-rw-r--r--extensions/source/ole/oleautobridge.uno.dxp1
-rw-r--r--extensions/source/ole/servreg.cxx41
-rw-r--r--extensions/source/oooimprovecore/makefile.mk8
-rw-r--r--extensions/source/oooimprovecore/oooimprovecore.component34
-rw-r--r--extensions/source/oooimprovement/invite_job.cxx2
-rw-r--r--extensions/source/oooimprovement/makefile.mk8
-rw-r--r--extensions/source/oooimprovement/onlogrotate_job.cxx2
-rw-r--r--extensions/source/oooimprovement/oooimprovement.component38
-rw-r--r--extensions/source/oooimprovement/oooimprovement_exports.cxx22
-rw-r--r--extensions/source/plugin/base/service.cxx27
-rw-r--r--extensions/source/plugin/util/makefile.mk8
-rw-r--r--extensions/source/plugin/util/pl.component37
-rw-r--r--extensions/source/preload/makefile.mk8
-rw-r--r--extensions/source/preload/preload.component34
-rw-r--r--extensions/source/preload/preload.src8
-rw-r--r--extensions/source/preload/services.cxx21
-rw-r--r--extensions/source/propctrlr/browserline.cxx12
-rw-r--r--extensions/source/propctrlr/browserline.hxx2
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx4
-rw-r--r--extensions/source/propctrlr/defaultforminspection.cxx2
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx12
-rw-r--r--extensions/source/propctrlr/eventhandler.cxx16
-rw-r--r--extensions/source/propctrlr/eventhandler.hxx14
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx36
-rw-r--r--extensions/source/propctrlr/formlinkdialog.src2
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx14
-rw-r--r--extensions/source/propctrlr/formmetadata.hxx2
-rw-r--r--extensions/source/propctrlr/listselectiondlg.src2
-rw-r--r--extensions/source/propctrlr/makefile.mk8
-rw-r--r--extensions/source/propctrlr/newdatatype.src2
-rw-r--r--extensions/source/propctrlr/pcr.component91
-rw-r--r--extensions/source/propctrlr/pcrcommon.cxx21
-rw-r--r--extensions/source/propctrlr/pcrcommon.hxx5
-rw-r--r--extensions/source/propctrlr/pcrservices.cxx21
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx2
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx10
-rw-r--r--extensions/source/propctrlr/propertyeditor.hxx4
-rw-r--r--extensions/source/propctrlr/propertyinfo.hxx3
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.src2
-rw-r--r--extensions/source/propctrlr/taborder.src4
-rw-r--r--extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx4
-rw-r--r--extensions/source/resource/exports.dxp1
-rw-r--r--extensions/source/resource/makefile.mk8
-rw-r--r--extensions/source/resource/res.component38
-rw-r--r--extensions/source/resource/res_services.cxx42
-rw-r--r--extensions/source/scanner/exports.dxp1
-rw-r--r--extensions/source/scanner/grid.src3
-rw-r--r--extensions/source/scanner/makefile.mk8
-rw-r--r--extensions/source/scanner/sanedlg.src17
-rw-r--r--extensions/source/scanner/scn.component34
-rw-r--r--extensions/source/scanner/scnserv.cxx31
-rw-r--r--extensions/source/svg/svguno.cxx30
-rw-r--r--[-rwxr-xr-x]extensions/source/update/check/download.cxx0
-rw-r--r--extensions/source/update/check/makefile.mk8
-rw-r--r--[-rwxr-xr-x]extensions/source/update/check/updatecheck.cxx0
-rw-r--r--[-rwxr-xr-x]extensions/source/update/check/updatecheckconfig.cxx0
-rwxr-xr-xextensions/source/update/check/updatecheckjob.cxx12
-rw-r--r--extensions/source/update/check/updatehdl.cxx21
-rw-r--r--extensions/source/update/check/updchk.uno.component37
-rw-r--r--extensions/source/update/feed/makefile.mk8
-rw-r--r--extensions/source/update/feed/updatefeed.component34
-rw-r--r--extensions/source/update/feed/updatefeed.cxx12
-rw-r--r--extensions/source/update/ui/makefile.mk8
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx12
-rw-r--r--extensions/source/update/ui/updchk.component34
-rw-r--r--extensions/source/xmlextract/makefile.mk8
-rw-r--r--extensions/source/xmlextract/xmx.component34
-rw-r--r--extensions/source/xmlextract/xmxuno.cxx21
111 files changed, 1549 insertions, 1092 deletions
diff --git a/extensions/inc/abpilot.hrc b/extensions/inc/abpilot.hrc
index aea77a3f3..88d5cc17c 100644
--- a/extensions/inc/abpilot.hrc
+++ b/extensions/inc/abpilot.hrc
@@ -27,19 +27,11 @@
#ifndef EXTENSIONS_ABPILOT_HRC
#define EXTENSIONS_ABPILOT_HRC
-#include "extensio.hrc"
-
-#define HID_ABSPILOT_PREVIOUS ( HID_ABP_START + 0)
-#define HID_ABSPILOT_NEXT ( HID_ABP_START + 1)
-#define HID_ABSPILOT_CANCEL ( HID_ABP_START + 2)
-#define HID_ABSPILOT_FINISH ( HID_ABP_START + 3)
-#define UID_ABSPILOT_HELP ( HID_ABP_START + 4)
-#define HID_ABSPILOT ( HID_ABP_START + 5)
- // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
-#define HID_ABP_LAST HID_ABSPILOT
-
-#if HID_ABP_LAST > HID_ABP_END
- #error help id range overflow (ABP)
-#endif
+#define HID_ABSPILOT_PREVIOUS "EXTENSIONS_HID_ABSPILOT_PREVIOUS"
+#define HID_ABSPILOT_NEXT "EXTENSIONS_HID_ABSPILOT_NEXT"
+#define HID_ABSPILOT_CANCEL "EXTENSIONS_HID_ABSPILOT_CANCEL"
+#define HID_ABSPILOT_FINISH "EXTENSIONS_HID_ABSPILOT_FINISH"
+#define UID_ABSPILOT_HELP "EXTENSIONS_UID_ABSPILOT_HELP"
+#define HID_ABSPILOT "EXTENSIONS_HID_ABSPILOT"
#endif // EXTENSIONS_ABPILOT_HRC
diff --git a/extensions/inc/bibliography.hrc b/extensions/inc/bibliography.hrc
index 90372fc0b..52a6694e9 100644
--- a/extensions/inc/bibliography.hrc
+++ b/extensions/inc/bibliography.hrc
@@ -27,60 +27,52 @@
#ifndef EXTENSIONS_BIBLIOGRAPHY_HRC
#define EXTENSIONS_BIBLIOGRAPHY_HRC
-#include "extensio.hrc"
-
-#define HID_BIB_CHANGESOURCE ( HID_BIBLIO_START + 0)
-#define HID_BIB_MAPPINGDLG ( HID_BIBLIO_START + 1)
-#define HID_BIB_TBX_TABLE ( HID_BIBLIO_START + 2)
-#define HID_BIB_TBX_SEARCH ( HID_BIBLIO_START + 3)
-#define HID_BIB_TBX_AUTOFILTER ( HID_BIBLIO_START + 4)
-#define HID_BIB_IDENTIFIER_POS ( HID_BIBLIO_START + 5)
-#define HID_BIB_AUTHORITYTYPE_POS ( HID_BIBLIO_START + 6)
-#define HID_BIB_AUTHOR_POS ( HID_BIBLIO_START + 7)
-#define HID_BIB_TITLE_POS ( HID_BIBLIO_START + 8)
-#define HID_BIB_YEAR_POS ( HID_BIBLIO_START + 9)
-#define HID_BIB_ISBN_POS ( HID_BIBLIO_START + 10)
-#define HID_BIB_BOOKTITLE_POS ( HID_BIBLIO_START + 11)
-#define HID_BIB_CHAPTER_POS ( HID_BIBLIO_START + 12)
-#define HID_BIB_EDITION_POS ( HID_BIBLIO_START + 13)
-#define HID_BIB_EDITOR_POS ( HID_BIBLIO_START + 14)
-#define HID_BIB_HOWPUBLISHED_POS ( HID_BIBLIO_START + 15)
-#define HID_BIB_INSTITUTION_POS ( HID_BIBLIO_START + 16)
-#define HID_BIB_JOURNAL_POS ( HID_BIBLIO_START + 17)
-#define HID_BIB_MONTH_POS ( HID_BIBLIO_START + 18)
-#define HID_BIB_NOTE_POS ( HID_BIBLIO_START + 19)
-#define HID_BIB_ANNOTE_POS ( HID_BIBLIO_START + 20)
-#define HID_BIB_NUMBER_POS ( HID_BIBLIO_START + 21)
-#define HID_BIB_ORGANIZATIONS_POS ( HID_BIBLIO_START + 22)
-#define HID_BIB_PAGES_POS ( HID_BIBLIO_START + 23)
-#define HID_BIB_PUBLISHER_POS ( HID_BIBLIO_START + 24)
-#define HID_BIB_ADDRESS_POS ( HID_BIBLIO_START + 25)
-#define HID_BIB_SCHOOL_POS ( HID_BIBLIO_START + 26)
-#define HID_BIB_SERIES_POS ( HID_BIBLIO_START + 27)
-#define HID_BIB_REPORTTYPE_POS ( HID_BIBLIO_START + 28)
-#define HID_BIB_VOLUME_POS ( HID_BIBLIO_START + 29)
-#define HID_BIB_URL_POS ( HID_BIBLIO_START + 30)
-#define HID_BIB_CUSTOM1_POS ( HID_BIBLIO_START + 31)
-#define HID_BIB_CUSTOM2_POS ( HID_BIBLIO_START + 32)
-#define HID_BIB_CUSTOM3_POS ( HID_BIBLIO_START + 33)
-#define HID_BIB_CUSTOM4_POS ( HID_BIBLIO_START + 34)
-#define HID_BIB_CUSTOM5_POS ( HID_BIBLIO_START + 35)
-#define HID_BIB_DB_TBX ( HID_BIBLIO_START + 36)
-#define HID_BIB_DB_GHIDCTRL ( HID_BIBLIO_START + 37)
-#define HID_BIB_CONTROL_PAGE ( HID_BIBLIO_START + 38)
-#define HID_BIB_CONTROL_PARENT ( HID_BIBLIO_START + 39)
-#define UID_BIB_FRAME_WINDOW ( HID_BIBLIO_START + 40)
-#define HID_BIB_DELETE_RECORD ( HID_BIBLIO_START + 41)
-#define HID_BIB_INSERT_RECORD ( HID_BIBLIO_START + 42)
-#define HID_BIB_DB_GRIDCTRL ( HID_BIBLIO_START + 43)
-#define HID_DLG_MAPPING ( HID_BIBLIO_START + 44)
-#define HID_DLG_DBCHANGE ( HID_BIBLIO_START + 45)
-#define HID_SELECTION_TLB ( HID_BIBLIO_START + 46)
- // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
-#define HID_BIB_LAST HID_SELECTION_TLB
-
-#if HID_BIB_LAST > HID_BIBLIO_END
- #error help id range overflow (BIBLIO)
-#endif
+#define HID_BIB_CHANGESOURCE "EXTENSIONS_HID_BIB_CHANGESOURCE"
+#define HID_BIB_MAPPINGDLG "EXTENSIONS_HID_BIB_MAPPINGDLG"
+#define HID_BIB_TBX_TABLE "EXTENSIONS_HID_BIB_TBX_TABLE"
+#define HID_BIB_TBX_SEARCH "EXTENSIONS_HID_BIB_TBX_SEARCH"
+#define HID_BIB_TBX_AUTOFILTER "EXTENSIONS_HID_BIB_TBX_AUTOFILTER"
+#define HID_BIB_IDENTIFIER_POS "EXTENSIONS_HID_BIB_IDENTIFIER_POS"
+#define HID_BIB_AUTHORITYTYPE_POS "EXTENSIONS_HID_BIB_AUTHORITYTYPE_POS"
+#define HID_BIB_AUTHOR_POS "EXTENSIONS_HID_BIB_AUTHOR_POS"
+#define HID_BIB_TITLE_POS "EXTENSIONS_HID_BIB_TITLE_POS"
+#define HID_BIB_YEAR_POS "EXTENSIONS_HID_BIB_YEAR_POS"
+#define HID_BIB_ISBN_POS "EXTENSIONS_HID_BIB_ISBN_POS"
+#define HID_BIB_BOOKTITLE_POS "EXTENSIONS_HID_BIB_BOOKTITLE_POS"
+#define HID_BIB_CHAPTER_POS "EXTENSIONS_HID_BIB_CHAPTER_POS"
+#define HID_BIB_EDITION_POS "EXTENSIONS_HID_BIB_EDITION_POS"
+#define HID_BIB_EDITOR_POS "EXTENSIONS_HID_BIB_EDITOR_POS"
+#define HID_BIB_HOWPUBLISHED_POS "EXTENSIONS_HID_BIB_HOWPUBLISHED_POS"
+#define HID_BIB_INSTITUTION_POS "EXTENSIONS_HID_BIB_INSTITUTION_POS"
+#define HID_BIB_JOURNAL_POS "EXTENSIONS_HID_BIB_JOURNAL_POS"
+#define HID_BIB_MONTH_POS "EXTENSIONS_HID_BIB_MONTH_POS"
+#define HID_BIB_NOTE_POS "EXTENSIONS_HID_BIB_NOTE_POS"
+#define HID_BIB_ANNOTE_POS "EXTENSIONS_HID_BIB_ANNOTE_POS"
+#define HID_BIB_NUMBER_POS "EXTENSIONS_HID_BIB_NUMBER_POS"
+#define HID_BIB_ORGANIZATIONS_POS "EXTENSIONS_HID_BIB_ORGANIZATIONS_POS"
+#define HID_BIB_PAGES_POS "EXTENSIONS_HID_BIB_PAGES_POS"
+#define HID_BIB_PUBLISHER_POS "EXTENSIONS_HID_BIB_PUBLISHER_POS"
+#define HID_BIB_ADDRESS_POS "EXTENSIONS_HID_BIB_ADDRESS_POS"
+#define HID_BIB_SCHOOL_POS "EXTENSIONS_HID_BIB_SCHOOL_POS"
+#define HID_BIB_SERIES_POS "EXTENSIONS_HID_BIB_SERIES_POS"
+#define HID_BIB_REPORTTYPE_POS "EXTENSIONS_HID_BIB_REPORTTYPE_POS"
+#define HID_BIB_VOLUME_POS "EXTENSIONS_HID_BIB_VOLUME_POS"
+#define HID_BIB_URL_POS "EXTENSIONS_HID_BIB_URL_POS"
+#define HID_BIB_CUSTOM1_POS "EXTENSIONS_HID_BIB_CUSTOM1_POS"
+#define HID_BIB_CUSTOM2_POS "EXTENSIONS_HID_BIB_CUSTOM2_POS"
+#define HID_BIB_CUSTOM3_POS "EXTENSIONS_HID_BIB_CUSTOM3_POS"
+#define HID_BIB_CUSTOM4_POS "EXTENSIONS_HID_BIB_CUSTOM4_POS"
+#define HID_BIB_CUSTOM5_POS "EXTENSIONS_HID_BIB_CUSTOM5_POS"
+#define HID_BIB_DB_TBX "EXTENSIONS_HID_BIB_DB_TBX"
+#define HID_BIB_DB_GHIDCTRL "EXTENSIONS_HID_BIB_DB_GHIDCTRL"
+#define HID_BIB_CONTROL_PAGE "EXTENSIONS_HID_BIB_CONTROL_PAGE"
+#define HID_BIB_CONTROL_PARENT "EXTENSIONS_HID_BIB_CONTROL_PARENT"
+#define UID_BIB_FRAME_WINDOW "EXTENSIONS_UID_BIB_FRAME_WINDOW"
+#define HID_BIB_DELETE_RECORD "EXTENSIONS_HID_BIB_DELETE_RECORD"
+#define HID_BIB_INSERT_RECORD "EXTENSIONS_HID_BIB_INSERT_RECORD"
+#define HID_BIB_DB_GRIDCTRL "EXTENSIONS_HID_BIB_DB_GRIDCTRL"
+#define HID_DLG_MAPPING "EXTENSIONS_HID_DLG_MAPPING"
+#define HID_DLG_DBCHANGE "EXTENSIONS_HID_DLG_DBCHANGE"
+#define HID_SELECTION_TLB "EXTENSIONS_HID_SELECTION_TLB"
#endif // EXTENSIONS_BIBLIOGRAPHY_HRC
diff --git a/extensions/inc/dbpilots.hrc b/extensions/inc/dbpilots.hrc
index 38a47138c..3a7f3e695 100644
--- a/extensions/inc/dbpilots.hrc
+++ b/extensions/inc/dbpilots.hrc
@@ -27,29 +27,21 @@
#ifndef EXTENSIONS_DBPILOT_HRC
#define EXTENSIONS_DBPILOT_HRC
-#include "extensio.hrc"
-
-#define HID_GHIDWIZARD_PREVIOUS ( HID_DBP_START + 0)
-#define HID_GHIDWIZARD_NEXT ( HID_DBP_START + 1)
-#define HID_GHIDWIZARD_CANCEL ( HID_DBP_START + 2)
-#define HID_GHIDWIZARD_FINISH ( HID_DBP_START + 3)
-#define HID_GROUPWIZARD_PREVIOUS ( HID_DBP_START + 4)
-#define HID_GROUPWIZARD_NEXT ( HID_DBP_START + 5)
-#define HID_GROUPWIZARD_CANCEL ( HID_DBP_START + 6)
-#define HID_GROUPWIZARD_FINISH ( HID_DBP_START + 7)
-#define HID_LISTWIZARD_PREVIOUS ( HID_DBP_START + 8)
-#define HID_LISTWIZARD_NEXT ( HID_DBP_START + 9)
-#define HID_LISTWIZARD_CANCEL ( HID_DBP_START + 10)
-#define HID_LISTWIZARD_FINISH ( HID_DBP_START + 11)
-#define HID_GRIDWIZARD_PREVIOUS ( HID_DBP_START + 12)
-#define HID_GRIDWIZARD_NEXT ( HID_DBP_START + 13)
-#define HID_GRIDWIZARD_CANCEL ( HID_DBP_START + 14)
-#define HID_GRIDWIZARD_FINISH ( HID_DBP_START + 15)
- // !! if you add new IDs, please also adjust HID_ABP_LAST below !!
-#define HID_DBP_LAST HID_GRIDWIZARD_FINISH
-
-#if HID_DBP_LAST > HID_DBP_END
- #error help id range overflow (DBP)
-#endif
+#define HID_GHIDWIZARD_PREVIOUS "EXTENSIONS_HID_GHIDWIZARD_PREVIOUS"
+#define HID_GHIDWIZARD_NEXT "EXTENSIONS_HID_GHIDWIZARD_NEXT"
+#define HID_GHIDWIZARD_CANCEL "EXTENSIONS_HID_GHIDWIZARD_CANCEL"
+#define HID_GHIDWIZARD_FINISH "EXTENSIONS_HID_GHIDWIZARD_FINISH"
+#define HID_GROUPWIZARD_PREVIOUS "EXTENSIONS_HID_GROUPWIZARD_PREVIOUS"
+#define HID_GROUPWIZARD_NEXT "EXTENSIONS_HID_GROUPWIZARD_NEXT"
+#define HID_GROUPWIZARD_CANCEL "EXTENSIONS_HID_GROUPWIZARD_CANCEL"
+#define HID_GROUPWIZARD_FINISH "EXTENSIONS_HID_GROUPWIZARD_FINISH"
+#define HID_LISTWIZARD_PREVIOUS "EXTENSIONS_HID_LISTWIZARD_PREVIOUS"
+#define HID_LISTWIZARD_NEXT "EXTENSIONS_HID_LISTWIZARD_NEXT"
+#define HID_LISTWIZARD_CANCEL "EXTENSIONS_HID_LISTWIZARD_CANCEL"
+#define HID_LISTWIZARD_FINISH "EXTENSIONS_HID_LISTWIZARD_FINISH"
+#define HID_GRIDWIZARD_PREVIOUS "EXTENSIONS_HID_GRIDWIZARD_PREVIOUS"
+#define HID_GRIDWIZARD_NEXT "EXTENSIONS_HID_GRIDWIZARD_NEXT"
+#define HID_GRIDWIZARD_CANCEL "EXTENSIONS_HID_GRIDWIZARD_CANCEL"
+#define HID_GRIDWIZARD_FINISH "EXTENSIONS_HID_GRIDWIZARD_FINISH"
#endif // EXTENSIONS_DBPILOT_HRC
diff --git a/extensions/inc/propctrlr.hrc b/extensions/inc/propctrlr.hrc
index a559b3081..b2888b982 100644
--- a/extensions/inc/propctrlr.hrc
+++ b/extensions/inc/propctrlr.hrc
@@ -27,311 +27,304 @@
#ifndef EXTENSIONS_PROPCTRLR_HRC
#define EXTENSIONS_PROPCTRLR_HRC
-#include "extensio.hrc"
+#define UID_PROP_DLG_FONT_TYPE "EXTENSIONS_UID_PROP_DLG_FONT_TYPE"
+#define UID_PROP_DLG_IMAGE_URL "EXTENSIONS_UID_PROP_DLG_IMAGE_URL"
+#define UID_PROP_DLG_BACKGROUNDCOLOR "EXTENSIONS_UID_PROP_DLG_BACKGROUNDCOLOR"
+#define UID_PROP_DLG_SYMBOLCOLOR "EXTENSIONS_UID_PROP_DLG_SYMBOLCOLOR"
+#define UID_PROP_DLG_ATTR_DATASOURCE "EXTENSIONS_UID_PROP_DLG_ATTR_DATASOURCE"
+#define UID_PROP_DLG_ATTR_TARGET_URL "EXTENSIONS_UID_PROP_DLG_ATTR_TARGET_URL"
+#define UID_PROP_DLG_NUMBER_FORMAT "EXTENSIONS_UID_PROP_DLG_NUMBER_FORMAT"
+#define UID_PROP_DLG_CONTROLLABEL "EXTENSIONS_UID_PROP_DLG_CONTROLLABEL"
+#define UID_PROP_DLG_FILLCOLOR "EXTENSIONS_UID_PROP_DLG_FILLCOLOR"
+#define UID_PROP_DLG_TABINDEX "EXTENSIONS_UID_PROP_DLG_TABINDEX"
+#define UID_PROP_DLG_SQLCOMMAND "EXTENSIONS_UID_PROP_DLG_SQLCOMMAND"
+#define UID_PROP_DLG_FORMLINKFIELDS "EXTENSIONS_UID_PROP_DLG_FORMLINKFIELDS"
+#define UID_PROP_DLG_FILTER "EXTENSIONS_UID_PROP_DLG_FILTER"
+#define UID_PROP_DLG_ORDER "EXTENSIONS_UID_PROP_DLG_ORDER"
+#define UID_PROP_DLG_SELECTION "EXTENSIONS_UID_PROP_DLG_SELECTION"
+#define UID_PROP_DLG_BIND_EXPRESSION "EXTENSIONS_UID_PROP_DLG_BIND_EXPRESSION"
+#define UID_PROP_DLG_XSD_REQUIRED "EXTENSIONS_UID_PROP_DLG_XSD_REQUIRED"
+#define UID_PROP_DLG_XSD_RELEVANT "EXTENSIONS_UID_PROP_DLG_XSD_RELEVANT"
+#define UID_PROP_DLG_XSD_READONLY "EXTENSIONS_UID_PROP_DLG_XSD_READONLY"
+#define UID_PROP_DLG_XSD_CONSTRAINT "EXTENSIONS_UID_PROP_DLG_XSD_CONSTRAINT"
+#define UID_PROP_DLG_XSD_CALCULATION "EXTENSIONS_UID_PROP_DLG_XSD_CALCULATION"
+#define UID_PROP_ADD_DATA_TYPE "EXTENSIONS_UID_PROP_ADD_DATA_TYPE"
+#define UID_PROP_REMOVE_DATA_TYPE "EXTENSIONS_UID_PROP_REMOVE_DATA_TYPE"
+#define UID_PROP_DLG_BORDERCOLOR "EXTENSIONS_UID_PROP_DLG_BORDERCOLOR"
-#define HID_PROP_INPUT_REQUIRED ( HID_PROPC_START + 0)
-#define HID_PROP_GROUPBOX ( HID_PROPC_START + 1)
-#define HID_PROP_CONTROLSOURCE ( HID_PROPC_START + 2)
-#define HID_PROP_NAME ( HID_PROPC_START + 3)
-#define HID_PROP_TABINDEX ( HID_PROPC_START + 4)
-#define HID_PROP_MASTERFIELDS ( HID_PROPC_START + 5)
-#define HID_PROP_SLAVEFIELDS ( HID_PROPC_START + 6)
-#define HID_PROP_DATASOURCE ( HID_PROPC_START + 7)
-#define HID_PROP_CURSORSOURCE ( HID_PROPC_START + 8)
-#define HID_PROP_CURSORSOURCETYPE ( HID_PROPC_START + 9)
-#define HID_PROP_CURSORTYPE ( HID_PROPC_START + 10)
-#define HID_PROP_READONLY ( HID_PROPC_START + 11)
-#define HID_PROP_DATAENTRY ( HID_PROPC_START + 12)
-#define HID_PROP_NAVIGATION ( HID_PROPC_START + 13)
-#define HID_PROP_CYCLE ( HID_PROPC_START + 14)
-#define HID_PROP_ALLOW_ADDITIONS ( HID_PROPC_START + 15)
-#define HID_PROP_ALLOW_EDITS ( HID_PROPC_START + 16)
-#define HID_PROP_ALLOW_DELETIONS ( HID_PROPC_START + 17)
-#define HID_PROP_DIRTY ( HID_PROPC_START + 18)
-#define HID_PROP_OLDVALUE ( HID_PROPC_START + 19)
-#define HID_PROP_VALUE ( HID_PROPC_START + 20)
-#define HID_PROP_LOCKED ( HID_PROPC_START + 21)
-#define HID_PROP_FORMATKEY ( HID_PROPC_START + 22)
-#define HID_PROP_REQUIRED ( HID_PROPC_START + 23)
-#define HID_PROP_WHEEL_BEHAVIOR ( HID_PROPC_START + 24)
-#define HID_PROP_UNIQUE ( HID_PROPC_START + 25)
-#define HID_PROP_CLASSID ( HID_PROPC_START + 26)
-#define HID_PROP_LEFT ( HID_PROPC_START + 27)
-#define HID_PROP_RIGHT ( HID_PROPC_START + 28)
-#define HID_PROP_HEIGHT ( HID_PROPC_START + 29)
-#define HID_PROP_WIDTH ( HID_PROPC_START + 30)
-#define HID_PROP_BOUNDCOLUMN ( HID_PROPC_START + 31)
-#define HID_PROP_LISTSOURCETYPE ( HID_PROPC_START + 32)
-#define HID_PROP_LISTSOURCE ( HID_PROPC_START + 33)
-#define HID_PROP_LISTINDEX ( HID_PROPC_START + 34)
-#define HID_PROP_TEXT ( HID_PROPC_START + 35)
-#define HID_PROP_LABEL ( HID_PROPC_START + 36)
-#define HID_PROP_STRINGITEMLIST ( HID_PROPC_START + 37)
-#define HID_PROP_SEARCHING ( HID_PROPC_START + 38)
-#define HID_PROP_FONT ( HID_PROPC_START + 39)
-#define HID_PROP_ROWHEIGHT ( HID_PROPC_START + 40)
-#define HID_PROP_BACKGROUNDCOLOR ( HID_PROPC_START + 41)
-#define HID_PROP_FILLCOLOR ( HID_PROPC_START + 42)
-#define HID_PROP_LINECOLOR ( HID_PROPC_START + 43)
-#define HID_PROP_BORDER ( HID_PROPC_START + 44)
-#define HID_PROP_ALIGN ( HID_PROPC_START + 45)
-#define HID_PROP_DROPDOWN ( HID_PROPC_START + 46)
-#define HID_PROP_MULTILINE ( HID_PROPC_START + 47)
-#define HID_PROP_HSCROLL ( HID_PROPC_START + 48)
-#define HID_PROP_VSCROLL ( HID_PROPC_START + 49)
-#define HID_PROP_TABSTOP ( HID_PROPC_START + 50)
-#define HID_PROP_REFVALUE ( HID_PROPC_START + 51)
-#define HID_PROP_BUTTONTYPE ( HID_PROPC_START + 52)
-#define HID_PROP_SUBMIT_ACTION ( HID_PROPC_START + 53)
-#define HID_PROP_SUBMIT_METHOD ( HID_PROPC_START + 54)
-#define HID_PROP_SUBMIT_ENCODING ( HID_PROPC_START + 55)
-#define HID_PROP_DEFAULTVALUE ( HID_PROPC_START + 56)
-#define HID_PROP_SUBMIT_TARGET ( HID_PROPC_START + 57)
-#define HID_PROP_DEFAULT_STATE ( HID_PROPC_START + 58)
-#define HID_PROP_IMAGE_URL ( HID_PROPC_START + 59)
-#define HID_PROP_DEFAULT_SELECT_SEQ ( HID_PROPC_START + 60)
-#define HID_PROP_MULTISELECTION ( HID_PROPC_START + 61)
-#define HID_PROP_DATE ( HID_PROPC_START + 62)
-#define HID_PROP_DATEMIN ( HID_PROPC_START + 63)
-#define HID_PROP_DATEMAX ( HID_PROPC_START + 64)
-#define HID_PROP_DATEFORMAT ( HID_PROPC_START + 65)
-#define HID_PROP_TIME ( HID_PROPC_START + 66)
-#define HID_PROP_TIMEMIN ( HID_PROPC_START + 67)
-#define HID_PROP_TIMEMAX ( HID_PROPC_START + 68)
-#define HID_PROP_TIMEFORMAT ( HID_PROPC_START + 69)
-#define HID_PROP_VALUEMIN ( HID_PROPC_START + 70)
-#define HID_PROP_VALUEMAX ( HID_PROPC_START + 71)
-#define HID_PROP_VALUESTEP ( HID_PROPC_START + 72)
-#define HID_PROP_CURRENCYSYMBOL ( HID_PROPC_START + 73)
-#define HID_PROP_EDITMASK ( HID_PROPC_START + 74)
-#define HID_PROP_LITERALMASK ( HID_PROPC_START + 75)
-#define HID_PROP_ENABLED ( HID_PROPC_START + 76)
-#define HID_PROP_AUTOCOMPLETE ( HID_PROPC_START + 77)
-#define HID_PROP_LINECOUNT ( HID_PROPC_START + 78)
-#define HID_PROP_MAXTEXTLEN ( HID_PROPC_START + 79)
-#define HID_PROP_SPIN ( HID_PROPC_START + 80)
-#define HID_PROP_STRICTFORMAT ( HID_PROPC_START + 81)
-#define HID_PROP_SHOWTHOUSANDSEP ( HID_PROPC_START + 82)
-#define HID_PROP_VERTICAL_ALIGN ( HID_PROPC_START + 83)
-#define HID_PROP_PRINTABLE ( HID_PROPC_START + 84)
-#define HID_PROP_TARGET_URL ( HID_PROPC_START + 85)
-#define HID_PROP_TARGET_FRAME ( HID_PROPC_START + 86)
-#define HID_PROP_TAG ( HID_PROPC_START + 87)
-#define HID_PROP_ECHO_CHAR ( HID_PROPC_START + 88)
-#define HID_PROP_EMPTY_IS_NULL ( HID_PROPC_START + 89)
-#define HID_PROP_DECIMAL_ACCURACY ( HID_PROPC_START + 90)
-#define HID_PROP_ENABLE_VISIBLE ( HID_PROPC_START + 91)
-#define HID_PROP_DEFAULT_BUTTON ( HID_PROPC_START + 92)
-#define HID_PROP_HIDDEN_VALUE ( HID_PROPC_START + 93)
-#define HID_PROP_TRISTATE ( HID_PROPC_START + 94)
-#define HID_PROP_NAVIGATIONBAR ( HID_PROPC_START + 95)
-#define HID_PROP_FILTER ( HID_PROPC_START + 96)
-#define HID_PROP_SORT_CRITERIA ( HID_PROPC_START + 97)
-#define HID_PROP_DEFAULT_LONG_VALUE ( HID_PROPC_START + 98)
-#define HID_PROP_DEFAULT_TIME ( HID_PROPC_START + 99)
-#define HID_PROP_DEFAULT_DATE ( HID_PROPC_START + 100)
-#define HID_PROP_HELPTEXT ( HID_PROPC_START + 101)
-#define HID_PROP_HELPURL ( HID_PROPC_START + 102)
-#define HID_PROP_RECORDMARKER ( HID_PROPC_START + 103)
-#define HID_PROP_FILTERPROPOSAL ( HID_PROPC_START + 104)
-#define HID_PROP_EFFECTIVEMIN ( HID_PROPC_START + 105)
-#define HID_PROP_EFFECTIVEMAX ( HID_PROPC_START + 106)
-#define HID_PROP_EFFECTIVEDEFAULT ( HID_PROPC_START + 107)
-#define HID_PROP_CONTROLLABEL ( HID_PROPC_START + 108)
-#define HID_PROP_CURRSYM_POSITION ( HID_PROPC_START + 109)
-#define HID_PROP_ESCAPE_PROCESSING ( HID_PROPC_START + 110)
-#define HID_PROP_TITLE ( HID_PROPC_START + 111)
-#define HID_PROP_STEP ( HID_PROPC_START + 112)
-#define HID_PROP_PROGRESSVALUE ( HID_PROPC_START + 113)
-#define HID_PROP_PROGRESSVALUE_MIN ( HID_PROPC_START + 114)
-#define HID_PROP_PROGRESSVALUE_MAX ( HID_PROPC_START + 115)
-#define HID_PROP_SCROLLVALUE ( HID_PROPC_START + 116)
-#define HID_PROP_SCROLLVALUE_MAX ( HID_PROPC_START + 117)
-#define HID_PROP_LINEINCREMENT ( HID_PROPC_START + 118)
-#define HID_PROP_BLOCKINCREMENT ( HID_PROPC_START + 119)
-#define HID_PROP_VISIBLESIZE ( HID_PROPC_START + 120)
-#define HID_PROP_ORIENTATION ( HID_PROPC_START + 121)
-#define HID_PROP_POSITIONX ( HID_PROPC_START + 122)
-#define HID_PROP_POSITIONY ( HID_PROPC_START + 123)
-#define HID_PROP_PUSHBUTTONTYPE ( HID_PROPC_START + 124)
-#define HID_PROP_STATE ( HID_PROPC_START + 125)
-#define HID_PROP_SCALEIMAGE ( HID_PROPC_START + 126)
-#define HID_PROP_BOUND_CELL ( HID_PROPC_START + 127)
-#define HID_PROP_LIST_CELL_RANGE ( HID_PROPC_START + 128)
-#define HID_PROP_CELL_EXCHANGE_TYPE ( HID_PROPC_START + 129)
-#define HID_PROP_SELECTEDITEMS ( HID_PROPC_START + 130)
-#define HID_PROP_SCROLLVALUE_MIN ( HID_PROPC_START + 131)
-#define HID_PROP_DEFAULT_SCROLLVALUE ( HID_PROPC_START + 132)
-#define HID_PROP_REPEAT_DELAY ( HID_PROPC_START + 133)
-#define HID_PROP_SYMBOLCOLOR ( HID_PROPC_START + 134)
-#define HID_PROP_SPINVALUE ( HID_PROPC_START + 135)
-#define HID_PROP_SPINVALUE_MIN ( HID_PROPC_START + 136)
-#define HID_PROP_SPINVALUE_MAX ( HID_PROPC_START + 137)
-#define HID_PROP_DEFAULT_SPINVALUE ( HID_PROPC_START + 138)
-#define HID_PROP_SPININCREMENT ( HID_PROPC_START + 139)
-#define HID_PROP_REPEAT ( HID_PROPC_START + 140)
-#define HID_PROP_WORDBREAK ( HID_PROPC_START + 141)
-#define HID_PROP_SHOW_SCROLLBARS ( HID_PROPC_START + 142)
-#define HID_PROP_TABORDER_CONTROLS ( HID_PROPC_START + 143)
-#define HID_FIELDLINK_DETAIL_COLUMN ( HID_PROPC_START + 144)
-#define HID_FIELDLINK_MASTER_COLUMN ( HID_PROPC_START + 145)
-#define UID_FIELDLINK_DETAIL1 ( HID_PROPC_START + 146)
-#define UID_FIELDLINK_MASTER1 ( HID_PROPC_START + 147)
-#define UID_FIELDLINK_DETAIL2 ( HID_PROPC_START + 148)
-#define UID_FIELDLINK_MASTER2 ( HID_PROPC_START + 149)
-#define UID_FIELDLINK_DETAIL3 ( HID_PROPC_START + 150)
-#define UID_FIELDLINK_MASTER3 ( HID_PROPC_START + 151)
-#define UID_FIELDLINK_DETAIL4 ( HID_PROPC_START + 152)
-#define UID_FIELDLINK_MASTER4 ( HID_PROPC_START + 153)
-#define HID_PROP_ICONSIZE ( HID_PROPC_START + 154)
-#define HID_PROP_SHOW_POSITION ( HID_PROPC_START + 155)
-#define HID_PROP_SHOW_NAVIGATION ( HID_PROPC_START + 156)
-#define HID_PROP_SHOW_RECORDACTIONS ( HID_PROPC_START + 157)
-#define HID_PROP_SHOW_FILTERSORT ( HID_PROPC_START + 158)
-#define HID_PROP_AUTOLINEBREAK ( HID_PROPC_START + 159)
-#define HID_PROP_TEXTTYPE ( HID_PROPC_START + 160)
-#define HID_PROP_LINEEND_FORMAT ( HID_PROPC_START + 161)
-#define HID_PROP_XSD_TOTAL_DIGITS ( HID_PROPC_START + 162)
-#define HID_PROP_XSD_FRACTION_DIGITS ( HID_PROPC_START + 163)
-#define HID_PROP_XSD_MAX_INCLUSIVE ( HID_PROPC_START + 164)
-#define HID_PROP_XSD_MAX_EXCLUSIVE ( HID_PROPC_START + 165)
-#define HID_PROP_XSD_MIN_INCLUSIVE ( HID_PROPC_START + 166)
-#define HID_PROP_XSD_MIN_EXCLUSIVE ( HID_PROPC_START + 167)
-#define HID_PROP_UNCHECKEDREFVALUE ( HID_PROPC_START + 168)
-#define HID_PROP_SUBMISSION_ID ( HID_PROPC_START + 169)
-#define UID_PROP_DLG_FONT_TYPE ( HID_PROPC_START + 170)
-#define UID_PROP_DLG_IMAGE_URL ( HID_PROPC_START + 171)
-#define UID_PROP_DLG_BACKGROUNDCOLOR ( HID_PROPC_START + 172)
-#define UID_PROP_DLG_SYMBOLCOLOR ( HID_PROPC_START + 173)
-#define UID_PROP_DLG_ATTR_DATASOURCE ( HID_PROPC_START + 174)
-#define UID_PROP_DLG_ATTR_TARGET_URL ( HID_PROPC_START + 175)
-#define UID_PROP_DLG_NUMBER_FORMAT ( HID_PROPC_START + 176)
-#define UID_PROP_DLG_CONTROLLABEL ( HID_PROPC_START + 177)
-#define UID_PROP_DLG_FILLCOLOR ( HID_PROPC_START + 178)
-#define UID_PROP_DLG_TABINDEX ( HID_PROPC_START + 179)
-#define UID_PROP_DLG_SQLCOMMAND ( HID_PROPC_START + 180)
-#define UID_PROP_DLG_FORMLINKFIELDS ( HID_PROPC_START + 181)
-#define UID_PROP_DLG_FILTER ( HID_PROPC_START + 182)
-#define UID_PROP_DLG_ORDER ( HID_PROPC_START + 183)
-#define UID_PROP_DLG_SELECTION ( HID_PROPC_START + 184)
-#define UID_EVT_MACRODLG ( HID_PROPC_START + 185)
-#define UID_BRWEVT_APPROVEACTIONPERFORMED ( HID_PROPC_START + 186)
-#define UID_BRWEVT_ACTIONPERFORMED ( HID_PROPC_START + 187)
-#define UID_BRWEVT_CHANGED ( HID_PROPC_START + 188)
-#define UID_BRWEVT_TEXTCHANGED ( HID_PROPC_START + 189)
-#define UID_BRWEVT_ITEMSTATECHANGED ( HID_PROPC_START + 190)
-#define UID_BRWEVT_FOCUSGAINED ( HID_PROPC_START + 191)
-#define UID_BRWEVT_FOCUSLOST ( HID_PROPC_START + 192)
-#define UID_BRWEVT_KEYTYPED ( HID_PROPC_START + 193)
-#define UID_BRWEVT_KEYUP ( HID_PROPC_START + 194)
-#define UID_BRWEVT_MOUSEENTERED ( HID_PROPC_START + 195)
-#define UID_BRWEVT_MOUSEDRAGGED ( HID_PROPC_START + 196)
-#define UID_BRWEVT_MOUSEMOVED ( HID_PROPC_START + 197)
-#define UID_BRWEVT_MOUSEPRESSED ( HID_PROPC_START + 198)
-#define UID_BRWEVT_MOUSERELEASED ( HID_PROPC_START + 199)
-#define UID_BRWEVT_MOUSEEXITED ( HID_PROPC_START + 200)
-#define UID_BRWEVT_APPROVERESETTED ( HID_PROPC_START + 201)
-#define UID_BRWEVT_RESETTED ( HID_PROPC_START + 202)
-#define UID_BRWEVT_SUBMITTED ( HID_PROPC_START + 203)
-#define UID_BRWEVT_BEFOREUPDATE ( HID_PROPC_START + 204)
-#define UID_BRWEVT_AFTERUPDATE ( HID_PROPC_START + 205)
-#define UID_BRWEVT_LOADED ( HID_PROPC_START + 206)
-#define UID_BRWEVT_RELOADING ( HID_PROPC_START + 207)
-#define UID_BRWEVT_RELOADED ( HID_PROPC_START + 208)
-#define UID_BRWEVT_UNLOADING ( HID_PROPC_START + 209)
-#define UID_BRWEVT_UNLOADED ( HID_PROPC_START + 210)
-#define UID_BRWEVT_CONFIRMDELETE ( HID_PROPC_START + 211)
-#define UID_BRWEVT_APPROVEROWCHANGE ( HID_PROPC_START + 212)
-#define UID_BRWEVT_ROWCHANGE ( HID_PROPC_START + 213)
-#define UID_BRWEVT_POSITIONING ( HID_PROPC_START + 214)
-#define UID_BRWEVT_POSITIONED ( HID_PROPC_START + 215)
-#define UID_BRWEVT_APPROVEPARAMETER ( HID_PROPC_START + 216)
-#define UID_BRWEVT_ERROROCCURED ( HID_PROPC_START + 217)
-#define UID_BRWEVT_ADJUSTMENTVALUECHANGED ( HID_PROPC_START + 218)
-#define HID_PROP_XML_DATA_MODEL ( HID_PROPC_START + 219)
-#define HID_PROP_BIND_EXPRESSION ( HID_PROPC_START + 220)
-#define HID_PROP_XSD_REQUIRED ( HID_PROPC_START + 221)
-#define HID_PROP_XSD_RELEVANT ( HID_PROPC_START + 222)
-#define HID_PROP_XSD_READONLY ( HID_PROPC_START + 223)
-#define HID_PROP_XSD_CONSTRAINT ( HID_PROPC_START + 224)
-#define HID_PROP_XSD_CALCULATION ( HID_PROPC_START + 225)
-#define HID_PROP_XSD_DATA_TYPE ( HID_PROPC_START + 226)
-#define HID_PROP_XSD_WHITESPACES ( HID_PROPC_START + 227)
-#define HID_PROP_XSD_PATTERN ( HID_PROPC_START + 228)
-#define HID_PROP_XSD_LENGTH ( HID_PROPC_START + 229)
-#define HID_PROP_XSD_MIN_LENGTH ( HID_PROPC_START + 230)
-#define HID_PROP_XSD_MAX_LENGTH ( HID_PROPC_START + 231)
-#define UID_PROP_DLG_BIND_EXPRESSION ( HID_PROPC_START + 232)
-#define UID_PROP_DLG_XSD_REQUIRED ( HID_PROPC_START + 233)
-#define UID_PROP_DLG_XSD_RELEVANT ( HID_PROPC_START + 234)
-#define UID_PROP_DLG_XSD_READONLY ( HID_PROPC_START + 235)
-#define UID_PROP_DLG_XSD_CONSTRAINT ( HID_PROPC_START + 236)
-#define UID_PROP_DLG_XSD_CALCULATION ( HID_PROPC_START + 237)
-#define UID_PROP_ADD_DATA_TYPE ( HID_PROPC_START + 238)
-#define UID_PROP_REMOVE_DATA_TYPE ( HID_PROPC_START + 239)
-#define HID_PROP_LIST_BINDING ( HID_PROPC_START + 240)
-#define HID_PROP_BINDING_NAME ( HID_PROPC_START + 241)
-#define HID_PROP_SELECTION_TYPE ( HID_PROPC_START + 242)
-#define HID_PROP_ROOT_DISPLAYED ( HID_PROPC_START + 243)
-#define HID_PROP_SHOWS_HANDLES ( HID_PROPC_START + 244)
-#define HID_PROP_SHOWS_ROOT_HANDLES ( HID_PROPC_START + 245)
-#define HID_PROP_EDITABLE ( HID_PROPC_START + 246)
-#define HID_PROP_INVOKES_STOP_NOT_EDITING ( HID_PROPC_START + 247)
-#define HID_PROP_ROW_HEIGHT ( HID_PROPC_START + 248)
-#define HID_PROP_DECORATION ( HID_PROPC_START + 249)
-#define HID_EVT_ACTIONPERFORMED ( HID_PROPC_START + 250)
-#define HID_EVT_AFTERUPDATE ( HID_PROPC_START + 251)
-#define HID_EVT_BEFOREUPDATE ( HID_PROPC_START + 252)
-#define HID_EVT_CONFIRMDELETE ( HID_PROPC_START + 253)
-#define HID_EVT_ERROROCCURED ( HID_PROPC_START + 254)
-#define HID_EVT_FOCUSGAINED ( HID_PROPC_START + 255)
-#define HID_EVT_FOCUSLOST ( HID_PROPC_START + 256)
-#define HID_EVT_ITEMSTATECHANGED ( HID_PROPC_START + 257)
-#define HID_EVT_KEYTYPED ( HID_PROPC_START + 258)
-#define HID_EVT_LOADED ( HID_PROPC_START + 259)
-#define HID_EVT_MOUSEDRAGGED ( HID_PROPC_START + 260)
-#define HID_EVT_MOUSEENTERED ( HID_PROPC_START + 261)
-#define HID_EVT_MOUSEEXITED ( HID_PROPC_START + 262)
-#define HID_EVT_MOUSEMOVED ( HID_PROPC_START + 263)
-#define HID_EVT_MOUSEPRESSED ( HID_PROPC_START + 264)
-#define HID_EVT_MOUSERELEASED ( HID_PROPC_START + 265)
-#define HID_EVT_POSITIONED ( HID_PROPC_START + 266)
-#define HID_EVT_RESETTED ( HID_PROPC_START + 267)
-#define HID_EVT_SUBMITTED ( HID_PROPC_START + 268)
-#define HID_EVT_TEXTCHANGED ( HID_PROPC_START + 269)
-#define HID_EVT_UNLOADED ( HID_PROPC_START + 270)
-#define HID_EVT_CHANGED ( HID_PROPC_START + 271)
-#define HID_EVT_APPROVEACTIONPERFORMED ( HID_PROPC_START + 272)
-#define HID_EVT_APPROVERESETTED ( HID_PROPC_START + 273)
-#define HID_EVT_KEYUP ( HID_PROPC_START + 274)
-#define HID_EVT_APPROVEPARAMETER ( HID_PROPC_START + 275)
-#define HID_EVT_POSITIONING ( HID_PROPC_START + 276)
-#define HID_EVT_RELOADED ( HID_PROPC_START + 277)
-#define HID_EVT_APPROVEROWCHANGE ( HID_PROPC_START + 278)
-#define HID_EVT_ROWCHANGE ( HID_PROPC_START + 279)
-#define HID_EVT_RELOADING ( HID_PROPC_START + 280)
-#define HID_EVT_UNLOADING ( HID_PROPC_START + 281)
-#define HID_EVT_ADJUSTMENTVALUECHANGED ( HID_PROPC_START + 282)
-#define HID_PROP_TOGGLE ( HID_PROPC_START + 283)
-#define HID_PROP_FOCUSONCLICK ( HID_PROPC_START + 284)
-#define HID_PROP_HIDEINACTIVESELECTION ( HID_PROPC_START + 285)
-#define HID_PROP_VISUALEFFECT ( HID_PROPC_START + 286)
-#define HID_PROP_BORDERCOLOR ( HID_PROPC_START + 287)
-#define UID_PROP_DLG_BORDERCOLOR ( HID_PROPC_START + 288)
-#define HID_PROP_IMAGEPOSITION ( HID_PROPC_START + 289)
-#define HID_PROP_NOLABEL ( HID_PROPC_START + 290)
-#define HID_PROP_WRITING_MODE ( HID_PROPC_START + 291)
-#define HID_PROP_ANCHOR_TYPE ( HID_PROPC_START + 292)
-#define HID_FM_PROPDLG_TABCTR ( HID_PROPC_START + 293)
-#define HID_FM_PROPDLG_TAB_GENERAL ( HID_PROPC_START + 294)
-#define HID_FM_PROPDLG_TAB_DATA ( HID_PROPC_START + 295)
-#define HID_FM_PROPDLG_TAB_EVT ( HID_PROPC_START + 296)
- // please adjust HID_LAST_PROPC_ID if you add new ids here!
+#define UID_BRWEVT_APPROVEACTIONPERFORMED "EXTENSIONS_UID_BRWEVT_APPROVEACTIONPERFORMED"
+#define UID_BRWEVT_ACTIONPERFORMED "EXTENSIONS_UID_BRWEVT_ACTIONPERFORMED"
+#define UID_BRWEVT_CHANGED "EXTENSIONS_UID_BRWEVT_CHANGED"
+#define UID_BRWEVT_TEXTCHANGED "EXTENSIONS_UID_BRWEVT_TEXTCHANGED"
+#define UID_BRWEVT_ITEMSTATECHANGED "EXTENSIONS_UID_BRWEVT_ITEMSTATECHANGED"
+#define UID_BRWEVT_FOCUSGAINED "EXTENSIONS_UID_BRWEVT_FOCUSGAINED"
+#define UID_BRWEVT_FOCUSLOST "EXTENSIONS_UID_BRWEVT_FOCUSLOST"
+#define UID_BRWEVT_KEYTYPED "EXTENSIONS_UID_BRWEVT_KEYTYPED"
+#define UID_BRWEVT_KEYUP "EXTENSIONS_UID_BRWEVT_KEYUP"
+#define UID_BRWEVT_MOUSEENTERED "EXTENSIONS_UID_BRWEVT_MOUSEENTERED"
+#define UID_BRWEVT_MOUSEDRAGGED "EXTENSIONS_UID_BRWEVT_MOUSEDRAGGED"
+#define UID_BRWEVT_MOUSEMOVED "EXTENSIONS_UID_BRWEVT_MOUSEMOVED"
+#define UID_BRWEVT_MOUSEPRESSED "EXTENSIONS_UID_BRWEVT_MOUSEPRESSED"
+#define UID_BRWEVT_MOUSERELEASED "EXTENSIONS_UID_BRWEVT_MOUSERELEASED"
+#define UID_BRWEVT_MOUSEEXITED "EXTENSIONS_UID_BRWEVT_MOUSEEXITED"
+#define UID_BRWEVT_APPROVERESETTED "EXTENSIONS_UID_BRWEVT_APPROVERESETTED"
+#define UID_BRWEVT_RESETTED "EXTENSIONS_UID_BRWEVT_RESETTED"
+#define UID_BRWEVT_SUBMITTED "EXTENSIONS_UID_BRWEVT_SUBMITTED"
+#define UID_BRWEVT_BEFOREUPDATE "EXTENSIONS_UID_BRWEVT_BEFOREUPDATE"
+#define UID_BRWEVT_AFTERUPDATE "EXTENSIONS_UID_BRWEVT_AFTERUPDATE"
+#define UID_BRWEVT_LOADED "EXTENSIONS_UID_BRWEVT_LOADED"
+#define UID_BRWEVT_RELOADING "EXTENSIONS_UID_BRWEVT_RELOADING"
+#define UID_BRWEVT_RELOADED "EXTENSIONS_UID_BRWEVT_RELOADED"
+#define UID_BRWEVT_UNLOADING "EXTENSIONS_UID_BRWEVT_UNLOADING"
+#define UID_BRWEVT_UNLOADED "EXTENSIONS_UID_BRWEVT_UNLOADED"
+#define UID_BRWEVT_CONFIRMDELETE "EXTENSIONS_UID_BRWEVT_CONFIRMDELETE"
+#define UID_BRWEVT_APPROVEROWCHANGE "EXTENSIONS_UID_BRWEVT_APPROVEROWCHANGE"
+#define UID_BRWEVT_ROWCHANGE "EXTENSIONS_UID_BRWEVT_ROWCHANGE"
+#define UID_BRWEVT_POSITIONING "EXTENSIONS_UID_BRWEVT_POSITIONING"
+#define UID_BRWEVT_POSITIONED "EXTENSIONS_UID_BRWEVT_POSITIONED"
+#define UID_BRWEVT_APPROVEPARAMETER "EXTENSIONS_UID_BRWEVT_APPROVEPARAMETER"
+#define UID_BRWEVT_ERROROCCURED "EXTENSIONS_UID_BRWEVT_ERROROCCURED"
+#define UID_BRWEVT_ADJUSTMENTVALUECHANGED "EXTENSIONS_UID_BRWEVT_ADJUSTMENTVALUECHANGED"
-#define HID_LAST_PROPC_ID HID_FM_PROPDLG_TAB_EVT
-
-#if HID_LAST_PROPC_ID > HID_PROPC_END
- #error help id overflow (PROPC)
-#endif
+#define HID_PROP_INPUT_REQUIRED "EXTENSIONS_HID_PROP_INPUT_REQUIRED"
+#define HID_PROP_GROUPBOX "EXTENSIONS_HID_PROP_GROUPBOX"
+#define HID_PROP_CONTROLSOURCE "EXTENSIONS_HID_PROP_CONTROLSOURCE"
+#define HID_PROP_NAME "EXTENSIONS_HID_PROP_NAME"
+#define HID_PROP_TABINDEX "EXTENSIONS_HID_PROP_TABINDEX"
+#define HID_PROP_MASTERFIELDS "EXTENSIONS_HID_PROP_MASTERFIELDS"
+#define HID_PROP_SLAVEFIELDS "EXTENSIONS_HID_PROP_SLAVEFIELDS"
+#define HID_PROP_DATASOURCE "EXTENSIONS_HID_PROP_DATASOURCE"
+#define HID_PROP_CURSORSOURCE "EXTENSIONS_HID_PROP_CURSORSOURCE"
+#define HID_PROP_CURSORSOURCETYPE "EXTENSIONS_HID_PROP_CURSORSOURCETYPE"
+#define HID_PROP_CURSORTYPE "EXTENSIONS_HID_PROP_CURSORTYPE"
+#define HID_PROP_READONLY "EXTENSIONS_HID_PROP_READONLY"
+#define HID_PROP_DATAENTRY "EXTENSIONS_HID_PROP_DATAENTRY"
+#define HID_PROP_NAVIGATION "EXTENSIONS_HID_PROP_NAVIGATION"
+#define HID_PROP_CYCLE "EXTENSIONS_HID_PROP_CYCLE"
+#define HID_PROP_ALLOW_ADDITIONS "EXTENSIONS_HID_PROP_ALLOW_ADDITIONS"
+#define HID_PROP_ALLOW_EDITS "EXTENSIONS_HID_PROP_ALLOW_EDITS"
+#define HID_PROP_ALLOW_DELETIONS "EXTENSIONS_HID_PROP_ALLOW_DELETIONS"
+#define HID_PROP_DIRTY "EXTENSIONS_HID_PROP_DIRTY"
+#define HID_PROP_OLDVALUE "EXTENSIONS_HID_PROP_OLDVALUE"
+#define HID_PROP_VALUE "EXTENSIONS_HID_PROP_VALUE"
+#define HID_PROP_LOCKED "EXTENSIONS_HID_PROP_LOCKED"
+#define HID_PROP_FORMATKEY "EXTENSIONS_HID_PROP_FORMATKEY"
+#define HID_PROP_REQUIRED "EXTENSIONS_HID_PROP_REQUIRED"
+#define HID_PROP_WHEEL_BEHAVIOR "EXTENSIONS_HID_PROP_WHEEL_BEHAVIOR"
+#define HID_PROP_UNIQUE "EXTENSIONS_HID_PROP_UNIQUE"
+#define HID_PROP_CLASSID "EXTENSIONS_HID_PROP_CLASSID"
+#define HID_PROP_LEFT "EXTENSIONS_HID_PROP_LEFT"
+#define HID_PROP_RIGHT "EXTENSIONS_HID_PROP_RIGHT"
+#define HID_PROP_HEIGHT "EXTENSIONS_HID_PROP_HEIGHT"
+#define HID_PROP_WIDTH "EXTENSIONS_HID_PROP_WIDTH"
+#define HID_PROP_BOUNDCOLUMN "EXTENSIONS_HID_PROP_BOUNDCOLUMN"
+#define HID_PROP_LISTSOURCETYPE "EXTENSIONS_HID_PROP_LISTSOURCETYPE"
+#define HID_PROP_LISTSOURCE "EXTENSIONS_HID_PROP_LISTSOURCE"
+#define HID_PROP_LISTINDEX "EXTENSIONS_HID_PROP_LISTINDEX"
+#define HID_PROP_TEXT "EXTENSIONS_HID_PROP_TEXT"
+#define HID_PROP_LABEL "EXTENSIONS_HID_PROP_LABEL"
+#define HID_PROP_STRINGITEMLIST "EXTENSIONS_HID_PROP_STRINGITEMLIST"
+#define HID_PROP_SEARCHING "EXTENSIONS_HID_PROP_SEARCHING"
+#define HID_PROP_FONT "EXTENSIONS_HID_PROP_FONT"
+#define HID_PROP_ROWHEIGHT "EXTENSIONS_HID_PROP_ROWHEIGHT"
+#define HID_PROP_BACKGROUNDCOLOR "EXTENSIONS_HID_PROP_BACKGROUNDCOLOR"
+#define HID_PROP_FILLCOLOR "EXTENSIONS_HID_PROP_FILLCOLOR"
+#define HID_PROP_LINECOLOR "EXTENSIONS_HID_PROP_LINECOLOR"
+#define HID_PROP_BORDER "EXTENSIONS_HID_PROP_BORDER"
+#define HID_PROP_ALIGN "EXTENSIONS_HID_PROP_ALIGN"
+#define HID_PROP_DROPDOWN "EXTENSIONS_HID_PROP_DROPDOWN"
+#define HID_PROP_MULTILINE "EXTENSIONS_HID_PROP_MULTILINE"
+#define HID_PROP_HSCROLL "EXTENSIONS_HID_PROP_HSCROLL"
+#define HID_PROP_VSCROLL "EXTENSIONS_HID_PROP_VSCROLL"
+#define HID_PROP_TABSTOP "EXTENSIONS_HID_PROP_TABSTOP"
+#define HID_PROP_REFVALUE "EXTENSIONS_HID_PROP_REFVALUE"
+#define HID_PROP_BUTTONTYPE "EXTENSIONS_HID_PROP_BUTTONTYPE"
+#define HID_PROP_SUBMIT_ACTION "EXTENSIONS_HID_PROP_SUBMIT_ACTION"
+#define HID_PROP_SUBMIT_METHOD "EXTENSIONS_HID_PROP_SUBMIT_METHOD"
+#define HID_PROP_SUBMIT_ENCODING "EXTENSIONS_HID_PROP_SUBMIT_ENCODING"
+#define HID_PROP_DEFAULTVALUE "EXTENSIONS_HID_PROP_DEFAULTVALUE"
+#define HID_PROP_SUBMIT_TARGET "EXTENSIONS_HID_PROP_SUBMIT_TARGET"
+#define HID_PROP_DEFAULT_STATE "EXTENSIONS_HID_PROP_DEFAULT_STATE"
+#define HID_PROP_IMAGE_URL "EXTENSIONS_HID_PROP_IMAGE_URL"
+#define HID_PROP_DEFAULT_SELECT_SEQ "EXTENSIONS_HID_PROP_DEFAULT_SELECT_SEQ"
+#define HID_PROP_MULTISELECTION "EXTENSIONS_HID_PROP_MULTISELECTION"
+#define HID_PROP_DATE "EXTENSIONS_HID_PROP_DATE"
+#define HID_PROP_DATEMIN "EXTENSIONS_HID_PROP_DATEMIN"
+#define HID_PROP_DATEMAX "EXTENSIONS_HID_PROP_DATEMAX"
+#define HID_PROP_DATEFORMAT "EXTENSIONS_HID_PROP_DATEFORMAT"
+#define HID_PROP_TIME "EXTENSIONS_HID_PROP_TIME"
+#define HID_PROP_TIMEMIN "EXTENSIONS_HID_PROP_TIMEMIN"
+#define HID_PROP_TIMEMAX "EXTENSIONS_HID_PROP_TIMEMAX"
+#define HID_PROP_TIMEFORMAT "EXTENSIONS_HID_PROP_TIMEFORMAT"
+#define HID_PROP_VALUEMIN "EXTENSIONS_HID_PROP_VALUEMIN"
+#define HID_PROP_VALUEMAX "EXTENSIONS_HID_PROP_VALUEMAX"
+#define HID_PROP_VALUESTEP "EXTENSIONS_HID_PROP_VALUESTEP"
+#define HID_PROP_CURRENCYSYMBOL "EXTENSIONS_HID_PROP_CURRENCYSYMBOL"
+#define HID_PROP_EDITMASK "EXTENSIONS_HID_PROP_EDITMASK"
+#define HID_PROP_LITERALMASK "EXTENSIONS_HID_PROP_LITERALMASK"
+#define HID_PROP_ENABLED "EXTENSIONS_HID_PROP_ENABLED"
+#define HID_PROP_AUTOCOMPLETE "EXTENSIONS_HID_PROP_AUTOCOMPLETE"
+#define HID_PROP_LINECOUNT "EXTENSIONS_HID_PROP_LINECOUNT"
+#define HID_PROP_MAXTEXTLEN "EXTENSIONS_HID_PROP_MAXTEXTLEN"
+#define HID_PROP_SPIN "EXTENSIONS_HID_PROP_SPIN"
+#define HID_PROP_STRICTFORMAT "EXTENSIONS_HID_PROP_STRICTFORMAT"
+#define HID_PROP_SHOWTHOUSANDSEP "EXTENSIONS_HID_PROP_SHOWTHOUSANDSEP"
+#define HID_PROP_VERTICAL_ALIGN "EXTENSIONS_HID_PROP_VERTICAL_ALIGN"
+#define HID_PROP_PRINTABLE "EXTENSIONS_HID_PROP_PRINTABLE"
+#define HID_PROP_TARGET_URL "EXTENSIONS_HID_PROP_TARGET_URL"
+#define HID_PROP_TARGET_FRAME "EXTENSIONS_HID_PROP_TARGET_FRAME"
+#define HID_PROP_TAG "EXTENSIONS_HID_PROP_TAG"
+#define HID_PROP_ECHO_CHAR "EXTENSIONS_HID_PROP_ECHO_CHAR"
+#define HID_PROP_EMPTY_IS_NULL "EXTENSIONS_HID_PROP_EMPTY_IS_NULL"
+#define HID_PROP_DECIMAL_ACCURACY "EXTENSIONS_HID_PROP_DECIMAL_ACCURACY"
+#define HID_PROP_ENABLE_VISIBLE "EXTENSIONS_HID_PROP_ENABLE_VISIBLE"
+#define HID_PROP_DEFAULT_BUTTON "EXTENSIONS_HID_PROP_DEFAULT_BUTTON"
+#define HID_PROP_HIDDEN_VALUE "EXTENSIONS_HID_PROP_HIDDEN_VALUE"
+#define HID_PROP_TRISTATE "EXTENSIONS_HID_PROP_TRISTATE"
+#define HID_PROP_NAVIGATIONBAR "EXTENSIONS_HID_PROP_NAVIGATIONBAR"
+#define HID_PROP_FILTER "EXTENSIONS_HID_PROP_FILTER"
+#define HID_PROP_SORT_CRITERIA "EXTENSIONS_HID_PROP_SORT_CRITERIA"
+#define HID_PROP_DEFAULT_LONG_VALUE "EXTENSIONS_HID_PROP_DEFAULT_LONG_VALUE"
+#define HID_PROP_DEFAULT_TIME "EXTENSIONS_HID_PROP_DEFAULT_TIME"
+#define HID_PROP_DEFAULT_DATE "EXTENSIONS_HID_PROP_DEFAULT_DATE"
+#define HID_PROP_HELPTEXT "EXTENSIONS_HID_PROP_HELPTEXT"
+#define HID_PROP_HELPURL "EXTENSIONS_HID_PROP_HELPURL"
+#define HID_PROP_RECORDMARKER "EXTENSIONS_HID_PROP_RECORDMARKER"
+#define HID_PROP_FILTERPROPOSAL "EXTENSIONS_HID_PROP_FILTERPROPOSAL"
+#define HID_PROP_EFFECTIVEMIN "EXTENSIONS_HID_PROP_EFFECTIVEMIN"
+#define HID_PROP_EFFECTIVEMAX "EXTENSIONS_HID_PROP_EFFECTIVEMAX"
+#define HID_PROP_EFFECTIVEDEFAULT "EXTENSIONS_HID_PROP_EFFECTIVEDEFAULT"
+#define HID_PROP_CONTROLLABEL "EXTENSIONS_HID_PROP_CONTROLLABEL"
+#define HID_PROP_CURRSYM_POSITION "EXTENSIONS_HID_PROP_CURRSYM_POSITION"
+#define HID_PROP_ESCAPE_PROCESSING "EXTENSIONS_HID_PROP_ESCAPE_PROCESSING"
+#define HID_PROP_TITLE "EXTENSIONS_HID_PROP_TITLE"
+#define HID_PROP_STEP "EXTENSIONS_HID_PROP_STEP"
+#define HID_PROP_PROGRESSVALUE "EXTENSIONS_HID_PROP_PROGRESSVALUE"
+#define HID_PROP_PROGRESSVALUE_MIN "EXTENSIONS_HID_PROP_PROGRESSVALUE_MIN"
+#define HID_PROP_PROGRESSVALUE_MAX "EXTENSIONS_HID_PROP_PROGRESSVALUE_MAX"
+#define HID_PROP_SCROLLVALUE "EXTENSIONS_HID_PROP_SCROLLVALUE"
+#define HID_PROP_SCROLLVALUE_MAX "EXTENSIONS_HID_PROP_SCROLLVALUE_MAX"
+#define HID_PROP_LINEINCREMENT "EXTENSIONS_HID_PROP_LINEINCREMENT"
+#define HID_PROP_BLOCKINCREMENT "EXTENSIONS_HID_PROP_BLOCKINCREMENT"
+#define HID_PROP_VISIBLESIZE "EXTENSIONS_HID_PROP_VISIBLESIZE"
+#define HID_PROP_ORIENTATION "EXTENSIONS_HID_PROP_ORIENTATION"
+#define HID_PROP_POSITIONX "EXTENSIONS_HID_PROP_POSITIONX"
+#define HID_PROP_POSITIONY "EXTENSIONS_HID_PROP_POSITIONY"
+#define HID_PROP_PUSHBUTTONTYPE "EXTENSIONS_HID_PROP_PUSHBUTTONTYPE"
+#define HID_PROP_STATE "EXTENSIONS_HID_PROP_STATE"
+#define HID_PROP_SCALEIMAGE "EXTENSIONS_HID_PROP_SCALEIMAGE"
+#define HID_PROP_BOUND_CELL "EXTENSIONS_HID_PROP_BOUND_CELL"
+#define HID_PROP_LIST_CELL_RANGE "EXTENSIONS_HID_PROP_LIST_CELL_RANGE"
+#define HID_PROP_CELL_EXCHANGE_TYPE "EXTENSIONS_HID_PROP_CELL_EXCHANGE_TYPE"
+#define HID_PROP_SELECTEDITEMS "EXTENSIONS_HID_PROP_SELECTEDITEMS"
+#define HID_PROP_SCROLLVALUE_MIN "EXTENSIONS_HID_PROP_SCROLLVALUE_MIN"
+#define HID_PROP_DEFAULT_SCROLLVALUE "EXTENSIONS_HID_PROP_DEFAULT_SCROLLVALUE"
+#define HID_PROP_REPEAT_DELAY "EXTENSIONS_HID_PROP_REPEAT_DELAY"
+#define HID_PROP_SYMBOLCOLOR "EXTENSIONS_HID_PROP_SYMBOLCOLOR"
+#define HID_PROP_SPINVALUE "EXTENSIONS_HID_PROP_SPINVALUE"
+#define HID_PROP_SPINVALUE_MIN "EXTENSIONS_HID_PROP_SPINVALUE_MIN"
+#define HID_PROP_SPINVALUE_MAX "EXTENSIONS_HID_PROP_SPINVALUE_MAX"
+#define HID_PROP_DEFAULT_SPINVALUE "EXTENSIONS_HID_PROP_DEFAULT_SPINVALUE"
+#define HID_PROP_SPININCREMENT "EXTENSIONS_HID_PROP_SPININCREMENT"
+#define HID_PROP_REPEAT "EXTENSIONS_HID_PROP_REPEAT"
+#define HID_PROP_WORDBREAK "EXTENSIONS_HID_PROP_WORDBREAK"
+#define HID_PROP_SHOW_SCROLLBARS "EXTENSIONS_HID_PROP_SHOW_SCROLLBARS"
+#define HID_PROP_TABORDER_CONTROLS "EXTENSIONS_HID_PROP_TABORDER_CONTROLS"
+#define HID_FIELDLINK_DETAIL_COLUMN "EXTENSIONS_HID_FIELDLINK_DETAIL_COLUMN"
+#define HID_FIELDLINK_MASTER_COLUMN "EXTENSIONS_HID_FIELDLINK_MASTER_COLUMN"
+#define UID_FIELDLINK_DETAIL1 "EXTENSIONS_UID_FIELDLINK_DETAIL1"
+#define UID_FIELDLINK_MASTER1 "EXTENSIONS_UID_FIELDLINK_MASTER1"
+#define UID_FIELDLINK_DETAIL2 "EXTENSIONS_UID_FIELDLINK_DETAIL2"
+#define UID_FIELDLINK_MASTER2 "EXTENSIONS_UID_FIELDLINK_MASTER2"
+#define UID_FIELDLINK_DETAIL3 "EXTENSIONS_UID_FIELDLINK_DETAIL3"
+#define UID_FIELDLINK_MASTER3 "EXTENSIONS_UID_FIELDLINK_MASTER3"
+#define UID_FIELDLINK_DETAIL4 "EXTENSIONS_UID_FIELDLINK_DETAIL4"
+#define UID_FIELDLINK_MASTER4 "EXTENSIONS_UID_FIELDLINK_MASTER4"
+#define HID_PROP_ICONSIZE "EXTENSIONS_HID_PROP_ICONSIZE"
+#define HID_PROP_SHOW_POSITION "EXTENSIONS_HID_PROP_SHOW_POSITION"
+#define HID_PROP_SHOW_NAVIGATION "EXTENSIONS_HID_PROP_SHOW_NAVIGATION"
+#define HID_PROP_SHOW_RECORDACTIONS "EXTENSIONS_HID_PROP_SHOW_RECORDACTIONS"
+#define HID_PROP_SHOW_FILTERSORT "EXTENSIONS_HID_PROP_SHOW_FILTERSORT"
+#define HID_PROP_AUTOLINEBREAK "EXTENSIONS_HID_PROP_AUTOLINEBREAK"
+#define HID_PROP_TEXTTYPE "EXTENSIONS_HID_PROP_TEXTTYPE"
+#define HID_PROP_LINEEND_FORMAT "EXTENSIONS_HID_PROP_LINEEND_FORMAT"
+#define HID_PROP_XSD_TOTAL_DIGITS "EXTENSIONS_HID_PROP_XSD_TOTAL_DIGITS"
+#define HID_PROP_XSD_FRACTION_DIGITS "EXTENSIONS_HID_PROP_XSD_FRACTION_DIGITS"
+#define HID_PROP_XSD_MAX_INCLUSIVE "EXTENSIONS_HID_PROP_XSD_MAX_INCLUSIVE"
+#define HID_PROP_XSD_MAX_EXCLUSIVE "EXTENSIONS_HID_PROP_XSD_MAX_EXCLUSIVE"
+#define HID_PROP_XSD_MIN_INCLUSIVE "EXTENSIONS_HID_PROP_XSD_MIN_INCLUSIVE"
+#define HID_PROP_XSD_MIN_EXCLUSIVE "EXTENSIONS_HID_PROP_XSD_MIN_EXCLUSIVE"
+#define HID_PROP_UNCHECKEDREFVALUE "EXTENSIONS_HID_PROP_UNCHECKEDREFVALUE"
+#define HID_PROP_SUBMISSION_ID "EXTENSIONS_HID_PROP_SUBMISSION_ID"
+#define UID_EVT_MACRODLG "EXTENSIONS_UID_EVT_MACRODLG"
+#define HID_PROP_XML_DATA_MODEL "EXTENSIONS_HID_PROP_XML_DATA_MODEL"
+#define HID_PROP_BIND_EXPRESSION "EXTENSIONS_HID_PROP_BIND_EXPRESSION"
+#define HID_PROP_XSD_REQUIRED "EXTENSIONS_HID_PROP_XSD_REQUIRED"
+#define HID_PROP_XSD_RELEVANT "EXTENSIONS_HID_PROP_XSD_RELEVANT"
+#define HID_PROP_XSD_READONLY "EXTENSIONS_HID_PROP_XSD_READONLY"
+#define HID_PROP_XSD_CONSTRAINT "EXTENSIONS_HID_PROP_XSD_CONSTRAINT"
+#define HID_PROP_XSD_CALCULATION "EXTENSIONS_HID_PROP_XSD_CALCULATION"
+#define HID_PROP_XSD_DATA_TYPE "EXTENSIONS_HID_PROP_XSD_DATA_TYPE"
+#define HID_PROP_XSD_WHITESPACES "EXTENSIONS_HID_PROP_XSD_WHITESPACES"
+#define HID_PROP_XSD_PATTERN "EXTENSIONS_HID_PROP_XSD_PATTERN"
+#define HID_PROP_XSD_LENGTH "EXTENSIONS_HID_PROP_XSD_LENGTH"
+#define HID_PROP_XSD_MIN_LENGTH "EXTENSIONS_HID_PROP_XSD_MIN_LENGTH"
+#define HID_PROP_XSD_MAX_LENGTH "EXTENSIONS_HID_PROP_XSD_MAX_LENGTH"
+#define HID_PROP_LIST_BINDING "EXTENSIONS_HID_PROP_LIST_BINDING"
+#define HID_PROP_BINDING_NAME "EXTENSIONS_HID_PROP_BINDING_NAME"
+#define HID_PROP_SELECTION_TYPE "EXTENSIONS_HID_PROP_SELECTION_TYPE"
+#define HID_PROP_ROOT_DISPLAYED "EXTENSIONS_HID_PROP_ROOT_DISPLAYED"
+#define HID_PROP_SHOWS_HANDLES "EXTENSIONS_HID_PROP_SHOWS_HANDLES"
+#define HID_PROP_SHOWS_ROOT_HANDLES "EXTENSIONS_HID_PROP_SHOWS_ROOT_HANDLES"
+#define HID_PROP_EDITABLE "EXTENSIONS_HID_PROP_EDITABLE"
+#define HID_PROP_INVOKES_STOP_NOT_EDITING "EXTENSIONS_HID_PROP_INVOKES_STOP_NOT_EDITING"
+#define HID_PROP_ROW_HEIGHT "EXTENSIONS_HID_PROP_ROW_HEIGHT"
+#define HID_PROP_DECORATION "EXTENSIONS_HID_PROP_DECORATION"
+#define HID_EVT_ACTIONPERFORMED "EXTENSIONS_HID_EVT_ACTIONPERFORMED"
+#define HID_EVT_AFTERUPDATE "EXTENSIONS_HID_EVT_AFTERUPDATE"
+#define HID_EVT_BEFOREUPDATE "EXTENSIONS_HID_EVT_BEFOREUPDATE"
+#define HID_EVT_CONFIRMDELETE "EXTENSIONS_HID_EVT_CONFIRMDELETE"
+#define HID_EVT_ERROROCCURED "EXTENSIONS_HID_EVT_ERROROCCURED"
+#define HID_EVT_FOCUSGAINED "EXTENSIONS_HID_EVT_FOCUSGAINED"
+#define HID_EVT_FOCUSLOST "EXTENSIONS_HID_EVT_FOCUSLOST"
+#define HID_EVT_ITEMSTATECHANGED "EXTENSIONS_HID_EVT_ITEMSTATECHANGED"
+#define HID_EVT_KEYTYPED "EXTENSIONS_HID_EVT_KEYTYPED"
+#define HID_EVT_LOADED "EXTENSIONS_HID_EVT_LOADED"
+#define HID_EVT_MOUSEDRAGGED "EXTENSIONS_HID_EVT_MOUSEDRAGGED"
+#define HID_EVT_MOUSEENTERED "EXTENSIONS_HID_EVT_MOUSEENTERED"
+#define HID_EVT_MOUSEEXITED "EXTENSIONS_HID_EVT_MOUSEEXITED"
+#define HID_EVT_MOUSEMOVED "EXTENSIONS_HID_EVT_MOUSEMOVED"
+#define HID_EVT_MOUSEPRESSED "EXTENSIONS_HID_EVT_MOUSEPRESSED"
+#define HID_EVT_MOUSERELEASED "EXTENSIONS_HID_EVT_MOUSERELEASED"
+#define HID_EVT_POSITIONED "EXTENSIONS_HID_EVT_POSITIONED"
+#define HID_EVT_RESETTED "EXTENSIONS_HID_EVT_RESETTED"
+#define HID_EVT_SUBMITTED "EXTENSIONS_HID_EVT_SUBMITTED"
+#define HID_EVT_TEXTCHANGED "EXTENSIONS_HID_EVT_TEXTCHANGED"
+#define HID_EVT_UNLOADED "EXTENSIONS_HID_EVT_UNLOADED"
+#define HID_EVT_CHANGED "EXTENSIONS_HID_EVT_CHANGED"
+#define HID_EVT_APPROVEACTIONPERFORMED "EXTENSIONS_HID_EVT_APPROVEACTIONPERFORMED"
+#define HID_EVT_APPROVERESETTED "EXTENSIONS_HID_EVT_APPROVERESETTED"
+#define HID_EVT_KEYUP "EXTENSIONS_HID_EVT_KEYUP"
+#define HID_EVT_APPROVEPARAMETER "EXTENSIONS_HID_EVT_APPROVEPARAMETER"
+#define HID_EVT_POSITIONING "EXTENSIONS_HID_EVT_POSITIONING"
+#define HID_EVT_RELOADED "EXTENSIONS_HID_EVT_RELOADED"
+#define HID_EVT_APPROVEROWCHANGE "EXTENSIONS_HID_EVT_APPROVEROWCHANGE"
+#define HID_EVT_ROWCHANGE "EXTENSIONS_HID_EVT_ROWCHANGE"
+#define HID_EVT_RELOADING "EXTENSIONS_HID_EVT_RELOADING"
+#define HID_EVT_UNLOADING "EXTENSIONS_HID_EVT_UNLOADING"
+#define HID_EVT_ADJUSTMENTVALUECHANGED "EXTENSIONS_HID_EVT_ADJUSTMENTVALUECHANGED"
+#define HID_PROP_TOGGLE "EXTENSIONS_HID_PROP_TOGGLE"
+#define HID_PROP_FOCUSONCLICK "EXTENSIONS_HID_PROP_FOCUSONCLICK"
+#define HID_PROP_HIDEINACTIVESELECTION "EXTENSIONS_HID_PROP_HIDEINACTIVESELECTION"
+#define HID_PROP_VISUALEFFECT "EXTENSIONS_HID_PROP_VISUALEFFECT"
+#define HID_PROP_BORDERCOLOR "EXTENSIONS_HID_PROP_BORDERCOLOR"
+#define HID_PROP_IMAGEPOSITION "EXTENSIONS_HID_PROP_IMAGEPOSITION"
+#define HID_PROP_NOLABEL "EXTENSIONS_HID_PROP_NOLABEL"
+#define HID_PROP_WRITING_MODE "EXTENSIONS_HID_PROP_WRITING_MODE"
+#define HID_PROP_ANCHOR_TYPE "EXTENSIONS_HID_PROP_ANCHOR_TYPE"
+#define HID_FM_PROPDLG_TABCTR "EXTENSIONS_HID_FM_PROPDLG_TABCTR"
+#define HID_FM_PROPDLG_TAB_GENERAL "EXTENSIONS_HID_FM_PROPDLG_TAB_GENERAL"
+#define HID_FM_PROPDLG_TAB_DATA "EXTENSIONS_HID_FM_PROPDLG_TAB_DATA"
+#define HID_FM_PROPDLG_TAB_EVT "EXTENSIONS_HID_FM_PROPDLG_TAB_EVT"
#endif // EXTENSIONS_PROPCTRLR_HRC
diff --git a/extensions/inc/update.hrc b/extensions/inc/update.hrc
index 9dd346315..dcdcfaaa4 100644
--- a/extensions/inc/update.hrc
+++ b/extensions/inc/update.hrc
@@ -27,23 +27,15 @@
#ifndef EXTENSIONS_UPDATE_HRC
#define EXTENSIONS_UPDATE_HRC
-#include "extensio.hrc"
-
-#define HID_CHECK_FOR_UPD_DLG ( HID_UPDATE_START + 0)
-#define HID_CHECK_FOR_UPD_CLOSE ( HID_UPDATE_START + 1)
-#define HID_CHECK_FOR_UPD_PAUSE ( HID_UPDATE_START + 2)
-#define HID_CHECK_FOR_UPD_RESUME ( HID_UPDATE_START + 3)
-#define HID_CHECK_FOR_UPD_DOWNLOAD ( HID_UPDATE_START + 4)
-#define HID_CHECK_FOR_UPD_DOWNLOAD2 ( HID_UPDATE_START + 5)
-#define HID_CHECK_FOR_UPD_INSTALL ( HID_UPDATE_START + 6)
-#define HID_CHECK_FOR_UPD_STATUS ( HID_UPDATE_START + 7)
-#define HID_CHECK_FOR_UPD_DESCRIPTION ( HID_UPDATE_START + 8)
-#define HID_CHECK_FOR_UPD_CANCEL ( HID_UPDATE_START + 9)
- // !! if you add new IDs, please also adjust HID_UPDATE_LAST below !!
-#define HID_UPDATE_LAST HID_CHECK_FOR_UPD_CANCEL
-
-#if HID_UPDATE_LAST > HID_UPDATE_END
- #error help id range overflow (UPDATE)
-#endif
+#define HID_CHECK_FOR_UPD_DLG "EXTENSIONS_HID_CHECK_FOR_UPD_DLG"
+#define HID_CHECK_FOR_UPD_CLOSE "EXTENSIONS_HID_CHECK_FOR_UPD_CLOSE"
+#define HID_CHECK_FOR_UPD_PAUSE "EXTENSIONS_HID_CHECK_FOR_UPD_PAUSE"
+#define HID_CHECK_FOR_UPD_RESUME "EXTENSIONS_HID_CHECK_FOR_UPD_RESUME"
+#define HID_CHECK_FOR_UPD_DOWNLOAD "EXTENSIONS_HID_CHECK_FOR_UPD_DOWNLOAD"
+#define HID_CHECK_FOR_UPD_DOWNLOAD2 "EXTENSIONS_HID_CHECK_FOR_UPD_DOWNLOAD2"
+#define HID_CHECK_FOR_UPD_INSTALL "EXTENSIONS_HID_CHECK_FOR_UPD_INSTALL"
+#define HID_CHECK_FOR_UPD_STATUS "EXTENSIONS_HID_CHECK_FOR_UPD_STATUS"
+#define HID_CHECK_FOR_UPD_DESCRIPTION "EXTENSIONS_HID_CHECK_FOR_UPD_DESCRIPTION"
+#define HID_CHECK_FOR_UPD_CANCEL "EXTENSIONS_HID_CHECK_FOR_UPD_CANCEL"
#endif // EXTENSIONS_UPDATE_HRC
diff --git a/extensions/prj/build.lst b/extensions/prj/build.lst
index 1489e2a4e..e6a4e02a8 100644
--- a/extensions/prj/build.lst
+++ b/extensions/prj/build.lst
@@ -34,3 +34,6 @@ ex extensions\source\update\feed nmake - all ex_updchkfeed ex
ex extensions\source\update\check nmake - all ex_updchk ex_inc NULL
ex extensions\source\update\ui nmake - all ex_updchkui ex_inc NULL
ex extensions\util nmake - all ex_util ex_preload ex_abpilot ex_dbpilots ex_logging ex_ldap ex_propctrlr ex_bib ex_plutil ex_oooimprovecore NULL
+
+# Fails at the moment
+# ex extensions\qa\complex\extensions nmake - all ex_complex ex_util NULL
diff --git a/extensions/prj/d.lst b/extensions/prj/d.lst
index ecfe0ef9a..5b974816c 100644
--- a/extensions/prj/d.lst
+++ b/extensions/prj/d.lst
@@ -22,6 +22,7 @@ mkdir: %_DEST%\bin%_EXT%\so
..\%__SRC%\bin\npsoplugin_so.dll %_DEST%\bin%_EXT%\so\npsoplugin.dll
..\%__SRC%\bin\x64\so_activex.dll %_DEST%\bin%_EXT%\so_activex_x64.dll
..\%__SRC%\bin\mdibundle.zip %_DEST%\bin%_EXT%\mdibundle.zip
+..\%__SRC%\misc\oleautobridge.component %_DEST%\xml%_EXT%\oleautobridge.component
..\source\bibliography\uiconfig\sbibliography\menubar\*.xml %_DEST%\xml%_EXT%\uiconfig\modules\sbibliography\menubar\*.xml
@@ -39,3 +40,19 @@ mkdir: %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\Logging
..\%__SRC%\misc\registry\spool\org\openoffice\Office\Logging\*.xcu %_DEST%\xml%_EXT%\registry\spool\org\openoffice\Office\Logging
..\%__SRC%\bin\*.oxt %_DEST%\pck%_EXT%\*
+..\%__SRC%\misc\abp.component %_DEST%\xml%_EXT%\abp.component
+..\%__SRC%\misc\bib.component %_DEST%\xml%_EXT%\bib.component
+..\%__SRC%\misc\dbp.component %_DEST%\xml%_EXT%\dbp.component
+..\%__SRC%\misc\ldapbe2.component %_DEST%\xml%_EXT%\ldapbe2.component
+..\%__SRC%\misc\log.component %_DEST%\xml%_EXT%\log.component
+..\%__SRC%\misc\oooimprovecore.component %_DEST%\xml%_EXT%\oooimprovecore.component
+..\%__SRC%\misc\oooimprovement.component %_DEST%\xml%_EXT%\oooimprovement.component
+..\%__SRC%\misc\pcr.component %_DEST%\xml%_EXT%\pcr.component
+..\%__SRC%\misc\pl.component %_DEST%\xml%_EXT%\pl.component
+..\%__SRC%\misc\preload.component %_DEST%\xml%_EXT%\preload.component
+..\%__SRC%\misc\res.component %_DEST%\xml%_EXT%\res.component
+..\%__SRC%\misc\scn.component %_DEST%\xml%_EXT%\scn.component
+..\%__SRC%\misc\updatefeed.component %_DEST%\xml%_EXT%\updatefeed.component
+..\%__SRC%\misc\updchk.component %_DEST%\xml%_EXT%\updchk.component
+..\%__SRC%\misc\updchk.uno.component %_DEST%\xml%_EXT%\updchk.uno.component
+..\%__SRC%\misc\xmx.component %_DEST%\xml%_EXT%\xmx.component
diff --git a/extensions/qa/complex/extensions/OfficeResourceLoader.java b/extensions/qa/complex/extensions/OfficeResourceLoader.java
index 16bc967cc..6d5df80f8 100644
--- a/extensions/qa/complex/extensions/OfficeResourceLoader.java
+++ b/extensions/qa/complex/extensions/OfficeResourceLoader.java
@@ -26,6 +26,7 @@
************************************************************************/
package complex.extensions;
+import com.sun.star.lang.XMultiServiceFactory;
import com.sun.star.uno.UnoRuntime;
import com.sun.star.resource.XResourceBundle;
@@ -34,7 +35,15 @@ import com.sun.star.beans.XPropertySet;
import com.sun.star.uno.XComponentContext;
import com.sun.star.lang.Locale;
-public class OfficeResourceLoader extends complexlib.ComplexTestCase
+import org.junit.After;
+import org.junit.AfterClass;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.openoffice.test.OfficeConnection;
+import static org.junit.Assert.*;
+
+public class OfficeResourceLoader
{
XResourceBundleLoader m_loader;
XResourceBundle m_bundle;
@@ -45,37 +54,36 @@ public class OfficeResourceLoader extends complexlib.ComplexTestCase
}
/* ------------------------------------------------------------------ */
- public String[] getTestMethodNames()
- {
- return new String[] {
- "checkSimpleStringAccess",
- "checkLocales"
- };
- }
+// public String[] getTestMethodNames()
+// {
+// return new String[] {
+// "checkSimpleStringAccess",
+// "checkLocales"
+// };
+// }
/* ------------------------------------------------------------------ */
- public String getTestObjectName()
- {
- return "Extensions - OfficeResourceLoader";
- }
+// public String getTestObjectName()
+// {
+// return "Extensions - OfficeResourceLoader";
+// }
/* ------------------------------------------------------------------ */
- public void before() throws com.sun.star.uno.Exception, java.lang.Exception
+ @Before public void before() throws com.sun.star.uno.Exception, java.lang.Exception
{
- XPropertySet orb = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, param.getMSF() );
- XComponentContext context = (XComponentContext)UnoRuntime.queryInterface( XComponentContext.class,
- orb.getPropertyValue( "DefaultContext" ) );
+ XPropertySet orb = UnoRuntime.queryInterface(XPropertySet.class, getMSF());
+ XComponentContext context = UnoRuntime.queryInterface(XComponentContext.class, orb.getPropertyValue("DefaultContext"));
m_loader = com.sun.star.resource.OfficeResourceLoader.get( context );
}
/* ------------------------------------------------------------------ */
- public void after() throws com.sun.star.uno.Exception, java.lang.Exception
+ @After public void after() throws com.sun.star.uno.Exception, java.lang.Exception
{
}
/* ------------------------------------------------------------------ */
- public void checkSimpleStringAccess() throws com.sun.star.uno.Exception, java.lang.Exception
+ @Test public void checkSimpleStringAccess() throws com.sun.star.uno.Exception, java.lang.Exception
{
// default bundle (UI locale)
m_bundle = m_loader.loadBundle_Default( "orl" );
@@ -88,34 +96,62 @@ public class OfficeResourceLoader extends complexlib.ComplexTestCase
&& resourceLocale.Country.equals( "US" )
&& resourceLocale.Variant.equals( "" )
)
- assure( "invalid 'en-US' string", testString.equals( "Dummy String" ) );
+ {
+ assertTrue( "invalid 'en-US' string", testString.equals( "Dummy String" ) );
+ }
if ( resourceLocale.Language.equals( "de" )
&& resourceLocale.Country.equals( "" )
&& resourceLocale.Variant.equals( "" )
)
- assure( "invalid 'de' string", testString.equals( "Attrappen-Zeichenkette" ) );
+ {
+ assertTrue( "invalid 'de' string", testString.equals( "Attrappen-Zeichenkette" ) );
+ }
if ( resourceLocale.Language.equals( "" )
&& resourceLocale.Country.equals( "" )
&& resourceLocale.Variant.equals( "" )
)
- assure( "invalid unlocalized string", testString.equals( "unlocalized string" ) );
+ {
+ assertTrue( "invalid unlocalized string", testString.equals( "unlocalized string" ) );
+ }
}
/* ------------------------------------------------------------------ */
- public void checkLocales() throws com.sun.star.uno.Exception, java.lang.Exception
+ @Test public void checkLocales() throws com.sun.star.uno.Exception, java.lang.Exception
{
// en-US bundle (should always be built and thus present and thus found)
m_bundle = m_loader.loadBundle( "orl", new Locale( "en", "US", "" ) );
Locale resourceLocale = m_bundle.getLocale();
- assure( "'en-US' could not be loaded",
+ assertTrue( "'en-US' could not be loaded",
resourceLocale.Language.equals( "en" ) && resourceLocale.Country.equals( "US" ) && resourceLocale.Variant.equals( "" ) );
// some (invalid) locale which is usually no built, and should thus fallback to en-US
m_bundle = m_loader.loadBundle( "orl", new Locale( "inv", "al", "id" ) );
resourceLocale = m_bundle.getLocale();
- assure( "non-existing locale request does not fallback to en-US",
+ assertTrue( "non-existing locale request does not fallback to en-US",
resourceLocale.Language.equals( "en" ) && resourceLocale.Country.equals( "US" ) && resourceLocale.Variant.equals( "" ) );
}
+
+
+ private XMultiServiceFactory getMSF()
+ {
+ final XMultiServiceFactory xMSF1 = UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentContext().getServiceManager());
+ return xMSF1;
+ }
+
+ // setup and close connections
+ @BeforeClass public static void setUpConnection() throws Exception {
+ System.out.println("setUpConnection()");
+ connection.setUp();
+ }
+
+ @AfterClass public static void tearDownConnection()
+ throws InterruptedException, com.sun.star.uno.Exception
+ {
+ System.out.println("tearDownConnection()");
+ connection.tearDown();
+ }
+
+ private static final OfficeConnection connection = new OfficeConnection();
}
diff --git a/extensions/qa/complex/extensions/makefile.mk b/extensions/qa/complex/extensions/makefile.mk
index 96c2afb40..281960b32 100644
--- a/extensions/qa/complex/extensions/makefile.mk
+++ b/extensions/qa/complex/extensions/makefile.mk
@@ -25,12 +25,26 @@
#
#*************************************************************************
-PRJ = ..$/..$/..
-TARGET = ExtensionsComplexTests
+.IF "$(OOO_SUBSEQUENT_TESTS)" == ""
+nothing .PHONY:
+.ELSE
+
+PRJ = ../../..
PRJNAME = extensions
-PACKAGE = complex$/$(PRJNAME)
+TARGET = qa_complex_extensions
+
+.IF "$(OOO_JUNIT_JAR)" != ""
+PACKAGE = complex/extensions
+JAVATESTFILES = \
+ OfficeResourceLoader.java
+
+JAVAFILES = $(JAVATESTFILES)
+
+JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar ConnectivityTools.jar
+EXTRAJARFILES = $(OOO_JUNIT_JAR)
+.END
+
-RES_TARGET = orl
.IF "$(GUI)"=="WNT"
command_seperator=&&
@@ -38,11 +52,11 @@ command_seperator=&&
command_seperator=;
.ENDIF
-# --- Settings -----------------------------------------------------
-.INCLUDE : settings.mk
+.INCLUDE: settings.mk
#----- resource files for the OfficeResourceLoader test ------------
+RES_TARGET = orl
SRS1NAME=$(RES_TARGET)_A_
SRC1FILES= \
@@ -66,36 +80,19 @@ RES2FILELIST=\
RESLIB2NAME=$(RES_TARGET)_B_
RESLIB2SRSFILES=$(RES2FILELIST)
+.INCLUDE: target.mk
+.INCLUDE: installationtest.mk
-#----- compile .java files -----------------------------------------
-JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar ConnectivityTools.jar
-JAVAFILES = $(shell @$(FIND) .$/*.java)
-JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
-
-#----- make a jar from compiled files ------------------------------
-
-MAXLINELENGTH = 100000
-
-JARCLASSDIRS = $(PACKAGE)
-JARTARGET = $(TARGET).jar
-JARCOMPRESS = TRUE
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
+#----- resource files for the OfficeResourceLoader test ------------
-RUNNER_CLASSPATH = -cp $(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/OOoRunner.jar$(PATH_SEPERATOR)$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/ConnectivityTools.jar
-RUNNER_ARGS = org.openoffice.Runner -TestBase java_complex
-run:copy_resources
- +java $(RUNNER_CLASSPATH) $(RUNNER_ARGS) -sce extensions_all.sce
+ALLTAR : copy_resources javatest
-run_%:copy_resources
- +java $(RUNNER_CLASSPATH) $(RUNNER_ARGS) -o complex.$(PRJNAME).$(@:s/run_//)
+copy_resources: $(RESLIB1TARGETN) $(RESLIB2TARGETN)
+ $(foreach,i,$(RESLIB1TARGETN) $(COPY) $i $(i:s/de/invalid/:s/_A_//) $(command_seperator)) echo
+ $(foreach,i,$(RESLIB2TARGETN) $(COPY) $i $(i:s/en-US/invalid/:s/_B_//) $(command_seperator)) echo
-copy_resources: $(RESLIB1TARGETN) $(RESLIB2TARGETN)
- @$(foreach,i,$(RESLIB1TARGETN) $(COPY) $i $(i:s/de/invalid/:s/_A_//) $(command_seperator)) echo.
- @$(foreach,i,$(RESLIB2TARGETN) $(COPY) $i $(i:s/en-US/invalid/:s/_B_//) $(command_seperator)) echo.
+.END
diff --git a/extensions/source/abpilot/abp.component b/extensions/source/abpilot/abp.component
new file mode 100644
index 000000000..a07cef986
--- /dev/null
+++ b/extensions/source/abpilot/abp.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="org.openoffice.comp.abp.OAddressBookSourcePilot">
+ <service name="com.sun.star.ui.dialogs.AddressBookSourcePilot"/>
+ </implementation>
+</component>
diff --git a/extensions/source/abpilot/abpresid.hrc b/extensions/source/abpilot/abpresid.hrc
index 273ba6b6e..08ade5d67 100644
--- a/extensions/source/abpilot/abpresid.hrc
+++ b/extensions/source/abpilot/abpresid.hrc
@@ -29,7 +29,8 @@
#define EXTENSIONS_ABPRESID_HRC
#include "abpilot.hrc"
-
+#include "extensio.hrc"
+
//========================================================================
// basics
diff --git a/extensions/source/abpilot/abpservices.cxx b/extensions/source/abpilot/abpservices.cxx
index f4131c8ba..f589ac0db 100644
--- a/extensions/source/abpilot/abpservices.cxx
+++ b/extensions/source/abpilot/abpservices.cxx
@@ -66,27 +66,6 @@ component_getImplementationEnvironment(
}
//---------------------------------------------------------------------------------------
-extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void* pServiceManager,
- void* pRegistryKey
- )
-{
- if (pRegistryKey)
- try
- {
- return ::abp::OModule::writeComponentInfos(
- static_cast<XMultiServiceFactory*>(pServiceManager),
- static_cast<XRegistryKey*>(pRegistryKey));
- }
- catch (InvalidRegistryException& )
- {
- OSL_ASSERT("abp::component_writeInfo: could not create a registry key (InvalidRegistryException) !");
- }
-
- return sal_False;
-}
-
-//---------------------------------------------------------------------------------------
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
diff --git a/extensions/source/abpilot/abspilot.src b/extensions/source/abpilot/abspilot.src
index a69ac07eb..f159ff692 100644
--- a/extensions/source/abpilot/abspilot.src
+++ b/extensions/source/abpilot/abspilot.src
@@ -71,6 +71,7 @@ ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
//........................................................................
TabPage RID_PAGE_SELECTABTYPE
{
+ HelpID = "extensions:TabPage:RID_PAGE_SELECTABTYPE";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -93,56 +94,67 @@ TabPage RID_PAGE_SELECTABTYPE
RadioButton RB_EVOLUTION
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Evolution";
};
RadioButton RB_EVOLUTION_GROUPWISE
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_GROUPWISE";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Groupwise";
};
RadioButton RB_EVOLUTION_LDAP
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_EVOLUTION_LDAP";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Evolution LDAP";
};
RadioButton RB_MORK
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MORK";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Mozilla / Netscape";
};
RadioButton RB_THUNDERBIRD
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_THUNDERBIRD";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Thunderbird";
};
RadioButton RB_KAB
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_KAB";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "KDE address book";
};
RadioButton RB_MACAB
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_MACAB";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Mac OS X address book";
};
RadioButton RB_LDAP
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_LDAP";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "LDAP address data";
};
RadioButton RB_OUTLOOK
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOK";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Outlook address book";
};
RadioButton RB_OUTLOOKEXPRESS
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OUTLOOKEXPRESS";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Windows system address book";
};
RadioButton RB_OTHER
{
+ HelpID = "extensions:RadioButton:RID_PAGE_SELECTABTYPE:RB_OTHER";
Size = MAP_APPFONT ( WINDOW_SIZE_X - 30, 8 ) ;
Text [ en-US ] = "Other external data source";
};
@@ -151,6 +163,7 @@ TabPage RID_PAGE_SELECTABTYPE
//........................................................................
TabPage RID_PAGE_ADMININVOKATION
{
+ HelpID = "extensions:TabPage:RID_PAGE_ADMININVOKATION";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -165,6 +178,7 @@ TabPage RID_PAGE_ADMININVOKATION
PushButton PB_INVOKE_ADMIN_DIALOG
{
+ HelpID = "extensions:PushButton:RID_PAGE_ADMININVOKATION:PB_INVOKE_ADMIN_DIALOG";
Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 60 ) ;
Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
@@ -185,6 +199,7 @@ TabPage RID_PAGE_ADMININVOKATION
//........................................................................
TabPage RID_PAGE_TABLESELECTION_AB
{
+ HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION_AB";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -199,6 +214,7 @@ TabPage RID_PAGE_TABLESELECTION_AB
ListBox LB_TABLELIST
{
+ HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION_AB:LB_TABLELIST";
Pos = MAP_APPFONT ( BORDER_X, 36 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 2 * BORDER_X, 50 ) ;
SVLook = TRUE;
@@ -212,6 +228,7 @@ TabPage RID_PAGE_TABLESELECTION_AB
//........................................................................
TabPage RID_PAGE_FIELDMAPPING
{
+ HelpID = "extensions:TabPage:RID_PAGE_FIELDMAPPING";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -226,6 +243,7 @@ TabPage RID_PAGE_FIELDMAPPING
PushButton PB_INVOKE_FIELDS_DIALOG
{
+ HelpID = "extensions:PushButton:RID_PAGE_FIELDMAPPING:PB_INVOKE_FIELDS_DIALOG";
Pos = MAP_APPFONT ( ( WINDOW_SIZE_X - BUTTON_SIZE_X ) / 2, 84 ) ;
Size = MAP_APPFONT ( BUTTON_SIZE_X, BUTTON_SIZE_Y ) ;
@@ -243,6 +261,7 @@ TabPage RID_PAGE_FIELDMAPPING
//........................................................................
TabPage RID_PAGE_FINAL
{
+ HelpID = "extensions:TabPage:RID_PAGE_FINAL";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -266,6 +285,7 @@ TabPage RID_PAGE_FINAL
ComboBox CBB_LOCATION
{
+ HelpID = "extensions:ComboBox:RID_PAGE_FINAL:CBB_LOCATION";
Pos = MAP_APPFONT ( BORDER_X , 64 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 53 - BORDER_X - BORDER_X, 12) ;
SVLook = TRUE;
@@ -276,6 +296,7 @@ TabPage RID_PAGE_FINAL
PushButton PB_BROWSE
{
+ HelpID = "extensions:PushButton:RID_PAGE_FINAL:PB_BROWSE";
Pos = MAP_APPFONT ( WINDOW_SIZE_X - 50 - BORDER_X , 63 ) ;
Size = MAP_APPFONT ( 50, 14) ;
SVLook = TRUE;
@@ -286,6 +307,7 @@ TabPage RID_PAGE_FINAL
CheckBox CB_REGISTER_DS
{
+ HelpID = "extensions:CheckBox:RID_PAGE_FINAL:CB_REGISTER_DS";
Pos = MAP_APPFONT ( BORDER_X, 82 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - BORDER_X - BORDER_X, 8) ;
SVLook = TRUE;
@@ -303,6 +325,7 @@ TabPage RID_PAGE_FINAL
Edit ET_DATASOURCENAME
{
+ HelpID = "extensions:Edit:RID_PAGE_FINAL:ET_DATASOURCENAME";
Pos = MAP_APPFONT ( BORDER_X + 10, 104 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 56 - BORDER_X - BORDER_X - 10, 12) ;
SVLook = TRUE;
diff --git a/extensions/source/abpilot/exports.dxp b/extensions/source/abpilot/exports.dxp
index 9630d7e06..f0e1c6993 100644
--- a/extensions/source/abpilot/exports.dxp
+++ b/extensions/source/abpilot/exports.dxp
@@ -1,3 +1,2 @@
component_getImplementationEnvironment
-component_writeInfo
component_getFactory
diff --git a/extensions/source/abpilot/makefile.mk b/extensions/source/abpilot/makefile.mk
index 19477e1b6..86bc5c68a 100644
--- a/extensions/source/abpilot/makefile.mk
+++ b/extensions/source/abpilot/makefile.mk
@@ -104,3 +104,11 @@ DEF1EXPORTFILE= exports.dxp
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/abp.component
+
+$(MISC)/abp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ abp.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt abp.component
diff --git a/extensions/source/bibliography/bib.component b/extensions/source/bibliography/bib.component
new file mode 100644
index 000000000..98627854d
--- /dev/null
+++ b/extensions/source/bibliography/bib.component
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.extensions.Bibliography">
+ <service name="com.sun.star.frame.Bibliography"/>
+ <service name="com.sun.star.frame.FrameLoader"/>
+ </implementation>
+</component>
diff --git a/extensions/source/bibliography/bib.hrc b/extensions/source/bibliography/bib.hrc
index eb6afcb44..454bda0e5 100644
--- a/extensions/source/bibliography/bib.hrc
+++ b/extensions/source/bibliography/bib.hrc
@@ -28,7 +28,7 @@
#define BIB_HRC
#include "bibliography.hrc"
-
+#include <svl/solar.hrc>
#ifndef RID_BIB_START
#define RID_BIB_START RID_EXTENSIONS_START
#endif
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx
index 0b57c4bd4..9d361aff8 100644
--- a/extensions/source/bibliography/bibload.cxx
+++ b/extensions/source/bibliography/bibload.cxx
@@ -225,36 +225,6 @@ extern "C"
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
- sal_Bool SAL_CALL component_writeInfo( void * //pServiceManager
- , registry::XRegistryKey * pRegistryKey )
- {
- try
- {
- rtl::OUString sKey = rtl::OUString::createFromAscii("/");
- sKey += BibliographyLoader::getImplementationName_Static();
- //creates the impl key: /com.sun.star.extensions.Bibliography
- Reference< registry::XRegistryKey > xImplKey = pRegistryKey->createKey(sKey);
-
-
- //sKey += rtl::OUString::createFromAscii("/UNO/SERVICES");
- Reference< registry::XRegistryKey > xNewKey = xImplKey->createKey( C2U("/UNO/SERVICES") );
- Sequence< rtl::OUString > aServices = BibliographyLoader::getSupportedServiceNames_Static();
- for( INT32 i = 0; i < aServices.getLength(); i++ )
- xNewKey->createKey( aServices.getConstArray()[i]);
- xNewKey = xImplKey->createKey( C2U("/UNO/Loader"));
-
- Reference< registry::XRegistryKey > xPatternKey = xImplKey->createKey( C2U("/Loader/Pattern" ));
- xPatternKey->setAsciiValue( C2U( ".component:Bibliography/*" ) );
-
- return sal_True;
- }
- catch (Exception &)
- {
- return sal_False;
- }
- }
-
-
void * SAL_CALL component_getFactory(
const sal_Char * pImplName, XMultiServiceFactory * pServiceManager, void * /*pRegistryKey*/ )
{
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 52575a6f3..4f902a689 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -1436,9 +1436,9 @@ Reference< awt::XControlModel > BibDataManager::createGridModel(const ::rtl::OUS
Reference< XPropertySetInfo > xPropInfo = xPropSet->getPropertySetInfo();
if (xPropInfo->hasPropertyByName(uProp))
{
- ::rtl::OUString sId = ::rtl::OUString::createFromAscii( "HID:" );
- sId += ::rtl::OUString::valueOf( (sal_Int32) HID_BIB_DB_GRIDCTRL );
- xPropSet->setPropertyValue( uProp, makeAny( ::rtl::OUString( sId ) ) );
+ ::rtl::OUString sId = ::rtl::OUString::createFromAscii( INET_HID_SCHEME );
+ sId += ::rtl::OUString::createFromAscii( HID_BIB_DB_GRIDCTRL );
+ xPropSet->setPropertyValue( uProp, makeAny( sId ) );
}
}
catch(Exception& e )
diff --git a/extensions/source/bibliography/datman.src b/extensions/source/bibliography/datman.src
index 6b8c4b00e..639e6640d 100644
--- a/extensions/source/bibliography/datman.src
+++ b/extensions/source/bibliography/datman.src
@@ -62,6 +62,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_IDENTIFIER
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_IDENTIFIER";
Pos = MAP_APPFONT ( 65 , 13 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -73,6 +74,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_AUTHORITYTYPE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_AUTHORITYTYPE";
Pos = MAP_APPFONT ( 171 , 13 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -84,6 +86,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_YEAR
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_YEAR";
Pos = MAP_APPFONT ( 282 , 13 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -95,6 +98,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_AUTHOR
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_AUTHOR";
Pos = MAP_APPFONT ( 65 , 28 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -106,6 +110,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_TITLE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_TITLE";
Pos = MAP_APPFONT ( 171 , 28 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -117,6 +122,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_PUBLISHER
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_PUBLISHER";
Pos = MAP_APPFONT ( 65 , 43 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -128,6 +134,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_ADDRESS
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_ADDRESS";
Pos = MAP_APPFONT ( 171, 43 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -139,6 +146,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_ISBN
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_ISBN";
Pos = MAP_APPFONT ( 282 , 43 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -150,6 +158,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CHAPTER
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CHAPTER";
Pos = MAP_APPFONT ( 65 , 58 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -161,6 +170,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_PAGES
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_PAGES";
Pos = MAP_APPFONT ( 171, 58) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -172,6 +182,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_EDITOR
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_EDITOR";
Pos = MAP_APPFONT ( 65 , 73 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -183,6 +194,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_EDITION
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_EDITION";
Pos = MAP_APPFONT ( 171 , 73 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -194,6 +206,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_BOOKTITLE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_BOOKTITLE";
Pos = MAP_APPFONT ( 65, 88 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -205,6 +218,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_VOLUME
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_VOLUME";
Pos = MAP_APPFONT ( 171 , 88 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -216,6 +230,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_HOWPUBLISHED
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_HOWPUBLISHED";
Pos = MAP_APPFONT ( 282, 88 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -227,6 +242,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_ORGANIZATIONS
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_ORGANIZATIONS";
Pos = MAP_APPFONT ( 65 , 103 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -238,6 +254,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_INSTITUTION
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_INSTITUTION";
Pos = MAP_APPFONT ( 171 , 103) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -249,6 +266,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_SCHOOL
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_SCHOOL";
Pos = MAP_APPFONT ( 282 , 103 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -260,6 +278,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_REPORTTYPE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_REPORTTYPE";
Pos = MAP_APPFONT ( 65 , 118 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -271,6 +290,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_MONTH
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_MONTH";
Pos = MAP_APPFONT ( 171 , 118) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -282,6 +302,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_JOURNAL
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_JOURNAL";
Pos = MAP_APPFONT ( 65 , 133) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -293,6 +314,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_NUMBER
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_NUMBER";
Pos = MAP_APPFONT ( 171 , 133 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -304,6 +326,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_SERIES
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_SERIES";
Pos = MAP_APPFONT ( 282 , 133 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -315,6 +338,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_ANNOTE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_ANNOTE";
Pos = MAP_APPFONT ( 65 , 148 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -326,6 +350,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_NOTE
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_NOTE";
Pos = MAP_APPFONT ( 171 , 148 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -337,6 +362,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_URL
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_URL";
Pos = MAP_APPFONT ( 282, 148 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -348,6 +374,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CUSTOM1
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CUSTOM1";
Pos = MAP_APPFONT ( 65 , 163 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -359,6 +386,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CUSTOM2
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CUSTOM2";
Pos = MAP_APPFONT ( 171 , 163 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -370,6 +398,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CUSTOM3
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CUSTOM3";
Pos = MAP_APPFONT ( 282 , 163 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -381,6 +410,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CUSTOM4
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CUSTOM4";
Pos = MAP_APPFONT ( 65 , 177 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
@@ -392,6 +422,7 @@ ModalDialog RID_DLG_MAPPING
};
ListBox LB_CUSTOM5
{
+ HelpID = "extensions:ListBox:RID_DLG_MAPPING:LB_CUSTOM5";
Pos = MAP_APPFONT ( 171 , 177 ) ;
Size = MAP_APPFONT ( 50 , 60 ) ;
DropDown = TRUE;
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index 77439de9c..d74678e44 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -57,6 +57,7 @@
#include <algorithm>
#include <functional>
#include <vector>
+#include <tools/urlobj.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -463,12 +464,12 @@ void BibGeneralPage::CommitActiveControl()
}
//-----------------------------------------------------------------------------
void BibGeneralPage::AddControlWithError( const OUString& rColumnName, const ::Point& rPos, const ::Size& rSize,
- String& rErrorString, String aColumnUIName, sal_uInt16 nHelpId, sal_uInt16 nIndexInFTArray )
+ String& rErrorString, String aColumnUIName, const rtl::OString& sHelpId, sal_uInt16 nIndexInFTArray )
{
// adds also the XControl and creates a map entry in nFT2CtrlMap[] for mapping between control and FT
INT16 nIndex = -1;
- uno::Reference< awt::XControlModel > xTmp = AddXControl(rColumnName, rPos, rSize, nHelpId, nIndex );
+ uno::Reference< awt::XControlModel > xTmp = AddXControl(rColumnName, rPos, rSize, sHelpId, nIndex );
if( xTmp.is() )
{
DBG_ASSERT( nIndexInFTArray < FIELD_COUNT, "*BibGeneralPage::AddControlWithError(): wrong array index!" );
@@ -487,7 +488,7 @@ void BibGeneralPage::AddControlWithError( const OUString& rColumnName, const ::P
//-----------------------------------------------------------------------------
uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl(
const String& rName,
- ::Point rPos, ::Size rSize, sal_uInt16 nHelpId, INT16& rIndex )
+ ::Point rPos, ::Size rSize, const rtl::OString& sHelpId, INT16& rIndex )
{
uno::Reference< awt::XControlModel > xCtrModel;
try
@@ -509,11 +510,10 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl(
rtl::OUString uProp(C2U("HelpURL"));
if(xPropInfo->hasPropertyByName(uProp))
{
- String sId(C2S("HID:"));
- sId += String::CreateFromInt32(nHelpId);
- rtl::OUString uId(sId) ;
- uno::Any aVal; aVal <<= uId;
- xPropSet->setPropertyValue(uProp, aVal);
+ ::rtl::OUString sId = ::rtl::OUString::createFromAscii( INET_HID_SCHEME );
+ DBG_ASSERT( INetURLObject( rtl::OStringToOUString( sHelpId, RTL_TEXTENCODING_UTF8 ) ).GetProtocol() == INET_PROT_NOT_VALID, "Wrong HelpId!" );
+ sId += ::rtl::OUString( sHelpId, sHelpId.getLength(), RTL_TEXTENCODING_UTF8 );
+ xPropSet->setPropertyValue( uProp, makeAny( sId ) );
}
if(bTypeListBox)
diff --git a/extensions/source/bibliography/general.hxx b/extensions/source/bibliography/general.hxx
index 6e4896888..a924c047b 100644
--- a/extensions/source/bibliography/general.hxx
+++ b/extensions/source/bibliography/general.hxx
@@ -140,12 +140,12 @@ class BibGeneralPage: public BibGeneralPageBaseClass, public BibTabPage
BibDataManager* pDatMan;
::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >
- AddXControl( const String& rName, Point aPos, Size aSize, sal_uInt16 nHelpId,
+ AddXControl( const String& rName, Point aPos, Size aSize, const rtl::OString& sHelpId,
sal_Int16& rIndex );
void AddControlWithError( const rtl::OUString& rColumnName, const Point& rPos,
const Size& rSize, String& rErrorString, String aColumnUIName,
- sal_uInt16 nHelpId, sal_uInt16 nIndexInFTArray );
+ const rtl::OString& sHelpId, sal_uInt16 nIndexInFTArray );
void AdjustScrollbars();
diff --git a/extensions/source/bibliography/makefile.mk b/extensions/source/bibliography/makefile.mk
index f25dce110..e24c32237 100644
--- a/extensions/source/bibliography/makefile.mk
+++ b/extensions/source/bibliography/makefile.mk
@@ -89,3 +89,11 @@ DEF1NAME= $(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/bib.component
+
+$(MISC)/bib.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ bib.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt bib.component
diff --git a/extensions/source/bibliography/toolbar.src b/extensions/source/bibliography/toolbar.src
index 9016a4570..35217d6b6 100644
--- a/extensions/source/bibliography/toolbar.src
+++ b/extensions/source/bibliography/toolbar.src
@@ -27,6 +27,7 @@
#include <svx/svxids.hrc>
#include "bibliography.hrc"
#include "toolbar.hrc"
+#include "svx/svxcommands.h"
#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; };
@@ -46,7 +47,6 @@ ToolBox RID_BIB_TOOLBAR
ToolBoxItem
{
Identifier = TBC_FT_SOURCE;
- //HelpID = SID_SBA_BRW_INSERT ;
Text [ en-US ] = "Table";
};
ToolBoxItem
@@ -63,7 +63,6 @@ ToolBox RID_BIB_TOOLBAR
ToolBoxItem
{
Identifier = TBC_FT_QUERY;
- //HelpID = SID_SBA_BRW_INSERT ;
Text [ en-US ] = "Search Key";
};
ToolBoxItem
@@ -90,7 +89,6 @@ ToolBox RID_BIB_TOOLBAR
ToolBoxItem
{
Identifier = TBC_BT_FILTERCRIT ;
- HelpID = SID_FM_FILTERCRIT ;
// ItemBitmap = Bitmap { File = "sc10715.bmp" ; };
// Text [ de ] = "Standard Filter" ;
Command = ".uno:Bib/standardFilter" ;
@@ -100,7 +98,6 @@ ToolBox RID_BIB_TOOLBAR
ToolBoxItem
{
Identifier = TBC_BT_REMOVEFILTER ;
- HelpID = SID_FM_REMOVE_FILTER_SORT ;
// ItemBitmap = Bitmap { File = "sc10711.bmp" ; };
Command = ".uno:Bib/removeFilter" ;
Text [ en-US ] = "Remove Filter";
@@ -122,78 +119,6 @@ ToolBox RID_BIB_TOOLBAR
Checkable=TRUE;
Text [ en-US ] = "Data Source";
};
-/*
- ToolBoxItem
- {
- Type = TOOLBOXITEM_SEPARATOR ;
- };
-
- ToolBoxItem
- {
- Identifier = TBC_BT_NEWCARD ;
- //HelpID = SID_FM_REMOVE_FILTER_SORT ;
- Command = ".uno:Bib/newEntry" ;
- ItemBitmap = Bitmap { File = "newcard.bmp" ; };
- Text [ en-US ] = "New Address";
- };
-
- ToolBoxItem
- {
- Identifier = TBC_BT_EDITCARD ;
- //HelpID = SID_FM_REMOVE_FILTER_SORT ;
- Command = ".uno:Bib/changeEntry" ;
- ItemBitmap = Bitmap { File = "modcard.bmp" ; };
- Text [ en-US ] = "Edit Address";
- };
-
- ToolBoxItem
- {
- Identifier = TBC_BT_REMOVECARD ;
- //HelpID = SID_FM_REMOVE_FILTER_SORT ;
- Command = ".uno:Bib/removeEntry" ;
- ItemBitmap = Bitmap { File = "remcard.bmp" ; };
- Text [ en-US ] = "Remove Address";
- };
-
- ToolBoxItem
- {
- Type = TOOLBOXITEM_SEPARATOR ;
- };
-
- ToolBoxItem
- {
- Identifier = TBC_BT_INSERT ;
- HelpID = SID_SBA_BRW_INSERT ;
- ItemBitmap = Bitmap { File = "sc12202.bmp" ; };
- Text [ en-US ] = "Data into Text";
- };
- ToolBoxItem
- {
- Identifier = TBC_BT_UPDATE ;
- HelpID = SID_SBA_BRW_UPDATE ;
- ItemBitmap = Bitmap { File = "sc12201.bmp" ; };
- Text = "Daten in Felder" ;
- };
-
- ToolBoxItem
- {
- Type = TOOLBOXITEM_SEPARATOR ;
- };
-
- ToolBoxItem
- {
- Identifier = TBC_BT_MAIL ;
- //HelpID = HID_ADDRPI_AUTOMAIL ;
- ItemBitmap = Bitmap { File = "sc06305.bmp" ; };
- Text [ en-US ] = "AutoMail";
- };
- ToolBoxItem
- {
- Identifier = TBC_BT_URL ;
- //HelpID = HID_ADDRPI_AUTOBROWSE ;
- ItemBitmap = Bitmap { File = "sc06304.bmp" ; };
- Text [ en-US ] = "AutoBrowse";
- };*/
};
Scroll = TRUE ;
};
diff --git a/extensions/source/config/ldap/componentdef.cxx b/extensions/source/config/ldap/componentdef.cxx
index abeb75bb0..bf946c112 100644
--- a/extensions/source/config/ldap/componentdef.cxx
+++ b/extensions/source/config/ldap/componentdef.cxx
@@ -62,13 +62,6 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
}
//------------------------------------------------------------------------------
-extern "C" sal_Bool SAL_CALL component_writeInfo(void *aServiceManager,
- void *aRegistryKey) {
- return cppu::component_writeInfoHelper(
- aServiceManager, aRegistryKey, kImplementations_entries);
-}
-//------------------------------------------------------------------------------
-
extern "C" void *component_getFactory(const sal_Char *aImplementationName,
void *aServiceManager,
void *aRegistryKey) {
diff --git a/extensions/source/config/ldap/exports.dxp b/extensions/source/config/ldap/exports.dxp
index 9630d7e06..f0e1c6993 100644
--- a/extensions/source/config/ldap/exports.dxp
+++ b/extensions/source/config/ldap/exports.dxp
@@ -1,3 +1,2 @@
component_getImplementationEnvironment
-component_writeInfo
component_getFactory
diff --git a/extensions/source/config/ldap/ldapbe2.component b/extensions/source/config/ldap/ldapbe2.component
new file mode 100644
index 000000000..071064d1c
--- /dev/null
+++ b/extensions/source/config/ldap/ldapbe2.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.configuration.backend.LdapUserProfileBe">
+ <service name="com.sun.star.configuration.backend.LdapUserProfileBe"/>
+ </implementation>
+</component>
diff --git a/extensions/source/config/ldap/makefile.mk b/extensions/source/config/ldap/makefile.mk
index a27cb39b6..d35e2428c 100644
--- a/extensions/source/config/ldap/makefile.mk
+++ b/extensions/source/config/ldap/makefile.mk
@@ -95,3 +95,11 @@ DEF1DES=Configuration: LDAP User Profile Backend
.INCLUDE : target.mk
.INCLUDE : $(PRJ)$/util$/target.pmk
+
+ALLTAR : $(MISC)/ldapbe2.component
+
+$(MISC)/ldapbe2.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ ldapbe2.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt ldapbe2.component
diff --git a/extensions/source/dbpilots/commonpagesdbp.src b/extensions/source/dbpilots/commonpagesdbp.src
index 783bdb48b..fd2bef2f4 100644
--- a/extensions/source/dbpilots/commonpagesdbp.src
+++ b/extensions/source/dbpilots/commonpagesdbp.src
@@ -31,6 +31,7 @@
TabPage RID_PAGE_TABLESELECTION
{
+ HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Data";
@@ -58,6 +59,7 @@ TabPage RID_PAGE_TABLESELECTION
};
ListBox LB_DATASOURCE
{
+ HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ;
SVLook = TRUE ;
@@ -68,6 +70,7 @@ TabPage RID_PAGE_TABLESELECTION
PushButton PB_FORMDATASOURCE
{
+ HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION:PB_FORMDATASOURCE";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25 ) ;
Size = MAP_APPFONT ( 14 , 14 ) ;
Text [ en-US ] = "~...";
@@ -82,6 +85,7 @@ TabPage RID_PAGE_TABLESELECTION
};
ListBox LB_TABLE
{
+ HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ;
SVLook = TRUE ;
@@ -118,6 +122,7 @@ TabPage RID_PAGE_TABLESELECTION
TabPage RID_PAGE_OPTION_DBFIELD
{
+ HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Database Field";
@@ -142,6 +147,7 @@ TabPage RID_PAGE_OPTION_DBFIELD
};
RadioButton RB_STOREINFIELD_YES
{
+ HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES";
Pos = MAP_APPFONT ( 7 , 53 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ;
Group = TRUE;
@@ -150,6 +156,7 @@ TabPage RID_PAGE_OPTION_DBFIELD
};
ListBox LB_STOREINFIELD
{
+ HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ;
TabStop = TRUE;
@@ -160,6 +167,7 @@ TabPage RID_PAGE_OPTION_DBFIELD
};
RadioButton RB_STOREINFIELD_NO
{
+ HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO";
Pos = MAP_APPFONT ( 7 , 68 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
TabStop = FALSE;
@@ -169,6 +177,7 @@ TabPage RID_PAGE_OPTION_DBFIELD
TabPage RID_PAGE_FORM_DATASOURCE_STATUS
{
+ HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS";
FixedLine FL_FORMSETINGS
{
Pos = MAP_APPFONT ( 4 , 3 ) ;
diff --git a/extensions/source/dbpilots/dbp.component b/extensions/source/dbpilots/dbp.component
new file mode 100644
index 000000000..84ec98713
--- /dev/null
+++ b/extensions/source/dbpilots/dbp.component
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="org.openoffice.comp.dbp.OGridWizard">
+ <service name="com.sun.star.sdb.GridControlAutoPilot"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.dbp.OGroupBoxWizard">
+ <service name="com.sun.star.sdb.GroupBoxAutoPilot"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.dbp.OListComboWizard">
+ <service name="com.sun.star.sdb.ListComboBoxAutoPilot"/>
+ </implementation>
+</component>
diff --git a/extensions/source/dbpilots/dbpilots.src b/extensions/source/dbpilots/dbpilots.src
index fcdda32e0..7e5cf6adf 100644
--- a/extensions/source/dbpilots/dbpilots.src
+++ b/extensions/source/dbpilots/dbpilots.src
@@ -31,6 +31,7 @@
ModalDialog RID_DLG_GROUPBOXWIZARD
{
+ HelpID = "extensions:ModalDialog:RID_DLG_GROUPBOXWIZARD";
Text [ en-US ] = "Group Element Wizard";
OutputSize = TRUE ;
@@ -42,6 +43,7 @@ ModalDialog RID_DLG_GROUPBOXWIZARD
ModalDialog RID_DLG_LISTCOMBOWIZARD
{
+ HelpID = "extensions:ModalDialog:RID_DLG_LISTCOMBOWIZARD";
OutputSize = TRUE ;
SVLook = TRUE ;
Moveable = TRUE ;
@@ -51,6 +53,7 @@ ModalDialog RID_DLG_LISTCOMBOWIZARD
ModalDialog RID_DLG_GRIDWIZARD
{
+ HelpID = "extensions:ModalDialog:RID_DLG_GRIDWIZARD";
OutputSize = TRUE ;
SVLook = TRUE ;
Moveable = TRUE ;
diff --git a/extensions/source/dbpilots/dbpresid.hrc b/extensions/source/dbpilots/dbpresid.hrc
index 81f61d49c..7d766516c 100644
--- a/extensions/source/dbpilots/dbpresid.hrc
+++ b/extensions/source/dbpilots/dbpresid.hrc
@@ -29,6 +29,7 @@
#define _EXTENSIONS_DBP_DBPRESID_HRC_
#include "dbpilots.hrc"
+#include "extensio.hrc"
//========================================================================
// basics
diff --git a/extensions/source/dbpilots/dbpservices.cxx b/extensions/source/dbpilots/dbpservices.cxx
index b7e63c663..726049977 100644
--- a/extensions/source/dbpilots/dbpservices.cxx
+++ b/extensions/source/dbpilots/dbpservices.cxx
@@ -70,27 +70,6 @@ component_getImplementationEnvironment(
}
//---------------------------------------------------------------------------------------
-extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void* pServiceManager,
- void* pRegistryKey
- )
-{
- if (pRegistryKey)
- try
- {
- return ::dbp::OModule::writeComponentInfos(
- static_cast<XMultiServiceFactory*>(pServiceManager),
- static_cast<XRegistryKey*>(pRegistryKey));
- }
- catch (InvalidRegistryException& )
- {
- OSL_ASSERT("dbp::component_writeInfo: could not create a registry key (InvalidRegistryException) !");
- }
-
- return sal_False;
-}
-
-//---------------------------------------------------------------------------------------
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
diff --git a/extensions/source/dbpilots/gridpages.src b/extensions/source/dbpilots/gridpages.src
index 5b5d557ca..ccba53592 100644
--- a/extensions/source/dbpilots/gridpages.src
+++ b/extensions/source/dbpilots/gridpages.src
@@ -31,6 +31,7 @@
TabPage RID_PAGE_GW_FIELDSELECTION
{
+ HelpID = "extensions:TabPage:RID_PAGE_GW_FIELDSELECTION";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -51,6 +52,7 @@ TabPage RID_PAGE_GW_FIELDSELECTION
};
ListBox LB_EXISTING_FIELDS
{
+ HelpID = "extensions:ListBox:RID_PAGE_GW_FIELDSELECTION:LB_EXISTING_FIELDS";
Pos = MAP_APPFONT ( 7 , 63 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, WINDOW_SIZE_Y - 63 - 6 ) ;
SVLook = TRUE ;
@@ -61,24 +63,28 @@ TabPage RID_PAGE_GW_FIELDSELECTION
};
PushButton PB_FIELDRIGHT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GW_FIELDSELECTION:PB_FIELDRIGHT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 63 );
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y );
Text = "->";
};
PushButton PB_ALLFIELDSRIGHT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GW_FIELDSELECTION:PB_ALLFIELDSRIGHT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 63 + ITEM_BUTTON_SIZE_Y + 3 );
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y );
Text = "=>>";
};
PushButton PB_FIELDLEFT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GW_FIELDSELECTION:PB_FIELDLEFT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 63 + ITEM_BUTTON_SIZE_Y + 3 + ITEM_BUTTON_SIZE_Y + 12 );
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y );
Text = "<-";
};
PushButton PB_ALLFIELDSLEFT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GW_FIELDSELECTION:PB_ALLFIELDSLEFT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2, 63 + ITEM_BUTTON_SIZE_Y + 3 + ITEM_BUTTON_SIZE_Y + 12 + ITEM_BUTTON_SIZE_Y + 3 );
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X, ITEM_BUTTON_SIZE_Y );
Text = "<<=";
@@ -91,6 +97,7 @@ TabPage RID_PAGE_GW_FIELDSELECTION
};
ListBox LB_SELECTED_FIELDS
{
+ HelpID = "extensions:ListBox:RID_PAGE_GW_FIELDSELECTION:LB_SELECTED_FIELDS";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 63 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, WINDOW_SIZE_Y - 63 - 6 ) ;
SVLook = TRUE ;
diff --git a/extensions/source/dbpilots/groupboxpages.src b/extensions/source/dbpilots/groupboxpages.src
index f5538e2a1..11f77711c 100644
--- a/extensions/source/dbpilots/groupboxpages.src
+++ b/extensions/source/dbpilots/groupboxpages.src
@@ -31,6 +31,7 @@
TabPage RID_PAGE_GROUPRADIOSELECTION
{
+ HelpID = "extensions:TabPage:RID_PAGE_GROUPRADIOSELECTION";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Data";
@@ -50,6 +51,7 @@ TabPage RID_PAGE_GROUPRADIOSELECTION
};
Edit ET_RADIOLABELS
{
+ HelpID = "extensions:Edit:RID_PAGE_GROUPRADIOSELECTION:ET_RADIOLABELS";
Pos = MAP_APPFONT ( 7 , 79 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 13, 12 ) ;
SVLook = TRUE ;
@@ -57,12 +59,14 @@ TabPage RID_PAGE_GROUPRADIOSELECTION
};
PushButton PB_MOVETORIGHT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETORIGHT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79 ) ;
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
Text = "~>>";
};
PushButton PB_MOVETOLEFT
{
+ HelpID = "extensions:PushButton:RID_PAGE_GROUPRADIOSELECTION:PB_MOVETOLEFT";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 , 79 + ITEM_BUTTON_SIZE_Y + 3 ) ;
Size = MAP_APPFONT ( ITEM_BUTTON_SIZE_X , ITEM_BUTTON_SIZE_Y ) ;
Text = "~<<";
@@ -76,6 +80,7 @@ TabPage RID_PAGE_GROUPRADIOSELECTION
};
ListBox LB_RADIOBUTTONS
{
+ HelpID = "extensions:ListBox:RID_PAGE_GROUPRADIOSELECTION:LB_RADIOBUTTONS";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + ITEM_BUTTON_SIZE_X / 2 + 6 , 79 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - WINDOW_HALF_SIZE_X - ITEM_BUTTON_SIZE_X / 2 - 6 - 7, WINDOW_SIZE_Y - 79 - 6 ) ;
SVLook = TRUE ;
@@ -87,6 +92,7 @@ TabPage RID_PAGE_GROUPRADIOSELECTION
TabPage RID_PAGE_DEFAULTFIELDSELECTION
{
+ HelpID = "extensions:TabPage:RID_PAGE_DEFAULTFIELDSELECTION";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Default Field Selection";
@@ -106,6 +112,7 @@ TabPage RID_PAGE_DEFAULTFIELDSELECTION
};
RadioButton RB_DEFSELECTION_YES
{
+ HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_YES";
Pos = MAP_APPFONT ( 7 , 44 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 10 ) ;
Group = TRUE;
@@ -114,6 +121,7 @@ TabPage RID_PAGE_DEFAULTFIELDSELECTION
};
ListBox LB_DEFSELECTIONFIELD
{
+ HelpID = "extensions:ListBox:RID_PAGE_DEFAULTFIELDSELECTION:LB_DEFSELECTIONFIELD";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 42 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 14 ) ;
TabStop = TRUE;
@@ -125,6 +133,7 @@ TabPage RID_PAGE_DEFAULTFIELDSELECTION
};
RadioButton RB_DEFSELECTION_NO
{
+ HelpID = "extensions:RadioButton:RID_PAGE_DEFAULTFIELDSELECTION:RB_DEFSELECTION_NO";
Pos = MAP_APPFONT ( 7 , 59 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ;
TabStop = FALSE;
@@ -134,6 +143,7 @@ TabPage RID_PAGE_DEFAULTFIELDSELECTION
TabPage RID_PAGE_OPTIONVALUES
{
+ HelpID = "extensions:TabPage:RID_PAGE_OPTIONVALUES";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Field Values";
@@ -160,6 +170,7 @@ TabPage RID_PAGE_OPTIONVALUES
};
Edit ET_OPTIONVALUE
{
+ HelpID = "extensions:Edit:RID_PAGE_OPTIONVALUES:ET_OPTIONVALUE";
Pos = MAP_APPFONT ( 7 , 61 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
SVLook = TRUE ;
@@ -174,6 +185,7 @@ TabPage RID_PAGE_OPTIONVALUES
};
ListBox LB_RADIOBUTTONS
{
+ HelpID = "extensions:ListBox:RID_PAGE_OPTIONVALUES:LB_RADIOBUTTONS";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 32 ) ;
SVLook = TRUE ;
@@ -185,6 +197,7 @@ TabPage RID_PAGE_OPTIONVALUES
TabPage RID_PAGE_OPTIONS_FINAL
{
+ HelpID = "extensions:TabPage:RID_PAGE_OPTIONS_FINAL";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
Text [ en-US ] = "Create Option Group";
@@ -203,6 +216,7 @@ TabPage RID_PAGE_OPTIONS_FINAL
};
Edit ET_NAMEIT
{
+ HelpID = "extensions:Edit:RID_PAGE_OPTIONS_FINAL:ET_NAMEIT";
Pos = MAP_APPFONT ( 7 , 34 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 12 ) ;
SVLook = TRUE ;
diff --git a/extensions/source/dbpilots/listcombopages.src b/extensions/source/dbpilots/listcombopages.src
index 7e48fef2c..dd8603502 100644
--- a/extensions/source/dbpilots/listcombopages.src
+++ b/extensions/source/dbpilots/listcombopages.src
@@ -31,6 +31,7 @@
TabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE
{
+ HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_TABLE";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -53,6 +54,7 @@ TabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE
};
ListBox LB_SELECTTABLE
{
+ HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_TABLE:LB_SELECTTABLE";
Pos = MAP_APPFONT ( 130 , 52 ) ;
Size = MAP_APPFONT ( WINDOW_SIZE_X - 130 - 7, WINDOW_SIZE_Y - 52 - 6 ) ;
SVLook = TRUE ;
@@ -65,6 +67,7 @@ TabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE
TabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
{
+ HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_FIELD";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -86,6 +89,7 @@ TabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
};
ListBox LB_SELECTFIELD
{
+ HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_FIELD:LB_SELECTFIELD";
Pos = MAP_APPFONT ( 7 , 26 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 32 ) ;
SVLook = TRUE ;
@@ -102,6 +106,7 @@ TabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
};
Edit ET_DISPLAYEDFIELD
{
+ HelpID = "extensions:Edit:RID_PAGE_LCW_CONTENTSELECTION_FIELD:ET_DISPLAYEDFIELD";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ;
SVLook = TRUE ;
@@ -127,6 +132,7 @@ TabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD
TabPage RID_PAGE_LCW_FIELDLINK
{
+ HelpID = "extensions:TabPage:RID_PAGE_LCW_FIELDLINK";
SVLook = TRUE ;
Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
@@ -153,6 +159,7 @@ TabPage RID_PAGE_LCW_FIELDLINK
};
ComboBox CMB_VALUELISTFIELD
{
+ HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_VALUELISTFIELD";
Pos = MAP_APPFONT ( 7 , 48 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
SVLook = TRUE ;
@@ -170,6 +177,7 @@ TabPage RID_PAGE_LCW_FIELDLINK
};
ComboBox CMB_TABLEFIELD
{
+ HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_TABLEFIELD";
Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 48 ) ;
Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ;
SVLook = TRUE ;
diff --git a/extensions/source/dbpilots/makefile.mk b/extensions/source/dbpilots/makefile.mk
index b5831e5fd..e37ab0a54 100644
--- a/extensions/source/dbpilots/makefile.mk
+++ b/extensions/source/dbpilots/makefile.mk
@@ -101,3 +101,11 @@ DEF1NAME= $(SHL1TARGET)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/dbp.component
+
+$(MISC)/dbp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ dbp.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt dbp.component
diff --git a/extensions/source/inc/componentmodule.cxx b/extensions/source/inc/componentmodule.cxx
index cbcb0cec1..0a9f4bb76 100644
--- a/extensions/source/inc/componentmodule.cxx
+++ b/extensions/source/inc/componentmodule.cxx
@@ -238,54 +238,6 @@ namespace COMPMOD_NAMESPACE
}
//--------------------------------------------------------------------------
- sal_Bool OModule::writeComponentInfos(
- const Reference< XMultiServiceFactory >& /*_rxServiceManager*/,
- const Reference< XRegistryKey >& _rxRootKey)
- {
- OSL_ENSURE(_rxRootKey.is(), "OModule::writeComponentInfos : invalid argument !");
-
- if (!s_pImplementationNames)
- {
- OSL_ASSERT("OModule::writeComponentInfos : have no class infos ! Are you sure called this method at the right time ?");
- return sal_True;
- }
- OSL_ENSURE(s_pImplementationNames && s_pSupportedServices && s_pCreationFunctionPointers && s_pFactoryFunctionPointers,
- "OModule::writeComponentInfos : inconsistent state (the pointers) !");
- OSL_ENSURE( (s_pImplementationNames->getLength() == s_pSupportedServices->getLength())
- && (s_pImplementationNames->getLength() == s_pCreationFunctionPointers->getLength())
- && (s_pImplementationNames->getLength() == s_pFactoryFunctionPointers->getLength()),
- "OModule::writeComponentInfos : inconsistent state !");
-
- sal_Int32 nLen = s_pImplementationNames->getLength();
- const ::rtl::OUString* pImplName = s_pImplementationNames->getConstArray();
- const Sequence< ::rtl::OUString >* pServices = s_pSupportedServices->getConstArray();
-
- ::rtl::OUString sRootKey("/", 1, RTL_TEXTENCODING_ASCII_US);
- for (sal_Int32 i=0; i<nLen; ++i, ++pImplName, ++pServices)
- {
- ::rtl::OUString aMainKeyName(sRootKey);
- aMainKeyName += *pImplName;
- aMainKeyName += ::rtl::OUString::createFromAscii("/UNO/SERVICES");
-
- try
- {
- Reference< XRegistryKey > xNewKey( _rxRootKey->createKey(aMainKeyName) );
-
- const ::rtl::OUString* pService = pServices->getConstArray();
- for (sal_Int32 j=0; j<pServices->getLength(); ++j, ++pService)
- xNewKey->createKey(*pService);
- }
- catch(Exception&)
- {
- OSL_ASSERT("OModule::writeComponentInfos : something went wrong while creating the keys !");
- return sal_False;
- }
- }
-
- return sal_True;
- }
-
- //--------------------------------------------------------------------------
Reference< XInterface > OModule::getComponentFactory(
const ::rtl::OUString& _rImplementationName,
const Reference< XMultiServiceFactory >& _rxServiceManager)
diff --git a/extensions/source/inc/componentmodule.hxx b/extensions/source/inc/componentmodule.hxx
index 741903e50..268aa9ce0 100644
--- a/extensions/source/inc/componentmodule.hxx
+++ b/extensions/source/inc/componentmodule.hxx
@@ -121,21 +121,6 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService
static void revokeComponent(
const ::rtl::OUString& _rImplementationName);
- /** write the registration information of all known components
- <p>writes the registration information of all components which are currently registered into the
- specified registry.<p/>
- <p>Usually used from within component_writeInfo.<p/>
- @param _rxServiceManager
- the service manager
- @param _rRootKey
- the registry key under which the information will be stored
- @return
- sal_True if the registration of all implementations was successfull, sal_False otherwise
- */
- static sal_Bool writeComponentInfos(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxServiceManager,
- const ::com::sun::star::uno::Reference< ::com::sun::star::registry::XRegistryKey >& _rRootKey);
-
/** creates a Factory for the component with the given implementation name.
<p>Usually used from within component_getFactory.<p/>
@param _rxServiceManager
diff --git a/extensions/source/logging/log.component b/extensions/source/logging/log.component
new file mode 100644
index 000000000..4dd2db56c
--- /dev/null
+++ b/extensions/source/logging/log.component
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.extensions.ConsoleHandler">
+ <service name="com.sun.star.logging.ConsoleHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.CsvFormatter">
+ <service name="com.sun.star.logging.CsvFormatter"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.FileHandler">
+ <service name="com.sun.star.logging.FileHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.LoggerPool">
+ <service name="com.sun.star.logging.LoggerPool"/>
+ <singleton name="com.sun.star.logging.LoggerPool"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.PlainTextFormatter">
+ <service name="com.sun.star.logging.PlainTextFormatter"/>
+ </implementation>
+</component>
diff --git a/extensions/source/logging/makefile.mk b/extensions/source/logging/makefile.mk
index 4a1fa9813..1436576e8 100644
--- a/extensions/source/logging/makefile.mk
+++ b/extensions/source/logging/makefile.mk
@@ -74,3 +74,11 @@ SHL1VERSIONMAP=$(SOLARENV)/src/component.map
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/log.component
+
+$(MISC)/log.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ log.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt log.component
diff --git a/extensions/source/ole/makefile.mk b/extensions/source/ole/makefile.mk
index ad4ecee72..806cd027e 100644
--- a/extensions/source/ole/makefile.mk
+++ b/extensions/source/ole/makefile.mk
@@ -129,3 +129,10 @@ DEF2EXPORTFILE=$(TARGET).dxp
.INCLUDE : target.mk
+ALLTAR : $(MISC)/oleautobridge.component
+
+$(MISC)/oleautobridge.component .ERRREMOVE : \
+ $(SOLARENV)/bin/createcomponent.xslt oleautobridge.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt oleautobridge.component
diff --git a/extensions/source/ole/oleautobridge.component b/extensions/source/ole/oleautobridge.component
new file mode 100644
index 000000000..6f5309e42
--- /dev/null
+++ b/extensions/source/ole/oleautobridge.component
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.ole.OleClient">
+ <service name="com.sun.star.bridge.OleObjectFactory"/>
+ <service name="com.sun.star.bridge.oleautomation.Factory"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.ole.OleConverter2">
+ <service name="com.sun.star.bridge.OleBridgeSupplier2"/>
+ <service name="com.sun.star.bridge.oleautomation.BridgeSupplier"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.ole.OleConverterVar1">
+ <service name="com.sun.star.bridge.OleBridgeSupplierVar1"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.ole.OleServer">
+ <service name="com.sun.star.bridge.OleApplicationRegistration"/>
+ <service name="com.sun.star.bridge.oleautomation.ApplicationRegistration"/>
+ </implementation>
+</component>
diff --git a/extensions/source/ole/oleautobridge.uno.dxp b/extensions/source/ole/oleautobridge.uno.dxp
index e7947188a..1f26fd019 100644
--- a/extensions/source/ole/oleautobridge.uno.dxp
+++ b/extensions/source/ole/oleautobridge.uno.dxp
@@ -1,4 +1,3 @@
-component_writeInfo @100
component_getFactory @101
component_getImplementationEnvironment @102
component_canUnload @103
diff --git a/extensions/source/ole/servreg.cxx b/extensions/source/ole/servreg.cxx
index a0bd98e33..f43b4f6bf 100644
--- a/extensions/source/ole/servreg.cxx
+++ b/extensions/source/ole/servreg.cxx
@@ -119,47 +119,6 @@ extern "C" void * SAL_CALL component_getFactory(
}
-extern "C" sal_Bool SAL_CALL component_writeInfo( void * /*pServiceManager*/, void * pRegistryKey )
-{
- if (pRegistryKey)
- {
- try
- {
- //deprecated
- Reference<XRegistryKey> xNewKey =
- reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(reinterpret_cast<const sal_Unicode*>(L"/com.sun.star.comp.ole.OleConverter2/UNO/SERVICES"));
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.OleBridgeSupplier2"));
-
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.oleautomation.BridgeSupplier"));
-
- //deprecated
- xNewKey =
- reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(reinterpret_cast<const sal_Unicode*>(L"/com.sun.star.comp.ole.OleConverterVar1/UNO/SERVICES"));
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.OleBridgeSupplierVar1"));
-
- //deprecated
- xNewKey =
- reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(reinterpret_cast<const sal_Unicode*>(L"/com.sun.star.comp.ole.OleClient/UNO/SERVICES"));
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.OleObjectFactory"));
-
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.oleautomation.Factory"));
- //deprecated
- xNewKey =
- reinterpret_cast<XRegistryKey*>( pRegistryKey)->createKey(reinterpret_cast<const sal_Unicode*>(L"/com.sun.star.comp.ole.OleServer/UNO/SERVICES"));
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.OleApplicationRegistration"));
-
- xNewKey->createKey(reinterpret_cast<const sal_Unicode*>(L"com.sun.star.bridge.oleautomation.ApplicationRegistration"));
-
- return sal_True;
- }
- catch (InvalidRegistryException &)
- {
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
- }
- }
- return sal_False;
-}
-
extern "C" void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
{
diff --git a/extensions/source/oooimprovecore/makefile.mk b/extensions/source/oooimprovecore/makefile.mk
index 97e130c3a..f92804dbf 100644
--- a/extensions/source/oooimprovecore/makefile.mk
+++ b/extensions/source/oooimprovecore/makefile.mk
@@ -75,3 +75,11 @@ SHL1VERSIONMAP=$(SOLARENV)/src/component.map
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/oooimprovecore.component
+
+$(MISC)/oooimprovecore.component .ERRREMOVE : \
+ $(SOLARENV)/bin/createcomponent.xslt oooimprovecore.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt oooimprovecore.component
diff --git a/extensions/source/oooimprovecore/oooimprovecore.component b/extensions/source/oooimprovecore/oooimprovecore.component
new file mode 100644
index 000000000..58bdaf37c
--- /dev/null
+++ b/extensions/source/oooimprovecore/oooimprovecore.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.extensions.oooimprovecore.Core">
+ <service name="com.sun.star.oooimprovement.Core"/>
+ </implementation>
+</component>
diff --git a/extensions/source/oooimprovement/invite_job.cxx b/extensions/source/oooimprovement/invite_job.cxx
index 77cef48ce..74204cdb2 100644
--- a/extensions/source/oooimprovement/invite_job.cxx
+++ b/extensions/source/oooimprovement/invite_job.cxx
@@ -121,7 +121,7 @@ namespace oooimprovement
Sequence<OUString> SAL_CALL InviteJob::getSupportedServiceNames_static()
{
Sequence<OUString> aServiceNames(1);
- aServiceNames[0] = OUString::createFromAscii("com.sun.star.task.XAsyncJob");
+ aServiceNames[0] = OUString::createFromAscii("com.sun.star.task.AsyncJob");
return aServiceNames;
}
diff --git a/extensions/source/oooimprovement/makefile.mk b/extensions/source/oooimprovement/makefile.mk
index 6e5d7ab0d..16e3f12f1 100644
--- a/extensions/source/oooimprovement/makefile.mk
+++ b/extensions/source/oooimprovement/makefile.mk
@@ -102,3 +102,11 @@ $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-oooimprovement.xcu : $(XCU_SOURCEDIR)$/Jo
$(SPOOLDIR)$/$(PACKAGEDIR)$/Logging$/Logging-oooimprovement.xcu : $(XCU_SOURCEDIR)$/Logging.xcu
@-$(MKDIRHIER) $(@:d)
@$(COPY) $< $@
+
+ALLTAR : $(MISC)/oooimprovement.component
+
+$(MISC)/oooimprovement.component .ERRREMOVE : \
+ $(SOLARENV)/bin/createcomponent.xslt oooimprovement.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt oooimprovement.component
diff --git a/extensions/source/oooimprovement/onlogrotate_job.cxx b/extensions/source/oooimprovement/onlogrotate_job.cxx
index fa497f62f..42dc001ed 100644
--- a/extensions/source/oooimprovement/onlogrotate_job.cxx
+++ b/extensions/source/oooimprovement/onlogrotate_job.cxx
@@ -223,7 +223,7 @@ namespace oooimprovement
Sequence<OUString> SAL_CALL OnLogRotateJob::getSupportedServiceNames_static()
{
Sequence<OUString> aServiceNames(1);
- aServiceNames[0] = OUString::createFromAscii("com.sun.star.task.XAsyncJob");
+ aServiceNames[0] = OUString::createFromAscii("com.sun.star.task.AsyncJob");
return aServiceNames;
}
diff --git a/extensions/source/oooimprovement/oooimprovement.component b/extensions/source/oooimprovement/oooimprovement.component
new file mode 100644
index 000000000..e133f932c
--- /dev/null
+++ b/extensions/source/oooimprovement/oooimprovement.component
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation
+ name="com.sun.star.comp.extensions.oooimprovement.CoreController">
+ <service name="com.sun.star.oooimprovement.CoreController"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.oooimprovement.InviteJob"/>
+ <implementation
+ name="com.sun.star.comp.extensions.oooimprovement.OnLogRotateJob"/>
+</component>
diff --git a/extensions/source/oooimprovement/oooimprovement_exports.cxx b/extensions/source/oooimprovement/oooimprovement_exports.cxx
index e073088a5..13eb763e1 100644
--- a/extensions/source/oooimprovement/oooimprovement_exports.cxx
+++ b/extensions/source/oooimprovement/oooimprovement_exports.cxx
@@ -65,28 +65,6 @@ extern "C"
void SAL_CALL component_getImplementationEnvironment(const sal_Char** env_type_name, uno_Environment**)
{ *env_type_name = CPPU_CURRENT_LANGUAGE_BINDING_NAME; }
- sal_Bool SAL_CALL component_writeInfo(void*, void* p_reg_key)
- {
- if (!p_reg_key) return sal_False;
- try
- {
- Reference<XRegistryKey> reg_key(reinterpret_cast<XRegistryKey*>(p_reg_key), UNO_QUERY);
- writeInfo(reg_key,
- CoreController::getImplementationName_static(),
- CoreController::getSupportedServiceNames_static()[0]);
- writeInfo(reg_key,
- OnLogRotateJob::getImplementationName_static(),
- OnLogRotateJob::getSupportedServiceNames_static()[0]);
- writeInfo(reg_key,
- InviteJob::getImplementationName_static(),
- InviteJob::getSupportedServiceNames_static()[0]);
- return sal_True;
- }
- catch(const InvalidRegistryException&)
- { OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); }
- return sal_False;
- }
-
void* SAL_CALL component_getFactory(const sal_Char* pImplName, void* pServiceManager, void*)
{
if ( !pServiceManager || !pImplName ) return 0;
diff --git a/extensions/source/plugin/base/service.cxx b/extensions/source/plugin/base/service.cxx
index 3a4b8b78e..eabefd4c4 100644
--- a/extensions/source/plugin/base/service.cxx
+++ b/extensions/source/plugin/base/service.cxx
@@ -54,33 +54,6 @@ extern "C" {
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
- sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pXUnoKey )
- {
- if( pXUnoKey )
- {
- try
- {
- Reference< ::com::sun::star::registry::XRegistryKey > xKey( reinterpret_cast< ::com::sun::star::registry::XRegistryKey* >( pXUnoKey ) );
-
- ::rtl::OUString aImplName = ::rtl::OUString::createFromAscii( "/" );
- aImplName += XPluginManager_Impl::getImplementationName_Static();
- aImplName += ::rtl::OUString::createFromAscii( "/UNO/SERVICES/com.sun.star.plugin.PluginManager" );
- xKey->createKey( aImplName );
-
- aImplName = ::rtl::OUString::createFromAscii( "/" );
- aImplName += PluginModel::getImplementationName_Static();
- aImplName += ::rtl::OUString::createFromAscii( "/UNO/SERVICES/com.sun.star.plugin.PluginModel" );
- xKey->createKey( aImplName );
-
- return sal_True;
- }
- catch( ::com::sun::star::registry::InvalidRegistryException& )
- {
- }
- }
- return sal_False;
- }
-
void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pXUnoSMgr,
diff --git a/extensions/source/plugin/util/makefile.mk b/extensions/source/plugin/util/makefile.mk
index 7a8c46c01..765941689 100644
--- a/extensions/source/plugin/util/makefile.mk
+++ b/extensions/source/plugin/util/makefile.mk
@@ -107,3 +107,11 @@ SHL1STDLIBS+=$(SHL1OWNLIBS)
+
+ALLTAR : $(MISC)/pl.component
+
+$(MISC)/pl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ pl.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt pl.component
diff --git a/extensions/source/plugin/util/pl.component b/extensions/source/plugin/util/pl.component
new file mode 100644
index 000000000..4a9d98f7d
--- /dev/null
+++ b/extensions/source/plugin/util/pl.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.extensions.PluginManager">
+ <service name="com.sun.star.plugin.PluginManager"/>
+ </implementation>
+ <implementation name="com.sun.star.extensions.PluginModel">
+ <service name="com.sun.star.plugin.PluginModel"/>
+ </implementation>
+</component>
diff --git a/extensions/source/preload/makefile.mk b/extensions/source/preload/makefile.mk
index fb11a2bfd..8bd622661 100644
--- a/extensions/source/preload/makefile.mk
+++ b/extensions/source/preload/makefile.mk
@@ -83,3 +83,11 @@ DEF1NAME= $(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/preload.component
+
+$(MISC)/preload.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ preload.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt preload.component
diff --git a/extensions/source/preload/preload.component b/extensions/source/preload/preload.component
new file mode 100644
index 000000000..56a8a0d7a
--- /dev/null
+++ b/extensions/source/preload/preload.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="org.openoffice.comp.preload.OEMPreloadWizard">
+ <service name="org.openoffice.comp.preload.OEMPreloadWizard"/>
+ </implementation>
+</component>
diff --git a/extensions/source/preload/preload.src b/extensions/source/preload/preload.src
index 301e489cd..17ccbf8b4 100644
--- a/extensions/source/preload/preload.src
+++ b/extensions/source/preload/preload.src
@@ -31,6 +31,7 @@
ModalDialog RID_DLG_OEMWIZARD
{
+ HelpID = "extensions:ModalDialog:RID_DLG_OEMWIZARD";
Text = "%PRODUCTNAME %PRODUCTVERSION";
OutputSize = TRUE ;
@@ -40,11 +41,13 @@ ModalDialog RID_DLG_OEMWIZARD
Hide = TRUE;
PushButton PB_PREV
{
+ HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_PREV";
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "<< Back" ;
};
PushButton PB_NEXT
{
+ HelpID = "extensions:PushButton:RID_DLG_OEMWIZARD:PB_NEXT";
Size = MAP_APPFONT ( 50 , 14 ) ;
Text [ en-US ] = "Next >>" ;
};
@@ -72,6 +75,7 @@ ModalDialog RID_DLG_OEMWIZARD
};
TabPage RID_TP_WELCOME
{
+ HelpID = "extensions:TabPage:RID_TP_WELCOME";
// HelpId = ;
OutputSize = TRUE ;
SVLook = TRUE ;
@@ -130,6 +134,7 @@ TabPage RID_TP_WELCOME
TabPage RID_TP_LICENSE
{
+ HelpID = "extensions:TabPage:RID_TP_LICENSE";
OutputSize = TRUE ;
SVLook = TRUE ;
Hide = TRUE ;
@@ -138,6 +143,7 @@ TabPage RID_TP_LICENSE
MultiLineEdit ML_LICENSE
{
+ HelpID = "extensions:MultiLineEdit:RID_TP_LICENSE:ML_LICENSE";
PosSize = MAP_APPFONT ( LICENSE_COL_1 , LICENSE_ROW_1 , LICENSE_WIDTH , LICENCE_HEIGHT ) ;
Border = TRUE ;
VScroll = TRUE ;
@@ -185,6 +191,7 @@ TabPage RID_TP_LICENSE
PushButton PB_PAGEDOWN
{
+ HelpID = "extensions:PushButton:RID_TP_LICENSE:PB_PAGEDOWN";
TabStop = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_4 , LICENSE_ROW_3 ) ;
Size = MAP_APPFONT ( PD_WIDTH , PB_HEIGHT ) ;
@@ -209,6 +216,7 @@ TabPage RID_TP_LICENSE
CheckBox CB_ACCEPT
{
+ HelpID = "extensions:CheckBox:RID_TP_LICENSE:CB_ACCEPT";
TabStop = TRUE ;
Pos = MAP_APPFONT ( LICENSE_COL_3, LICENSE_ROW_5 ) ;
Size = MAP_APPFONT ( COL3_WIDTH, FT_HEIGHT ) ;
diff --git a/extensions/source/preload/services.cxx b/extensions/source/preload/services.cxx
index b5ef9ceeb..d35c3d1ed 100644
--- a/extensions/source/preload/services.cxx
+++ b/extensions/source/preload/services.cxx
@@ -66,27 +66,6 @@ component_getImplementationEnvironment(
}
//---------------------------------------------------------------------------------------
-extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void* pServiceManager,
- void* pRegistryKey
- )
-{
- if (pRegistryKey)
- try
- {
- return ::preload::OModule::writeComponentInfos(
- static_cast<XMultiServiceFactory*>(pServiceManager),
- static_cast<XRegistryKey*>(pRegistryKey));
- }
- catch (InvalidRegistryException& )
- {
- OSL_ASSERT("preload::component_writeInfo: could not create a registry key (InvalidRegistryException) !");
- }
-
- return sal_False;
-}
-
-//---------------------------------------------------------------------------------------
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx
index bbff22638..07516e1bd 100644
--- a/extensions/source/propctrlr/browserline.cxx
+++ b/extensions/source/propctrlr/browserline.cxx
@@ -105,20 +105,20 @@ namespace pcr
}
//------------------------------------------------------------------
- void OBrowserLine::SetComponentHelpIds( const SmartId& _rHelpId, sal_uInt32 _bPrimaryButtonId, sal_uInt32 _nSecondaryButtonId )
+ void OBrowserLine::SetComponentHelpIds( const rtl::OString& _rHelpId, const rtl::OString& _sPrimaryButtonId, const rtl::OString& _sSecondaryButtonId )
{
if ( m_pControlWindow )
- m_pControlWindow->SetSmartHelpId( _rHelpId );
+ m_pControlWindow->SetHelpId( _rHelpId );
if ( m_pBrowseButton )
{
- m_pBrowseButton->SetSmartHelpId( _rHelpId );
- m_pBrowseButton->SetUniqueId( _bPrimaryButtonId );
+ m_pBrowseButton->SetHelpId( _rHelpId );
+ m_pBrowseButton->SetUniqueId( _sPrimaryButtonId );
if ( m_pAdditionalBrowseButton )
{
- m_pAdditionalBrowseButton->SetSmartHelpId( _rHelpId );
- m_pAdditionalBrowseButton->SetUniqueId( _nSecondaryButtonId );
+ m_pAdditionalBrowseButton->SetHelpId( _rHelpId );
+ m_pAdditionalBrowseButton->SetUniqueId( _sSecondaryButtonId );
}
}
}
diff --git a/extensions/source/propctrlr/browserline.hxx b/extensions/source/propctrlr/browserline.hxx
index bd2aa9a5e..5dd27349c 100644
--- a/extensions/source/propctrlr/browserline.hxx
+++ b/extensions/source/propctrlr/browserline.hxx
@@ -92,7 +92,7 @@ namespace pcr
const ::rtl::OUString&
GetEntryName() const { return m_sEntryName; }
- void SetComponentHelpIds( const SmartId& _rHelpId, sal_uInt32 _bPrimaryButtonId, sal_uInt32 _nSecondaryButtonId );
+ void SetComponentHelpIds( const rtl::OString& _rHelpId, const rtl::OString& _sPrimaryButtonId, const rtl::OString& _sSecondaryButtonId );
void SetTitle(const String& rString );
void FullFillTitleString();
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index bee29a21e..c64375903 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -1196,8 +1196,8 @@ namespace pcr
m_aOutOfDateLines.insert( nPos );
rLine.pLine->SetComponentHelpIds(
HelpIdUrl::getHelpId( _rPropertyData.HelpURL ),
- _rPropertyData.PrimaryButtonId,
- _rPropertyData.SecondaryButtonId
+ rtl::OUStringToOString( _rPropertyData.PrimaryButtonId, RTL_TEXTENCODING_UTF8 ),
+ rtl::OUStringToOString( _rPropertyData.SecondaryButtonId, RTL_TEXTENCODING_UTF8 )
);
if ( _rPropertyData.bReadOnly )
diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx
index 2fab07761..1971138df 100644
--- a/extensions/source/propctrlr/defaultforminspection.cxx
+++ b/extensions/source/propctrlr/defaultforminspection.cxx
@@ -187,7 +187,7 @@ namespace pcr
{
const sal_Char* programmaticName;
USHORT uiNameResId;
- sal_uInt32 helpId;
+ const sal_Char* helpId;
} aCategories[] = {
{ "General", RID_STR_PROPPAGE_DEFAULT, HID_FM_PROPDLG_TAB_GENERAL },
{ "Data", RID_STR_PROPPAGE_DATA, HID_FM_PROPDLG_TAB_DATA },
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 588480a7b..f88aa3928 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -454,12 +454,12 @@ namespace pcr
}
break;
- case PROPERTY_ID_BIND_EXPRESSION: aDescriptor.PrimaryButtonId = UID_PROP_DLG_BIND_EXPRESSION; break;
- case PROPERTY_ID_XSD_REQUIRED: aDescriptor.PrimaryButtonId = UID_PROP_DLG_XSD_REQUIRED; break;
- case PROPERTY_ID_XSD_RELEVANT: aDescriptor.PrimaryButtonId = UID_PROP_DLG_XSD_RELEVANT; break;
- case PROPERTY_ID_XSD_READONLY: aDescriptor.PrimaryButtonId = UID_PROP_DLG_XSD_READONLY; break;
- case PROPERTY_ID_XSD_CONSTRAINT: aDescriptor.PrimaryButtonId = UID_PROP_DLG_XSD_CONSTRAINT; break;
- case PROPERTY_ID_XSD_CALCULATION: aDescriptor.PrimaryButtonId = UID_PROP_DLG_XSD_CALCULATION; break;
+ case PROPERTY_ID_BIND_EXPRESSION: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_BIND_EXPRESSION); break;
+ case PROPERTY_ID_XSD_REQUIRED: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_XSD_REQUIRED); break;
+ case PROPERTY_ID_XSD_RELEVANT: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_XSD_RELEVANT); break;
+ case PROPERTY_ID_XSD_READONLY: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_XSD_READONLY); break;
+ case PROPERTY_ID_XSD_CONSTRAINT: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_XSD_CONSTRAINT); break;
+ case PROPERTY_ID_XSD_CALCULATION: aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_XSD_CALCULATION); break;
default:
DBG_ERROR( "EFormsPropertyHandler::describePropertyLine: cannot handle this property!" );
diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx
index 253315f4e..5235ba1d2 100644
--- a/extensions/source/propctrlr/eventhandler.cxx
+++ b/extensions/source/propctrlr/eventhandler.cxx
@@ -151,11 +151,11 @@ namespace pcr
//= EventDescription
//====================================================================
EventDescription::EventDescription( EventId _nId, const sal_Char* _pListenerNamespaceAscii, const sal_Char* _pListenerClassAsciiName,
- const sal_Char* _pListenerMethodAsciiName, sal_uInt16 _nDisplayNameResId, sal_Int32 _nHelpId, sal_Int32 _nUniqueBrowseId )
+ const sal_Char* _pListenerMethodAsciiName, sal_uInt16 _nDisplayNameResId, const rtl::OString& _sHelpId, const rtl::OString& _sUniqueBrowseId )
:sDisplayName( String( PcrRes( _nDisplayNameResId ) ) )
,sListenerMethodName( ::rtl::OUString::createFromAscii( _pListenerMethodAsciiName ) )
- ,nHelpId( _nHelpId )
- ,nUniqueBrowseId( _nUniqueBrowseId )
+ ,sHelpId( _sHelpId )
+ ,sUniqueBrowseId( _sUniqueBrowseId )
,nId( _nId )
{
::rtl::OUStringBuffer aQualifiedListenerClass;
@@ -879,8 +879,8 @@ namespace pcr
const EventDescription& rEvent = impl_getEventForName_throw( _rPropertyName );
aDescriptor.DisplayName = rEvent.sDisplayName;
- aDescriptor.HelpURL = HelpIdUrl::getHelpURL( rEvent.nHelpId );
- aDescriptor.PrimaryButtonId = rEvent.nUniqueBrowseId;
+ aDescriptor.HelpURL = HelpIdUrl::getHelpURL( rEvent.sHelpId );
+ aDescriptor.PrimaryButtonId = rtl::OStringToOUString(rEvent.sUniqueBrowseId, RTL_TEXTENCODING_UTF8);
aDescriptor.HasPrimaryButton = sal_True;
aDescriptor.Category = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Events" ) );
return aDescriptor;
@@ -1265,12 +1265,12 @@ namespace pcr
switch ( m_nGridColumnType )
{
case FormComponentType::COMBOBOX:
- if ( UID_BRWEVT_ACTIONPERFORMED == _rEvent.nUniqueBrowseId )
+ if ( UID_BRWEVT_ACTIONPERFORMED == _rEvent.sUniqueBrowseId )
return false;
break;
case FormComponentType::LISTBOX:
- if ( ( UID_BRWEVT_CHANGED == _rEvent.nUniqueBrowseId )
- || ( UID_BRWEVT_ACTIONPERFORMED == _rEvent.nUniqueBrowseId )
+ if ( ( UID_BRWEVT_CHANGED == _rEvent.sUniqueBrowseId )
+ || ( UID_BRWEVT_ACTIONPERFORMED == _rEvent.sUniqueBrowseId )
)
return false;
break;
diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx
index 437ee464b..f1561d242 100644
--- a/extensions/source/propctrlr/eventhandler.hxx
+++ b/extensions/source/propctrlr/eventhandler.hxx
@@ -57,14 +57,12 @@ namespace pcr
::rtl::OUString sDisplayName;
::rtl::OUString sListenerClassName;
::rtl::OUString sListenerMethodName;
- sal_Int32 nHelpId;
- sal_Int32 nUniqueBrowseId;
+ ::rtl::OString sHelpId;
+ ::rtl::OString sUniqueBrowseId;
EventId nId;
- EventDescription()
- :nHelpId( 0 )
- ,nUniqueBrowseId( 0 )
- ,nId( 0 )
+ EventDescription()
+ :nId( 0 )
{
}
@@ -74,8 +72,8 @@ namespace pcr
const sal_Char* _pListenerClassAsciiName,
const sal_Char* _pListenerMethodAsciiName,
sal_uInt16 _nDisplayNameResId,
- sal_Int32 _nHelpId,
- sal_Int32 _nUniqueBrowseId );
+ const rtl::OString& _sHelpId,
+ const rtl::OString& _sUniqueBrowseId );
};
typedef ::std::hash_map< ::rtl::OUString, EventDescription, ::rtl::OUStringHash > EventMap;
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 97d72dad1..4d6812496 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -1023,39 +1023,39 @@ namespace pcr
{
case PROPERTY_ID_DEFAULT_SELECT_SEQ:
case PROPERTY_ID_SELECTEDITEMS:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_SELECTION;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SELECTION);
break;
case PROPERTY_ID_FILTER:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_FILTER;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FILTER);
break;
case PROPERTY_ID_SORT:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_ORDER;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_ORDER);
break;
case PROPERTY_ID_MASTERFIELDS:
case PROPERTY_ID_DETAILFIELDS:
nControlType = PropertyControlType::StringListField;
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_FORMLINKFIELDS;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FORMLINKFIELDS);
break;
case PROPERTY_ID_COMMAND:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_SQLCOMMAND;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SQLCOMMAND);
break;
case PROPERTY_ID_TABINDEX:
{
Reference< XControlContainer > xControlContext( impl_getContextControlContainer_nothrow() );
if ( xControlContext.is() )
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_TABINDEX;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_TABINDEX);
nControlType = PropertyControlType::NumericField;
};
break;
case PROPERTY_ID_FONT:
bReadOnly = sal_True;
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_FONT_TYPE;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FONT_TYPE);
break;
case PROPERTY_ID_TARGET_URL:
@@ -1063,8 +1063,8 @@ namespace pcr
{
aDescriptor.Control = new OFileUrlControl( impl_getDefaultDialogParent_nothrow(), WB_TABSTOP | WB_BORDER );
- aDescriptor.PrimaryButtonId = ( PROPERTY_ID_TARGET_URL == nPropId )
- ? UID_PROP_DLG_ATTR_TARGET_URL : UID_PROP_DLG_IMAGE_URL;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(( PROPERTY_ID_TARGET_URL == nPropId )
+ ? UID_PROP_DLG_ATTR_TARGET_URL : UID_PROP_DLG_IMAGE_URL);
}
break;
@@ -1081,13 +1081,13 @@ namespace pcr
switch( nPropId )
{
case PROPERTY_ID_BACKGROUNDCOLOR:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_BACKGROUNDCOLOR; break;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_BACKGROUNDCOLOR); break;
case PROPERTY_ID_FILLCOLOR:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_FILLCOLOR; break;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FILLCOLOR); break;
case PROPERTY_ID_SYMBOLCOLOR:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_SYMBOLCOLOR; break;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SYMBOLCOLOR); break;
case PROPERTY_ID_BORDERCOLOR:
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_BORDERCOLOR; break;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_BORDERCOLOR); break;
}
break;
@@ -1111,7 +1111,7 @@ namespace pcr
case PROPERTY_ID_CONTROLLABEL:
bReadOnly = sal_True;
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_CONTROLLABEL;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_CONTROLLABEL);
break;
case PROPERTY_ID_FORMATKEY:
@@ -1141,7 +1141,7 @@ namespace pcr
aDescriptor.Control = pControl;
pControl->SetFormatSupplier( pSupplier );
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_NUMBER_FORMAT;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_NUMBER_FORMAT);
}
else
{
@@ -1366,7 +1366,7 @@ namespace pcr
// DataSource
case PROPERTY_ID_DATASOURCE:
{
- aDescriptor.PrimaryButtonId = UID_PROP_DLG_ATTR_DATASOURCE;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_ATTR_DATASOURCE);
::std::vector< ::rtl::OUString > aListEntries;
@@ -1416,7 +1416,7 @@ namespace pcr
}
}
- if ( aDescriptor.PrimaryButtonId )
+ if ( aDescriptor.PrimaryButtonId.getLength() )
aDescriptor.HasPrimaryButton = sal_True;
if ( aDescriptor.SecondaryButtonId )
aDescriptor.HasSecondaryButton = sal_True;
@@ -2471,7 +2471,7 @@ namespace pcr
_out_rProperty.DisplayName = m_pInfoService->getPropertyTranslation( PROPERTY_ID_COMMAND );
_out_rProperty.HelpURL = HelpIdUrl::getHelpURL( m_pInfoService->getPropertyHelpId( PROPERTY_ID_COMMAND ) );
- _out_rProperty.PrimaryButtonId = UID_PROP_DLG_SQLCOMMAND;
+ _out_rProperty.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SQLCOMMAND);
////////////////////////////////////////////////////////////
sal_Int32 nCommandType = CommandType::COMMAND;
diff --git a/extensions/source/propctrlr/formlinkdialog.src b/extensions/source/propctrlr/formlinkdialog.src
index ca936a58d..db0ef08d6 100644
--- a/extensions/source/propctrlr/formlinkdialog.src
+++ b/extensions/source/propctrlr/formlinkdialog.src
@@ -35,6 +35,7 @@
ModalDialog RID_DLG_FORMLINKS
{
+ HelpID = "extensions:ModalDialog:RID_DLG_FORMLINKS";
OutputSize = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
@@ -133,6 +134,7 @@ ModalDialog RID_DLG_FORMLINKS
PushButton PB_SUGGEST
{
+ HelpID = "extensions:PushButton:RID_DLG_FORMLINKS:PB_SUGGEST";
Pos = MAP_APPFONT( 199, 90 );
Size = MAP_APPFONT( 50, 14 );
TabStop = TRUE;
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index f6ab37e3f..31a1cda41 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -57,7 +57,7 @@ namespace pcr
{
String sName;
String sTranslation;
- sal_uInt32 nHelpId;
+ rtl::OString sHelpId;
sal_Int32 nId;
sal_uInt16 nPos;
sal_uInt32 nUIFlags;
@@ -67,16 +67,16 @@ namespace pcr
sal_Int32 _nId,
const String& aTranslation,
sal_uInt16 nPosId,
- sal_uInt32 nHelpId,
+ const rtl::OString&,
sal_uInt32 _nUIFlags);
};
//------------------------------------------------------------------------
OPropertyInfoImpl::OPropertyInfoImpl(const ::rtl::OUString& _rName, sal_Int32 _nId,
- const String& aString, sal_uInt16 nP, sal_uInt32 nHid, sal_uInt32 _nUIFlags)
+ const String& aString, sal_uInt16 nP, const rtl::OString& sHid, sal_uInt32 _nUIFlags)
:sName(_rName)
,sTranslation(aString)
- ,nHelpId(nHid)
+ ,sHelpId(sHid)
,nId(_nId)
,nPos(nP)
,nUIFlags(_nUIFlags)
@@ -399,10 +399,10 @@ namespace pcr
}
//------------------------------------------------------------------------
- sal_Int32 OPropertyInfoService::getPropertyHelpId(sal_Int32 _nId) const
+ rtl::OString OPropertyInfoService::getPropertyHelpId(sal_Int32 _nId) const
{
const OPropertyInfoImpl* pInfo = getPropertyInfo(_nId);
- return (pInfo) ? pInfo->nHelpId : 0;
+ return (pInfo) ? pInfo->sHelpId : rtl::OString();
}
//------------------------------------------------------------------------
@@ -560,7 +560,7 @@ namespace pcr
// intialisierung
if(!s_pPropertyInfos)
getPropertyInfo();
- OPropertyInfoImpl aSearch(_rName, 0L, String(), 0, 0, 0);
+ OPropertyInfoImpl aSearch(_rName, 0L, String(), 0, "", 0);
const OPropertyInfoImpl* pInfo = ::std::lower_bound(
s_pPropertyInfos, s_pPropertyInfos + s_nCount, aSearch, PropertyInfoLessByName() );
diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx
index e5413f297..a7ff622d1 100644
--- a/extensions/source/propctrlr/formmetadata.hxx
+++ b/extensions/source/propctrlr/formmetadata.hxx
@@ -59,7 +59,7 @@ namespace pcr
// IPropertyInfoService
virtual sal_Int32 getPropertyId(const String& _rName) const;
virtual String getPropertyTranslation(sal_Int32 _nId) const;
- virtual sal_Int32 getPropertyHelpId(sal_Int32 _nId) const;
+ virtual rtl::OString getPropertyHelpId(sal_Int32 _nId) const;
virtual sal_Int16 getPropertyPos(sal_Int32 _nId) const;
virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const;
virtual ::std::vector< ::rtl::OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const;
diff --git a/extensions/source/propctrlr/listselectiondlg.src b/extensions/source/propctrlr/listselectiondlg.src
index 7b148e8a9..c2cae7ab0 100644
--- a/extensions/source/propctrlr/listselectiondlg.src
+++ b/extensions/source/propctrlr/listselectiondlg.src
@@ -35,6 +35,7 @@
ModalDialog RID_DLG_SELECTION
{
+ HelpID = "extensions:ModalDialog:RID_DLG_SELECTION";
OutputSize = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
@@ -49,6 +50,7 @@ ModalDialog RID_DLG_SELECTION
ListBox LB_ENTRIES
{
+ HelpID = "extensions:ListBox:RID_DLG_SELECTION:LB_ENTRIES";
Pos = MAP_APPFONT( 6, 17 );
Size = MAP_APPFONT( 85, 97 );
diff --git a/extensions/source/propctrlr/makefile.mk b/extensions/source/propctrlr/makefile.mk
index c69f47bce..ebb629ae3 100644
--- a/extensions/source/propctrlr/makefile.mk
+++ b/extensions/source/propctrlr/makefile.mk
@@ -144,3 +144,11 @@ DEF1NAME= $(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/pcr.component
+
+$(MISC)/pcr.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ pcr.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt pcr.component
diff --git a/extensions/source/propctrlr/newdatatype.src b/extensions/source/propctrlr/newdatatype.src
index 6cf39a322..90be27153 100644
--- a/extensions/source/propctrlr/newdatatype.src
+++ b/extensions/source/propctrlr/newdatatype.src
@@ -39,6 +39,7 @@
ModalDialog RID_DLG_NEW_DATA_TYPE
{
+ HelpID = "extensions:ModalDialog:RID_DLG_NEW_DATA_TYPE";
OutputSize = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
@@ -57,6 +58,7 @@ ModalDialog RID_DLG_NEW_DATA_TYPE
Edit ED_NAME
{
+ HelpID = "extensions:Edit:RID_DLG_NEW_DATA_TYPE:ED_NAME";
Pos = MAP_APPFONT( 6, 17 );
Size = MAP_APPFONT( DIALOG_WIDTH - 2 * 6, 12 );
Border = TRUE;
diff --git a/extensions/source/propctrlr/pcr.component b/extensions/source/propctrlr/pcr.component
new file mode 100644
index 000000000..2b606cc01
--- /dev/null
+++ b/extensions/source/propctrlr/pcr.component
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="StringRepresentation">
+ <service name="com.sun.star.inspection.StringRepresentation"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.ButtonNavigationHandler">
+ <service name="com.sun.star.form.inspection.ButtonNavigationHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.CellBindingPropertyHandler">
+ <service name="com.sun.star.form.inspection.CellBindingPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.EFormsPropertyHandler">
+ <service name="com.sun.star.form.inspection.XMLFormsPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.EditPropertyHandler">
+ <service name="com.sun.star.form.inspection.EditPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.EventHandler">
+ <service name="com.sun.star.form.inspection.EventHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.FormComponentPropertyHandler">
+ <service name="com.sun.star.form.inspection.FormComponentPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.FormGeometryHandler">
+ <service name="com.sun.star.form.inspection.FormGeometryHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.GenericPropertyHandler">
+ <service name="com.sun.star.inspection.GenericPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.SubmissionPropertyHandler">
+ <service name="com.sun.star.form.inspection.SubmissionPropertyHandler"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.extensions.XSDValidationPropertyHandler">
+ <service name="com.sun.star.form.inspection.XSDValidationPropertyHandler"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.DefaultFormComponentInspectorModel">
+ <service name="com.sun.star.form.inspection.DefaultFormComponentInspectorModel"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.DefaultHelpProvider">
+ <service name="com.sun.star.inspection.DefaultHelpProvider"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.DialogController">
+ <service name="com.sun.star.awt.PropertyBrowserController"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.FormController">
+ <service name="com.sun.star.form.PropertyBrowserController"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.ObjectInspector">
+ <service name="com.sun.star.inspection.ObjectInspector"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.extensions.ObjectInspectorModel">
+ <service name="com.sun.star.inspection.ObjectInspectorModel"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.form.ui.MasterDetailLinkDialog">
+ <service name="com.sun.star.form.MasterDetailLinkDialog"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.form.ui.OControlFontDialog">
+ <service name="com.sun.star.form.ControlFontDialog"/>
+ </implementation>
+ <implementation name="org.openoffice.comp.form.ui.OTabOrderDialog">
+ <service name="com.sun.star.form.ui.TabOrderDialog"/>
+ </implementation>
+</component>
diff --git a/extensions/source/propctrlr/pcrcommon.cxx b/extensions/source/propctrlr/pcrcommon.cxx
index 8949e9b40..5d1ac809c 100644
--- a/extensions/source/propctrlr/pcrcommon.cxx
+++ b/extensions/source/propctrlr/pcrcommon.cxx
@@ -39,6 +39,7 @@
#include <com/sun/star/util/MeasureUnit.hpp>
/** === end UNO includes === **/
#include <rtl/ustrbuf.hxx>
+#include <tools/urlobj.hxx>
//............................................................................
namespace pcr
@@ -51,20 +52,24 @@ namespace pcr
//= HelpIdUrl
//========================================================================
//------------------------------------------------------------------------
- SmartId HelpIdUrl::getHelpId( const ::rtl::OUString& _rHelpURL )
+ rtl::OString HelpIdUrl::getHelpId( const ::rtl::OUString& _rHelpURL )
{
- SmartId aSmartHelpId( _rHelpURL );
- if ( 0 == _rHelpURL.compareToAscii( RTL_CONSTASCII_STRINGPARAM( "HID:" ) ) )
- aSmartHelpId = SmartId( _rHelpURL.copy( sizeof( "HID:" ) - 1 ).toInt32() );
- return aSmartHelpId;
+ INetURLObject aHID( _rHelpURL );
+ if ( aHID.GetProtocol() == INET_PROT_HID )
+ return rtl::OUStringToOString( aHID.GetURLPath(), RTL_TEXTENCODING_UTF8 );
+ else
+ return rtl::OUStringToOString( _rHelpURL, RTL_TEXTENCODING_UTF8 );
}
//------------------------------------------------------------------------
- ::rtl::OUString HelpIdUrl::getHelpURL( sal_uInt32 _nHelpId )
+ ::rtl::OUString HelpIdUrl::getHelpURL( const rtl::OString& sHelpId )
{
::rtl::OUStringBuffer aBuffer;
- aBuffer.appendAscii( "HID:" );
- aBuffer.append( (sal_Int32)_nHelpId );
+ ::rtl::OUString aTmp( sHelpId, sHelpId.getLength(), RTL_TEXTENCODING_UTF8 );
+ INetURLObject aHID( aTmp );
+ if ( aHID.GetProtocol() == INET_PROT_NOT_VALID )
+ aBuffer.appendAscii( INET_HID_SCHEME );
+ aBuffer.append( aTmp.getStr() );
return aBuffer.makeStringAndClear();
}
//............................................................................
diff --git a/extensions/source/propctrlr/pcrcommon.hxx b/extensions/source/propctrlr/pcrcommon.hxx
index d8699e6f4..790bf0e02 100644
--- a/extensions/source/propctrlr/pcrcommon.hxx
+++ b/extensions/source/propctrlr/pcrcommon.hxx
@@ -37,7 +37,6 @@
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
/** === end UNO includes === **/
-#include <vcl/smartid.hxx>
#include <tools/string.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <comphelper/listenernotification.hxx>
@@ -78,8 +77,8 @@ namespace pcr
class HelpIdUrl
{
public:
- static SmartId getHelpId( const ::rtl::OUString& _rHelpURL );
- static ::rtl::OUString getHelpURL( sal_uInt32 _nHelpId );
+ static rtl::OString getHelpId( const ::rtl::OUString& _rHelpURL );
+ static ::rtl::OUString getHelpURL( const rtl::OString& );
};
//====================================================================
diff --git a/extensions/source/propctrlr/pcrservices.cxx b/extensions/source/propctrlr/pcrservices.cxx
index 51d6cc9b8..6a34e9567 100644
--- a/extensions/source/propctrlr/pcrservices.cxx
+++ b/extensions/source/propctrlr/pcrservices.cxx
@@ -104,27 +104,6 @@ component_getImplementationEnvironment(
}
//---------------------------------------------------------------------------------------
-extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void* pServiceManager,
- void* pRegistryKey
- )
-{
- if (pRegistryKey)
- try
- {
- return ::pcr::PcrModule::getInstance().writeComponentInfos(
- static_cast<XMultiServiceFactory*>(pServiceManager),
- static_cast<XRegistryKey*>(pRegistryKey));
- }
- catch (InvalidRegistryException& )
- {
- OSL_ASSERT("pcr::component_writeInfo: could not create a registry key (InvalidRegistryException) !");
- }
-
- return sal_False;
-}
-
-//---------------------------------------------------------------------------------------
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
const sal_Char* pImplementationName,
void* pServiceManager,
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 26f0da8df..4b12280f1 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -1273,7 +1273,7 @@ namespace pcr
// this category does not yet exist. This is allowed, as an inspector model might be lazy, and not provide
// any category information of its own. In this case, we have a fallback ...
m_aPageIds[ aDescriptor.Category ] =
- getPropertyBox().AppendPage( aDescriptor.Category, SmartId() );
+ getPropertyBox().AppendPage( aDescriptor.Category, rtl::OString() );
nTargetPageId = impl_getPageIdForCategory_nothrow( aDescriptor.Category );
}
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index 6a47ab17a..6b815fbaa 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -220,7 +220,7 @@ namespace pcr
}
//------------------------------------------------------------------
- sal_uInt16 OPropertyEditor::AppendPage( const String & _rText, const SmartId& _rHelpId )
+ sal_uInt16 OPropertyEditor::AppendPage( const String & _rText, const rtl::OString& _rHelpId )
{
// obtain a new id
sal_uInt16 nId = m_nNextId++;
@@ -236,7 +236,7 @@ namespace pcr
pPage->getListBox().SetObserver(m_pObserver);
pPage->getListBox().EnableHelpSection( m_bHasHelpSection );
pPage->getListBox().SetHelpLineLimites( m_nMinHelpLines, m_nMaxHelpLines );
- pPage->SetSmartHelpId( _rHelpId );
+ pPage->SetHelpId( _rHelpId );
// immediately activate the page
m_aTabControl.SetTabPage(nId, pPage);
@@ -246,10 +246,10 @@ namespace pcr
}
//------------------------------------------------------------------
- void OPropertyEditor::SetHelpId( sal_uInt32 nHelpId )
+ void OPropertyEditor::SetHelpId( const rtl::OString& rHelpId )
{
- Control::SetHelpId(0);
- m_aTabControl.SetHelpId(nHelpId);
+ Control::SetHelpId("");
+ m_aTabControl.SetHelpId(rHelpId);
}
//------------------------------------------------------------------
diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx
index 5898b7053..a9a999be0 100644
--- a/extensions/source/propctrlr/propertyeditor.hxx
+++ b/extensions/source/propctrlr/propertyeditor.hxx
@@ -97,8 +97,8 @@ namespace pcr
void SetHelpText( const ::rtl::OUString& _rHelpText );
void SetHelpLineLimites( sal_Int32 _nMinLines, sal_Int32 _nMaxLines );
- void SetHelpId( sal_uInt32 nHelpId );
- sal_uInt16 AppendPage( const String& r, const SmartId& _rHelpId );
+ void SetHelpId( const rtl::OString& sHelpId );
+ sal_uInt16 AppendPage( const String& r, const rtl::OString& _rHelpId );
void SetPage( sal_uInt16 );
void RemovePage(sal_uInt16 nID);
sal_uInt16 GetCurPage();
diff --git a/extensions/source/propctrlr/propertyinfo.hxx b/extensions/source/propctrlr/propertyinfo.hxx
index 7a2737a35..c2a6f8bbc 100644
--- a/extensions/source/propctrlr/propertyinfo.hxx
+++ b/extensions/source/propctrlr/propertyinfo.hxx
@@ -31,6 +31,7 @@
#include <sal/types.h>
#include <tools/string.hxx>
#include <rtl/ustring.hxx>
+#include <rtl/string.hxx>
#include <vector>
//............................................................................
@@ -46,7 +47,7 @@ namespace pcr
public:
virtual sal_Int32 getPropertyId(const String& _rName) const = 0;
virtual String getPropertyTranslation(sal_Int32 _nId) const = 0;
- virtual sal_Int32 getPropertyHelpId(sal_Int32 _nId) const = 0;
+ virtual rtl::OString getPropertyHelpId(sal_Int32 _nId) const = 0;
virtual sal_Int16 getPropertyPos(sal_Int32 _nId) const = 0;
virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const = 0;
virtual ::std::vector< ::rtl::OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const = 0;
diff --git a/extensions/source/propctrlr/selectlabeldialog.src b/extensions/source/propctrlr/selectlabeldialog.src
index 93cf7d24e..ab961c456 100644
--- a/extensions/source/propctrlr/selectlabeldialog.src
+++ b/extensions/source/propctrlr/selectlabeldialog.src
@@ -31,6 +31,7 @@
ModalDialog RID_DLG_SELECTLABELCONTROL
{
+ HelpID = "extensions:ModalDialog:RID_DLG_SELECTLABELCONTROL";
OutputSize = TRUE;
Size = MAP_APPFONT( 200, 151 );
Moveable = TRUE;
@@ -51,6 +52,7 @@ ModalDialog RID_DLG_SELECTLABELCONTROL
};
CheckBox 1
{
+ HelpID = "extensions:CheckBox:RID_DLG_SELECTLABELCONTROL:1";
Pos = MAP_APPFONT( 6, 115 );
Size = MAP_APPFONT( 188, 8 );
Text [ en-US ] = "~No assignment";
diff --git a/extensions/source/propctrlr/taborder.src b/extensions/source/propctrlr/taborder.src
index fe55988f3..1dfe0ee58 100644
--- a/extensions/source/propctrlr/taborder.src
+++ b/extensions/source/propctrlr/taborder.src
@@ -35,6 +35,7 @@
ModalDialog RID_DLG_TABORDER
{
+ HelpID = "extensions:ModalDialog:RID_DLG_TABORDER";
OutputSize = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 168 , 158 ) ;
@@ -60,6 +61,7 @@ ModalDialog RID_DLG_TABORDER
PushButton PB_MOVE_UP
{
+ HelpID = "extensions:PushButton:RID_DLG_TABORDER:PB_MOVE_UP";
Pos = MAP_APPFONT ( 102 , 14 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "Move Up" ;
@@ -67,6 +69,7 @@ ModalDialog RID_DLG_TABORDER
PushButton PB_MOVE_DOWN
{
+ HelpID = "extensions:PushButton:RID_DLG_TABORDER:PB_MOVE_DOWN";
Pos = MAP_APPFONT ( 102 , 32 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "Move Down" ;
@@ -74,6 +77,7 @@ ModalDialog RID_DLG_TABORDER
PushButton PB_AUTO_ORDER
{
+ HelpID = "extensions:PushButton:RID_DLG_TABORDER:PB_AUTO_ORDER";
Pos = MAP_APPFONT ( 102 , 50 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "Automatic Sort" ;
diff --git a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx
index b81061222..32d410816 100644
--- a/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx
+++ b/extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx
@@ -331,8 +331,8 @@ namespace pcr
implGetAvailableDataTypeNames( aListEntries );
- aDescriptor.PrimaryButtonId = UID_PROP_ADD_DATA_TYPE;
- aDescriptor.SecondaryButtonId = UID_PROP_REMOVE_DATA_TYPE;
+ aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_ADD_DATA_TYPE);
+ aDescriptor.SecondaryButtonId = rtl::OUString::createFromAscii(UID_PROP_REMOVE_DATA_TYPE);;
aDescriptor.HasPrimaryButton = aDescriptor.HasSecondaryButton = sal_True;
aDescriptor.PrimaryButtonImageURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:graphicrepository/extensions/res/buttonplus.png" ) );
aDescriptor.SecondaryButtonImageURL = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "private:graphicrepository/extensions/res/buttonminus.png" ) );
diff --git a/extensions/source/resource/exports.dxp b/extensions/source/resource/exports.dxp
index 9e59e9403..f0e1c6993 100644
--- a/extensions/source/resource/exports.dxp
+++ b/extensions/source/resource/exports.dxp
@@ -1,3 +1,2 @@
-component_writeInfo
component_getImplementationEnvironment
component_getFactory
diff --git a/extensions/source/resource/makefile.mk b/extensions/source/resource/makefile.mk
index a89d690b7..adeec5fd0 100644
--- a/extensions/source/resource/makefile.mk
+++ b/extensions/source/resource/makefile.mk
@@ -74,3 +74,11 @@ DEF1EXPORTFILE= exports.dxp
.INCLUDE : target.mk
.INCLUDE : $(PRJ)$/util$/target.pmk
+
+ALLTAR : $(MISC)/res.component
+
+$(MISC)/res.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ res.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt res.component
diff --git a/extensions/source/resource/res.component b/extensions/source/resource/res.component
new file mode 100644
index 000000000..57f96609d
--- /dev/null
+++ b/extensions/source/resource/res.component
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.extensions.ResourceService">
+ <service name="com.sun.star.resource.VclStringResourceLoader"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.resource.OpenOfficeResourceLoader">
+ <service name="com.sun.star.resource.OfficeResourceLoader"/>
+ <singleton name="com.sun.star.resource.OfficeResourceLoader"/>
+ </implementation>
+</component>
diff --git a/extensions/source/resource/res_services.cxx b/extensions/source/resource/res_services.cxx
index 73a979c22..dea7cf675 100644
--- a/extensions/source/resource/res_services.cxx
+++ b/extensions/source/resource/res_services.cxx
@@ -29,12 +29,7 @@
#include "precompiled_extensions.hxx"
#include "res_services.hxx"
-/** === begin UNO includes === **/
-#include <com/sun/star/registry/XRegistryKey.hpp>
-/** === end UNO includes === **/
-
/** === begin UNO using === **/
-using ::com::sun::star::registry::XRegistryKey;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Exception;
@@ -64,43 +59,6 @@ void SAL_CALL component_getImplementationEnvironment(
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-sal_Bool SAL_CALL component_writeInfo( void * /*pServiceManager*/, XRegistryKey * pRegistryKey )
-{
- try
- {
- ::std::vector< ::res::ComponentInfo > aComponentInfos( ::res::getComponentInfos() );
- for ( ::std::vector< ::res::ComponentInfo >::const_iterator loop = aComponentInfos.begin();
- loop != aComponentInfos.end();
- ++loop
- )
- {
- Reference< XRegistryKey > xNewKey =
- pRegistryKey->createKey( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/") )
- + loop->sImplementationName + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" ) ) );
-
- for( sal_Int32 i = 0; i < loop->aSupportedServices.getLength(); ++i )
- xNewKey->createKey( loop->aSupportedServices.getConstArray()[i]);
-
- if ( loop->sSingletonName.getLength() )
- {
- OSL_ENSURE( loop->aSupportedServices.getLength() == 1, "singletons must support exactly one service!" );
- xNewKey = pRegistryKey->createKey( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("/") )
- + loop->sImplementationName + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SINGLETONS/" ) )
- + loop->sSingletonName );
- xNewKey->setStringValue( loop->aSupportedServices[ 0 ] );
- }
- }
-
- return sal_True;
- }
- catch (Exception &)
- {
- // not allowed to throw an exception over the c function.
- //OSL_ENSURE( sal_False, "Exception cannot register component!" );
- return sal_False;
- }
-}
-
void * SAL_CALL component_getFactory(
const sal_Char * pImplName, XMultiServiceFactory * /*pServiceManager*/, void * /*pRegistryKey*/ )
{
diff --git a/extensions/source/scanner/exports.dxp b/extensions/source/scanner/exports.dxp
index 9630d7e06..f0e1c6993 100644
--- a/extensions/source/scanner/exports.dxp
+++ b/extensions/source/scanner/exports.dxp
@@ -1,3 +1,2 @@
component_getImplementationEnvironment
-component_writeInfo
component_getFactory
diff --git a/extensions/source/scanner/grid.src b/extensions/source/scanner/grid.src
index ddf593ef7..e1734456f 100644
--- a/extensions/source/scanner/grid.src
+++ b/extensions/source/scanner/grid.src
@@ -28,6 +28,7 @@
ModalDialog GRID_DIALOG
{
+ HelpID = "extensions:ModalDialog:GRID_DIALOG";
OutputSize = TRUE ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 10 , 10 ) ;
@@ -48,6 +49,7 @@ ModalDialog GRID_DIALOG
};
ListBox GRID_DIALOG_TYPE_BOX
{
+ HelpID = "extensions:ListBox:GRID_DIALOG:GRID_DIALOG_TYPE_BOX";
Border = TRUE ;
Dropdown = TRUE ;
Pos = MAP_APPFONT( 245, 45 );
@@ -55,6 +57,7 @@ ModalDialog GRID_DIALOG
};
PushButton GRID_DIALOG_RESET_BTN
{
+ HelpID = "extensions:PushButton:GRID_DIALOG:GRID_DIALOG_RESET_BTN";
Pos = MAP_APPFONT( 245, 65 );
Size = MAP_APPFONT( 50, 15 );
Text [ en-US ] = "Set";
diff --git a/extensions/source/scanner/makefile.mk b/extensions/source/scanner/makefile.mk
index ff42864e0..519be1ff8 100644
--- a/extensions/source/scanner/makefile.mk
+++ b/extensions/source/scanner/makefile.mk
@@ -98,3 +98,11 @@ DEF1EXPORTFILE=exports.dxp
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/scn.component
+
+$(MISC)/scn.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ scn.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt scn.component
diff --git a/extensions/source/scanner/sanedlg.src b/extensions/source/scanner/sanedlg.src
index 2b41785c8..20e825c07 100644
--- a/extensions/source/scanner/sanedlg.src
+++ b/extensions/source/scanner/sanedlg.src
@@ -27,6 +27,7 @@
#include <sanedlg.hrc>
ModalDialog RID_SANE_DIALOG
{
+ HelpID = "extensions:ModalDialog:RID_SANE_DIALOG";
OutputSize = TRUE ;
SVLook = TRUE ;
Pos = MAP_APPFONT ( 10 , 10 ) ;
@@ -46,12 +47,14 @@ ModalDialog RID_SANE_DIALOG
};
PushButton RID_DEVICEINFO_BTN
{
+ HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_DEVICEINFO_BTN";
Pos = MAP_APPFONT ( THIRD_COLUMN , 44 ) ;
Size = MAP_APPFONT ( 55 , 22 ) ;
Text [ en-US ] = "About\n Dev~ice" ;
};
PushButton RID_PREVIEW_BTN
{
+ HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_PREVIEW_BTN";
Pos = MAP_APPFONT ( THIRD_COLUMN , 71 ) ;
Size = MAP_APPFONT ( 55 , 22 ) ;
Text [ en-US ] = "Create\nPreview" ;
@@ -76,6 +79,7 @@ ModalDialog RID_SANE_DIALOG
};
MetricField RID_SCAN_LEFT_BOX
{
+ HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_LEFT_BOX";
Spin = TRUE ;
Repeat = TRUE ;
Border = TRUE ;
@@ -90,6 +94,7 @@ ModalDialog RID_SANE_DIALOG
};
MetricField RID_SCAN_TOP_BOX
{
+ HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_TOP_BOX";
Spin = TRUE ;
Repeat = TRUE ;
Border = TRUE ;
@@ -104,6 +109,7 @@ ModalDialog RID_SANE_DIALOG
};
MetricField RID_SCAN_RIGHT_BOX
{
+ HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_RIGHT_BOX";
Spin = TRUE ;
Repeat = TRUE ;
Border = TRUE ;
@@ -118,6 +124,7 @@ ModalDialog RID_SANE_DIALOG
};
MetricField RID_SCAN_BOTTOM_BOX
{
+ HelpID = "extensions:MetricField:RID_SANE_DIALOG:RID_SCAN_BOTTOM_BOX";
Spin = TRUE ;
Repeat = TRUE ;
Border = TRUE ;
@@ -132,6 +139,7 @@ ModalDialog RID_SANE_DIALOG
};
ListBox RID_DEVICE_BOX
{
+ HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_DEVICE_BOX";
Border = TRUE ;
Dropdown = TRUE ;
Sort = TRUE ;
@@ -146,6 +154,7 @@ ModalDialog RID_SANE_DIALOG
};
NumericBox RID_SCAN_RESOLUTION_BOX
{
+ HelpID = "extensions:NumericBox:RID_SANE_DIALOG:RID_SCAN_RESOLUTION_BOX";
Dropdown = TRUE ;
Pos = MAP_APPFONT ( SECOND_COLUMN + 70 , 23 ) ;
Size = MAP_APPFONT ( 60 , 80 ) ;
@@ -158,6 +167,7 @@ ModalDialog RID_SANE_DIALOG
};
CheckBox RID_SCAN_ADVANCED_BOX
{
+ HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_ADVANCED_BOX";
Check = FALSE ;
Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 40 ) ;
Size = MAP_APPFONT ( 8 , 8 ) ;
@@ -188,17 +198,20 @@ ModalDialog RID_SANE_DIALOG
};
CheckBox RID_SCAN_BOOL_OPTION_BOX
{
+ HelpID = "extensions:CheckBox:RID_SANE_DIALOG:RID_SCAN_BOOL_OPTION_BOX";
Pos = MAP_APPFONT ( SECOND_COLUMN + 120 , 225 ) ;
Size = MAP_APPFONT ( 8 , 8 ) ;
};
Edit RID_SCAN_STRING_OPTION_EDT
{
+ HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_STRING_OPTION_EDT";
Border = TRUE ;
Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
Size = MAP_APPFONT ( 130 , 12 ) ;
};
ListBox RID_SCAN_QUANTUM_RANGE_BOX
{
+ HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_QUANTUM_RANGE_BOX";
Border = TRUE ;
Dropdown = TRUE ;
Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
@@ -206,6 +219,7 @@ ModalDialog RID_SANE_DIALOG
};
ListBox RID_SCAN_STRING_RANGE_BOX
{
+ HelpID = "extensions:ListBox:RID_SANE_DIALOG:RID_SCAN_STRING_RANGE_BOX";
Border = TRUE ;
Dropdown = TRUE ;
Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
@@ -213,6 +227,7 @@ ModalDialog RID_SANE_DIALOG
};
Edit RID_SCAN_NUMERIC_OPTION_EDT
{
+ HelpID = "extensions:Edit:RID_SANE_DIALOG:RID_SCAN_NUMERIC_OPTION_EDT";
Border = TRUE ;
Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
Size = MAP_APPFONT ( 130 , 12 ) ;
@@ -225,6 +240,7 @@ ModalDialog RID_SANE_DIALOG
};
NumericField RID_SCAN_NUMERIC_VECTOR_BOX
{
+ HelpID = "extensions:NumericField:RID_SANE_DIALOG:RID_SCAN_NUMERIC_VECTOR_BOX";
Border = TRUE ;
Spin = TRUE ;
Repeat = TRUE ;
@@ -233,6 +249,7 @@ ModalDialog RID_SANE_DIALOG
};
PushButton RID_SCAN_BUTTON_OPTION_BTN
{
+ HelpID = "extensions:PushButton:RID_SANE_DIALOG:RID_SCAN_BUTTON_OPTION_BTN";
Pos = MAP_APPFONT ( SECOND_COLUMN , 234 ) ;
Size = MAP_APPFONT ( 130 , 14 ) ;
Text [ en-US ] = "Set" ;
diff --git a/extensions/source/scanner/scn.component b/extensions/source/scanner/scn.component
new file mode 100644
index 000000000..d7daf3ae3
--- /dev/null
+++ b/extensions/source/scanner/scn.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.scanner.ScannerManager">
+ <service name="com.sun.star.scanner.ScannerManager"/>
+ </implementation>
+</component>
diff --git a/extensions/source/scanner/scnserv.cxx b/extensions/source/scanner/scnserv.cxx
index 1ac61483d..93fe9dbdc 100644
--- a/extensions/source/scanner/scnserv.cxx
+++ b/extensions/source/scanner/scnserv.cxx
@@ -45,37 +45,6 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char*
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-// -----------------------
-// - component_writeInfo -
-// -----------------------
-
-extern "C" sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
-{
- sal_Bool bRet = sal_False;
-
- if( pRegistryKey )
- {
- try
- {
- ::rtl::OUString aImplName( '/' );
-
- aImplName += ScannerManager::getImplementationName_Static();
- aImplName += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES/" ) );
- aImplName += ScannerManager::getImplementationName_Static();
-
- REF( XRegistryKey ) xNewKey1( static_cast< XRegistryKey* >( pRegistryKey )->createKey( aImplName ) );
-
- bRet = sal_True;
- }
- catch( InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
- }
- }
-
- return bRet;
-}
-
// ------------------------
// - component_getFactory -
// ------------------------
diff --git a/extensions/source/svg/svguno.cxx b/extensions/source/svg/svguno.cxx
index ba1a5824d..38cf50eab 100644
--- a/extensions/source/svg/svguno.cxx
+++ b/extensions/source/svg/svguno.cxx
@@ -60,36 +60,6 @@ extern "C" void SAL_CALL component_getImplementationEnvironment( const sal_Char
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
-// -----------------------
-// - component_writeInfo -
-// -----------------------
-
-extern "C" sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey )
-{
- sal_Bool bRet = sal_False;
-
- if( pRegistryKey )
- {
- try
- {
- REF( NMSP_REGISTRY::XRegistryKey ) xNewKey1(
- static_cast< NMSP_REGISTRY::XRegistryKey* >( pRegistryKey )->createKey(
- B2UCONST( "/com.sun.star.comp.extensions.SVGWriter/UNO/SERVICES/com.sun.star.svg.SVGWriter" ) ) );
- REF( NMSP_REGISTRY::XRegistryKey ) xNewKey2(
- static_cast< NMSP_REGISTRY::XRegistryKey* >( pRegistryKey )->createKey(
- B2UCONST( "/com.sun.star.comp.extensions.SVGPrinter/UNO/SERVICES/com.sun.star.svg.SVGPrinter" ) ) );
-
- bRet = sal_True;
- }
- catch( NMSP_REGISTRY::InvalidRegistryException& )
- {
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
- }
- }
-
- return bRet;
-}
-
// ------------------------
// - component_getFactory -
// ------------------------
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx
index c4ff5dd4b..c4ff5dd4b 100755..100644
--- a/extensions/source/update/check/download.cxx
+++ b/extensions/source/update/check/download.cxx
diff --git a/extensions/source/update/check/makefile.mk b/extensions/source/update/check/makefile.mk
index 9f5f54410..47da869ea 100644
--- a/extensions/source/update/check/makefile.mk
+++ b/extensions/source/update/check/makefile.mk
@@ -132,3 +132,11 @@ $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Jobs
@$(COPY) $< $@
# @$(PERL) transform.pl < $< > $@
+
+ALLTAR : $(MISC)/updchk.uno.component
+
+$(MISC)/updchk.uno.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ updchk.uno.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt updchk.uno.component
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 73a40c0d6..73a40c0d6 100755..100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 987e5fce6..987e5fce6 100755..100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index c75530388..d8d95540a 100755
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -388,18 +388,6 @@ component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Envir
//------------------------------------------------------------------------------
-extern "C" sal_Bool SAL_CALL
-component_writeInfo(void *pServiceManager, void *pRegistryKey)
-{
- return cppu::component_writeInfoHelper(
- pServiceManager,
- pRegistryKey,
- kImplementations_entries
- );
-}
-
-//------------------------------------------------------------------------------
-
extern "C" void *
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
{
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx
index abb05a480..92ecd5ae4 100644
--- a/extensions/source/update/check/updatehdl.cxx
+++ b/extensions/source/update/check/updatehdl.cxx
@@ -69,6 +69,7 @@
#include <com/sun/star/resource/XResourceBundleLoader.hpp>
#include "updatehdl.hrc"
+#include <tools/urlobj.hxx>
#define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s))
@@ -158,7 +159,7 @@ void UpdateHandler::setDownloadBtnLabel( bool bAppendDots )
aLabel += UNISTRING( "..." );
setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("Label"), uno::Any( aLabel ) );
- setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_DOWNLOAD2 ) ) );
+ setControlProperty( msButtonIDs[DOWNLOAD_BUTTON], UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_DOWNLOAD2 ) ) );
mbDownloadBtnHasDots = bAppendDots;
}
@@ -1174,7 +1175,7 @@ void UpdateHandler::createDialog()
xPropSet->setPropertyValue( UNISTRING("PositionY"), uno::Any(sal_Int32( 100 )) );
xPropSet->setPropertyValue( UNISTRING("Width"), uno::Any(sal_Int32( DIALOG_WIDTH )) );
xPropSet->setPropertyValue( UNISTRING("Height"), uno::Any(sal_Int32( DIALOG_HEIGHT )) );
- xPropSet->setPropertyValue( UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_DLG ) ) );
+ xPropSet->setPropertyValue( UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_DLG ) ) );
}
{ // Label (fixed text) <status>
uno::Sequence< beans::NamedValue > aProps(1);
@@ -1201,7 +1202,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) );
setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) );
setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) );
- setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_STATUS ) ) );
+ setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_STATUS ) ) );
insertControlModel( xControlModel, EDIT_FIELD_MODEL, TEXT_STATUS,
awt::Rectangle( DIALOG_BORDER + TEXT_OFFSET,
@@ -1232,7 +1233,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) );
setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STANDARD) ) );
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msPauseBtn ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_PAUSE ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_PAUSE ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[PAUSE_BUTTON],
awt::Rectangle( BOX1_BTN_X, BOX1_BTN_Y, BUTTON_WIDTH, BUTTON_HEIGHT ),
@@ -1245,7 +1246,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) );
setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STANDARD) ) );
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msResumeBtn ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_RESUME ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_RESUME ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[RESUME_BUTTON],
awt::Rectangle( BOX1_BTN_X,
@@ -1261,7 +1262,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) );
setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STANDARD) ) );
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msCancelBtn ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_CANCEL ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_CANCEL ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[CANCEL_BUTTON],
awt::Rectangle( BOX1_BTN_X,
@@ -1295,7 +1296,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 3, UNISTRING("MultiLine"), uno::Any( true ) );
setProperty( aProps, 4, UNISTRING("ReadOnly"), uno::Any( true ) );
setProperty( aProps, 5, UNISTRING("AutoVScroll"), uno::Any( true ) );
- setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_DESCRIPTION ) ) );
+ setProperty( aProps, 6, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_DESCRIPTION ) ) );
insertControlModel( xControlModel, EDIT_FIELD_MODEL, TEXT_DESCRIPTION,
awt::Rectangle( DIALOG_BORDER + TEXT_OFFSET,
@@ -1325,7 +1326,7 @@ void UpdateHandler::createDialog()
// setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_CANCEL) ) );
// [property] string Label // only if PushButtonType_STANDARD
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msClose ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_CLOSE ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_CLOSE ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[ CLOSE_BUTTON ],
awt::Rectangle( CLOSE_BTN_X, BUTTON_Y_POS, BUTTON_WIDTH, BUTTON_HEIGHT ),
@@ -1338,7 +1339,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) );
setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STANDARD) ) );
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msInstall ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_INSTALL ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_INSTALL ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[INSTALL_BUTTON],
awt::Rectangle( INSTALL_BTN_X, BUTTON_Y_POS, BUTTON_WIDTH, BUTTON_HEIGHT ),
@@ -1351,7 +1352,7 @@ void UpdateHandler::createDialog()
setProperty( aProps, 1, UNISTRING("Enabled"), uno::Any( true ) );
setProperty( aProps, 2, UNISTRING("PushButtonType"), uno::Any( sal_Int16(awt::PushButtonType_STANDARD) ) );
setProperty( aProps, 3, UNISTRING("Label"), uno::Any( msDownload ) );
- setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( "HID:" ) + rtl::OUString::valueOf( (sal_Int32) HID_CHECK_FOR_UPD_DOWNLOAD ) ) );
+ setProperty( aProps, 4, UNISTRING("HelpURL"), uno::Any( UNISTRING( INET_HID_SCHEME ) + rtl::OUString::createFromAscii( HID_CHECK_FOR_UPD_DOWNLOAD ) ) );
insertControlModel ( xControlModel, BUTTON_MODEL, msButtonIDs[DOWNLOAD_BUTTON],
awt::Rectangle( DOWNLOAD_BTN_X, BUTTON_Y_POS, BUTTON_WIDTH, BUTTON_HEIGHT ),
diff --git a/extensions/source/update/check/updchk.uno.component b/extensions/source/update/check/updchk.uno.component
new file mode 100644
index 000000000..b1eb32917
--- /dev/null
+++ b/extensions/source/update/check/updchk.uno.component
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="vnd.sun.UpdateCheck">
+ <service name="com.sun.star.setup.UpdateCheck"/>
+ </implementation>
+ <implementation name="vnd.sun.UpdateCheckConfig">
+ <service name="com.sun.star.setup.UpdateCheckConfig"/>
+ </implementation>
+</component>
diff --git a/extensions/source/update/feed/makefile.mk b/extensions/source/update/feed/makefile.mk
index 7e12970dd..6361f20bd 100644
--- a/extensions/source/update/feed/makefile.mk
+++ b/extensions/source/update/feed/makefile.mk
@@ -62,3 +62,11 @@ DEF1NAME=$(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/updatefeed.component
+
+$(MISC)/updatefeed.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ updatefeed.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt updatefeed.component
diff --git a/extensions/source/update/feed/updatefeed.component b/extensions/source/update/feed/updatefeed.component
new file mode 100644
index 000000000..2d53ff5f9
--- /dev/null
+++ b/extensions/source/update/feed/updatefeed.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="vnd.sun.UpdateInformationProvider">
+ <service name="com.sun.star.deployment.UpdateInformationProvider"/>
+ </implementation>
+</component>
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 9053c4456..b0db10d1c 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -851,18 +851,6 @@ component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Envir
//------------------------------------------------------------------------------
-extern "C" sal_Bool SAL_CALL
-component_writeInfo(void *pServiceManager, void *pRegistryKey)
-{
- return cppu::component_writeInfoHelper(
- pServiceManager,
- pRegistryKey,
- kImplementations_entries
- );
-}
-
-//------------------------------------------------------------------------------
-
extern "C" void *
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
{
diff --git a/extensions/source/update/ui/makefile.mk b/extensions/source/update/ui/makefile.mk
index c4826efba..5ea6994d3 100644
--- a/extensions/source/update/ui/makefile.mk
+++ b/extensions/source/update/ui/makefile.mk
@@ -72,3 +72,11 @@ DEF1NAME=$(SHL1TARGET)
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/updchk.component
+
+$(MISC)/updchk.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ updchk.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt updchk.component
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index 2fd478af3..df2632ba9 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -1059,18 +1059,6 @@ component_getImplementationEnvironment( const sal_Char **aEnvTypeName, uno_Envir
//------------------------------------------------------------------------------
-extern "C" sal_Bool SAL_CALL
-component_writeInfo(void *pServiceManager, void *pRegistryKey)
-{
- return cppu::component_writeInfoHelper(
- pServiceManager,
- pRegistryKey,
- kImplementations_entries
- );
-}
-
-//------------------------------------------------------------------------------
-
extern "C" void *
component_getFactory(const sal_Char *pszImplementationName, void *pServiceManager, void *pRegistryKey)
{
diff --git a/extensions/source/update/ui/updchk.component b/extensions/source/update/ui/updchk.component
new file mode 100644
index 000000000..bd533e30d
--- /dev/null
+++ b/extensions/source/update/ui/updchk.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="vnd.sun.UpdateCheckUI">
+ <service name="com.sun.star.setup.UpdateCheckUI"/>
+ </implementation>
+</component>
diff --git a/extensions/source/xmlextract/makefile.mk b/extensions/source/xmlextract/makefile.mk
index 0a021027f..fa54df738 100644
--- a/extensions/source/xmlextract/makefile.mk
+++ b/extensions/source/xmlextract/makefile.mk
@@ -63,3 +63,11 @@ SHL1LIBS= $(SLB)$/$(TARGET).lib
# --- Targets ----------------------------------
.INCLUDE : target.mk
+
+ALLTAR : $(MISC)/xmx.component
+
+$(MISC)/xmx.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
+ xmx.component
+ $(XSLTPROC) --nonet --stringparam uri \
+ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
+ $(SOLARENV)/bin/createcomponent.xslt xmx.component
diff --git a/extensions/source/xmlextract/xmx.component b/extensions/source/xmlextract/xmx.component
new file mode 100644
index 000000000..456ff33b6
--- /dev/null
+++ b/extensions/source/xmlextract/xmx.component
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--**********************************************************************
+*
+* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+*
+* Copyright 2000, 2010 Oracle and/or its affiliates.
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* This file is part of OpenOffice.org.
+*
+* OpenOffice.org is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser General Public License version 3
+* only, as published by the Free Software Foundation.
+*
+* OpenOffice.org is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU Lesser General Public License version 3 for more details
+* (a copy is included in the LICENSE file that accompanied this code).
+*
+* You should have received a copy of the GNU Lesser General Public License
+* version 3 along with OpenOffice.org. If not, see
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+**********************************************************************-->
+
+<component loader="com.sun.star.loader.SharedLibrary"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.io.XMLExtractor">
+ <service name="com.sun.star.io.XMLExtractor"/>
+ </implementation>
+</component>
diff --git a/extensions/source/xmlextract/xmxuno.cxx b/extensions/source/xmlextract/xmxuno.cxx
index 2d4dfd7f8..5af30267e 100644
--- a/extensions/source/xmlextract/xmxuno.cxx
+++ b/extensions/source/xmlextract/xmxuno.cxx
@@ -52,27 +52,6 @@ void SAL_CALL component_getImplementationEnvironment(
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
//==================================================================================================
-sal_Bool SAL_CALL component_writeInfo(
- void * /*pServiceManager*/, void * pRegistryKey )
-{
- if (pRegistryKey)
- {
- try
- {
- REF( NMSP_REGISTRY::XRegistryKey ) xNewKey(
- reinterpret_cast< NMSP_REGISTRY::XRegistryKey * >( pRegistryKey )->createKey(
- NMSP_RTL::OUString( RTL_CONSTASCII_USTRINGPARAM("/com.sun.star.comp.io.XMLExtractor/UNO/SERVICES/com.sun.star.io.XMLExtractor") ) ) );
-
- return sal_True;
- }
- catch (NMSP_REGISTRY::InvalidRegistryException &)
- {
- OSL_ENSURE( sal_False, "### InvalidRegistryException!" );
- }
- }
- return sal_False;
-}
-//==================================================================================================
void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{