summaryrefslogtreecommitdiff
path: root/scp2/source/base
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/source/base')
-rw-r--r--scp2/source/base/file_base.scp87
-rw-r--r--scp2/source/base/folderitem_base.scp41
-rw-r--r--scp2/source/base/folderitem_base.ulf30
-rw-r--r--scp2/source/base/makefile.mk62
-rw-r--r--scp2/source/base/module_base.scp96
-rw-r--r--scp2/source/base/module_base.ulf47
-rwxr-xr-xscp2/source/base/registryitem_base.scp163
-rw-r--r--scp2/source/base/registryitem_base.ulf29
8 files changed, 555 insertions, 0 deletions
diff --git a/scp2/source/base/file_base.scp b/scp2/source/base/file_base.scp
new file mode 100644
index 000000000000..4c934c429d13
--- /dev/null
+++ b/scp2/source/base/file_base.scp
@@ -0,0 +1,87 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+File gid_File_Exe_Sbase
+ BIN_FILE_BODY;
+ Dir = gid_Brand_Dir_Program;
+ Name = EXENAME(sbase);
+ #ifdef WNT
+ FileDescription = "%PRODUCTNAME Base";
+ Styles = (PACKED, PATCH_SO_NAME);
+ #else
+ Styles = (PACKED);
+ #endif
+End
+
+#if defined WNT
+File gid_File_Exe_Odbcconfig
+ BIN_FILE_BODY;
+ Dir = gid_Dir_Program;
+ Name = EXENAME(odbcconfig);
+ Styles = (PACKED);
+End
+#endif
+
+STD_LIB_FILE( gid_File_Lib_Abp, abp)
+STD_RES_FILE( gid_File_Res_Abp, abp)
+
+STD_LIB_FILE( gid_File_Lib_Dbp, dbp)
+STD_RES_FILE( gid_File_Res_Dbp, dbp)
+
+STD_LIB_FILE( gid_File_Lib_Dbu, dbu )
+STD_RES_FILE( gid_File_Res_Dbu, dbu)
+
+STD_LIB_FILE( gid_File_Lib_Adabasui, adabasui )
+STD_RES_FILE( gid_File_Res_Adabasui, adabasui)
+
+STD_RES_FILE( gid_File_Res_Cnr, cnr)
+STD_RES_FILE( gid_File_Res_Sdbcl, sdbcl)
+STD_RES_FILE( gid_File_Res_Sdberr, sdberr)
+
+STD_LIB_FILE( gid_File_Lib_Rpt, rpt )
+STD_RES_FILE( gid_File_Res_Rpt, rpt)
+
+STD_LIB_FILE( gid_File_Lib_Rptui, rptui )
+STD_RES_FILE( gid_File_Res_Rptui, rptui)
+
+STD_LIB_FILE( gid_File_Lib_Rptxml, rptxml )
+
+File gid_File_Help_Sdatabase_Zip
+ Dir = gid_Dir_Help_Isolanguage;
+ ARCHIVE_TXT_FILE_BODY;
+ EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(sdatabase);
+ Patchfiles = ();
+End
+
+File gid_File_Share_Registry_Base_Xcd
+ TXT_FILE_BODY;
+ Styles = (PACKED);
+ Dir = gid_Dir_Share_Registry;
+ Name = "base.xcd";
+End
diff --git a/scp2/source/base/folderitem_base.scp b/scp2/source/base/folderitem_base.scp
new file mode 100644
index 000000000000..c678e7424cd7
--- /dev/null
+++ b/scp2/source/base/folderitem_base.scp
@@ -0,0 +1,41 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+FolderItem gid_Folderitem_Sbase
+ Name = "%PRODUCTNAME Base";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ FolderID = gid_Folder_Staroffice51;
+ FileID = gid_File_Exe_Sbase;
+ IconFile = gid_File_Exe_Sbase;
+ IconID = 0;
+ WkDir = gid_Dir_Program;
+ Parameter = "";
+ Styles = (NOWEB, NON_ADVERTISED);
+ ALL_LANG(Tooltip, STR_FI_TOOLTIP_BASE);
+End
diff --git a/scp2/source/base/folderitem_base.ulf b/scp2/source/base/folderitem_base.ulf
new file mode 100644
index 000000000000..3bea2fd724dc
--- /dev/null
+++ b/scp2/source/base/folderitem_base.ulf
@@ -0,0 +1,30 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+[STR_FI_TOOLTIP_BASE]
+en-US = "Manage databases, create queries and reports to track and manage your information by using Base."
+
diff --git a/scp2/source/base/makefile.mk b/scp2/source/base/makefile.mk
new file mode 100644
index 000000000000..ead15b19776c
--- /dev/null
+++ b/scp2/source/base/makefile.mk
@@ -0,0 +1,62 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+
+PRJ=..$/..
+
+PRJPCH=
+
+PRJNAME=scp2
+TARGET=base
+TARGETTYPE=CUI
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+.IF "$(ENABLE_REPORTBUILDER)" == "YES"
+SCPDEFS += -DENABLE_REPORTBUILDER
+.ENDIF
+
+SCP_PRODUCT_TYPE=osl
+
+PARFILES= \
+ module_base.par \
+ file_base.par
+
+.IF "$(GUI)"=="WNT"
+PARFILES += \
+ registryitem_base.par \
+ folderitem_base.par
+.ENDIF
+
+ULFFILES= \
+ module_base.ulf \
+ registryitem_base.ulf \
+ folderitem_base.ulf
+
+# --- File ---------------------------------------------------------
+.INCLUDE : target.mk
diff --git a/scp2/source/base/module_base.scp b/scp2/source/base/module_base.scp
new file mode 100644
index 000000000000..dc4d76fcf5d1
--- /dev/null
+++ b/scp2/source/base/module_base.scp
@@ -0,0 +1,96 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+Module gid_Module_Prg_Base
+ MOD_NAME_DESC(MODULE_PRG_BASE);
+ ParentID = gid_Module_Prg;
+ Sortkey = "500";
+ Styles =(APPLICATIONMODULE);
+End
+
+Module gid_Module_Prg_Base_Bin
+ PackageInfo = "packinfo_office.txt";
+ MOD_NAME_DESC ( MODULE_PRG_BASE_BIN );
+ ParentID = gid_Module_Prg_Base;
+ Sortkey = "100";
+ Minimal = NO;
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+ Files = (
+ gid_File_Share_Registry_Base_Xcd
+ ,gid_File_Lib_Abp
+ ,gid_File_Lib_Dbp
+ ,gid_File_Lib_Dbu
+ ,gid_File_Lib_Adabasui
+ ,gid_File_Lib_Rpt
+ ,gid_File_Lib_Rptui
+ ,gid_File_Lib_Rptxml
+ );
+End
+
+// Module gid_Module_Prg_Base_Help
+// MOD_NAME_DESC ( MODULE_PRG_BASE_HELP );
+// ParentID = gid_Module_Prg_Base;
+// Sortkey = "200";
+// Minimal = NO;
+// Default = YES;
+// Files = (gid_File_Help_Sdatabase_Zip);
+// End
+
+Module gid_Module_Brand_Prg_Base
+ PackageInfo = "packinfo_brand.txt";
+ Name = "gid_Module_Brand_Prg_Base";
+ Description = "gid_Module_Brand_Prg_Base";
+ ParentID = gid_Module_Prg_Base;
+ Sortkey = "100";
+ InstallOrder = "1040";
+ Minimal = YES;
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+ Files = (gid_File_Exe_Sbase);
+End
+
+Module gid_Module_Langpack_Base_Template
+ ParentID = gid_Module_Prg_Base_Bin;
+ Name = "gid_Module_Langpack_Base_Template";
+ Description = "gid_Module_Langpack_Base_Template";
+ Styles = (TEMPLATEMODULE);
+ Files = (gid_File_Help_Sdatabase_Zip,
+ gid_File_Res_Abp,
+ gid_File_Res_Adabasui,
+ gid_File_Res_Cnr,
+ gid_File_Res_Dbp,
+ gid_File_Res_Dbu,
+ gid_File_Res_Rpt,
+ gid_File_Res_Rptui,
+ gid_File_Res_Sdbcl,
+ gid_File_Res_Sdberr);
+End
+
+#include "alllangmodules_base.inc"
diff --git a/scp2/source/base/module_base.ulf b/scp2/source/base/module_base.ulf
new file mode 100644
index 000000000000..1cd8b2e77a80
--- /dev/null
+++ b/scp2/source/base/module_base.ulf
@@ -0,0 +1,47 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+[STR_NAME_MODULE_PRG_BASE]
+en-US = "%PRODUCTNAME Base"
+
+[STR_DESC_MODULE_PRG_BASE]
+en-US = "Create and edit databases by using %PRODUCTNAME Base."
+
+[STR_NAME_MODULE_PRG_BASE_BIN]
+en-US = "Program Module"
+
+[STR_DESC_MODULE_PRG_BASE_BIN]
+en-US = "The application %PRODUCTNAME Base"
+
+[STR_NAME_MODULE_PRG_BASE_HELP]
+en-US = "%PRODUCTNAME Base Help"
+
+[STR_DESC_MODULE_PRG_BASE_HELP]
+en-US = "Help about %PRODUCTNAME Base"
+
+
+
diff --git a/scp2/source/base/registryitem_base.scp b/scp2/source/base/registryitem_base.scp
new file mode 100755
index 000000000000..833ed3905241
--- /dev/null
+++ b/scp2/source/base/registryitem_base.scp
@@ -0,0 +1,163 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+#include "macros.inc"
+
+// new odb file extension
+
+RegistryItem gid_Regitem_Odb
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = ".odb";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Value = "opendocument.DatabaseDocument.1";
+End
+
+RegistryItem gid_Regitem_Odb_PersistentHandler
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = ".odb\PersistentHandler";
+ Value = "{7BC0E713-5703-45BE-A29D-5D46D8B39262}";
+End
+
+RegistryItem gid_Regitem_Odb_Shellex_00021500_0000_0000_C000_000000000046
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = ".odb\shellex\{00021500-0000-0000-C000-000000000046}";
+ Value = "{087B3AE3-E237-4467-B8DB-5A38AB959AC9}";
+End
+
+RegistryItem gid_Regitem_Odb_Shellex_BB2E617C_0920_11D1_9A0B_00C04FC2D6C1
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = ".odb\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}";
+ Value = "{3B092F0C-7696-40E3-A80F-68D74DA84210}";
+End
+
+RegistryItem gid_Regitem_DatabaseDocument_1_Shellex_PropertySheetHandlers_MyPropSheet1
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = "opendocument.DatabaseDocument.1\shellex\PropertySheetHandlers\MyPropSheet1";
+ Value = "{63542C48-9552-494A-84F7-73AA6A7C99C1}";
+End
+
+RegistryItem gid_Regitem_Odb_Contenttype
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = ".odb";
+ Name = "Content Type";
+ Value = "application/vnd.sun.xml.base";
+End
+
+RegistryItem gid_Regitem_Odb_Mime_Database
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Subkey = "MIME\Database\Content Type\application/vnd.sun.xml.base";
+ Name = "Extension";
+ Value = ".odb";
+End
+
+RegistryItem gid_Regitem_Openoffice_Databasedocument_1
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = "opendocument.DatabaseDocument.1";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ REG_VALUE_LNG(OO_DATABASE)
+End
+
+RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Defaulticon
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = "opendocument.DatabaseDocument.1\DefaultIcon";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Value = "<progpath>\program\soffice.exe,13";
+End
+
+RegistryItem gid_Regitem_odb_FullDetails
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ ModuleID = gid_Module_Optional_Winexplorerext_PropertyHdl;
+ Subkey = "opendocument.DatabaseDocument.1";
+ Name = "FullDetails";
+ Value = "prop:System.PropGroup.Description;System.Title;System.Author;System.Subject;System.Keywords;System.Comment;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.Size;System.DateCreated;System.DateModified;System.FileAttributes;System.ComputerName";
+End
+
+RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = "opendocument.DatabaseDocument.1\shell";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Value = "open";
+End
+
+// RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
+// ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+// Subkey = "opendocument.DatabaseDocument.1\shell\open\command";
+// ModuleID = gid_Module_Prg_Base_Bin;
+// Value = "\"<progpath>\program\soffice.exe\" -o \"%1\"";
+// End
+
+RegistryItem gid_Regitem_Openoffice_Databasedocument_1_Shell_Open_Command
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = "opendocument.DatabaseDocument.1\shell\open\command";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Value = "\"<progpath>\program\sbase.exe\" -o \"%1\"";
+ Styles = ();
+End
+
+// "OpenWith" Windows Registry keys for .odb
+
+RegistryItem gid_Regitem_OpenOffice_ODB_OpenWith_Database
+ ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
+ Subkey = ".odb\OpenWithProgIDs";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Name = "opendocument.DatabaseDocument.1";
+ Value = " ";
+End
+
+RegistryItem gid_Regitem_Software_Manufacturer_Productname_Productversion_Capabilities_FileAssociations_Odb
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
+ Subkey = "Software\%MANUFACTURER\%PRODUCTNAME%PRODUCTADDON\%PRODUCTVERSION\Capabilities\FileAssociations";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Name = ".odb";
+ Value = "opendocument.DatabaseDocument.1";
+ Styles = ();
+End
+
+RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exe
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
+ Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Value = "<progpath>\program\sbase.exe";
+End
+
+RegistryItem gid_Regitem_Software_Microsoft_Windows_Currentversion_Apppaths_Sbase_Exepath
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE;
+ Subkey = "Software\Microsoft\Windows\CurrentVersion\App Paths\sbase.exe";
+ ModuleID = gid_Module_Prg_Base_Bin;
+ Name = "Path";
+ Value = "<progpath>";
+End
+
+// registering the property handler for the supported file types
+
+REGISTER_PROPERTY_HANDLER_FOR_EXTENSION( odb )
diff --git a/scp2/source/base/registryitem_base.ulf b/scp2/source/base/registryitem_base.ulf
new file mode 100644
index 000000000000..bf6942ecf261
--- /dev/null
+++ b/scp2/source/base/registryitem_base.ulf
@@ -0,0 +1,29 @@
+/*************************************************************************
+ *
+ * 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.
+ *
+ ************************************************************************/
+
+[STR_REG_VAL_OO_DATABASE]
+en-US = "OpenDocument Database"