diff options
-rw-r--r-- | dbaccess/source/ui/inc/UITools.hxx | 22 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbu_resource.hrc | 11 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/dbu_tbl.hrc | 9 |
3 files changed, 33 insertions, 9 deletions
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx index 226671f91001..a45f7fc22b08 100644 --- a/dbaccess/source/ui/inc/UITools.hxx +++ b/dbaccess/source/ui/inc/UITools.hxx @@ -2,9 +2,9 @@ * * $RCSfile: UITools.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: oj $ $Date: 2002-11-12 09:43:49 $ + * last change: $Author: oj $ $Date: 2002-11-14 07:53:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -323,6 +323,24 @@ namespace dbaui */ void setEvalDateFormatForFormatter(::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter); + /** query for a type info which can be used to create a primary key column + @param _rTypeInfo + The map which contains all available types. + @return + The type info which can be used to create a primary key column. + */ + const OTypeInfo* queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo); + + /** query for a specific type. + @param _nDataType + The type we are searching. + @param _rTypeInfo + The map which contains all available types. + @return + The type or <NULL/> if we can't find it. + */ + const OTypeInfo* queryTypeInfoByType(sal_Int32 _nDataType,const OTypeInfoMap& _rTypeInfo); + // ......................................................................... } // ......................................................................... diff --git a/dbaccess/source/ui/inc/dbu_resource.hrc b/dbaccess/source/ui/inc/dbu_resource.hrc index a236e91f4cf1..ac7ce7813bb8 100644 --- a/dbaccess/source/ui/inc/dbu_resource.hrc +++ b/dbaccess/source/ui/inc/dbu_resource.hrc @@ -2,9 +2,9 @@ * * $RCSfile: dbu_resource.hrc,v $ * - * $Revision: 1.79 $ + * $Revision: 1.80 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:28:26 $ + * last change: $Author: oj $ $Date: 2002-11-14 07:53:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,6 +160,8 @@ #define PAGE_DOCUMENTLINKS RID_PAGE_START + 14 #define PAGE_LDAP RID_PAGE_START + 15 #define TAB_PAGE_USERADMIN RID_PAGE_START + 16 +#define PAGE_MYSQL RID_PAGE_START + 17 +#define TAB_PAGE_TABLEPRIVILEGES RID_PAGE_START + 18 //======================================================================== // error boxes @@ -352,6 +354,8 @@ #define STR_QRY_TITLE RID_STR_GEN_START + 23 #define STR_VIEW_TITLE RID_STR_GEN_START + 24 #define STR_GENERAL_SDB_ERROR RID_STR_GEN_START + 25 +#define STR_TABLEDESIGN_DUPLICATE_NAME RID_STR_GEN_START + 26 + //======================================================================== // untyped resources @@ -371,6 +375,9 @@ /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.79 2002/08/19 07:28:26 oj + * #99473# change string resource files + * * Revision 1.78 2002/07/30 07:07:07 oj * #101846# - STR_ERR_LIKE_COLUMN * diff --git a/dbaccess/source/ui/inc/dbu_tbl.hrc b/dbaccess/source/ui/inc/dbu_tbl.hrc index 5aa570877ccc..7adebbdf44c8 100644 --- a/dbaccess/source/ui/inc/dbu_tbl.hrc +++ b/dbaccess/source/ui/inc/dbu_tbl.hrc @@ -2,9 +2,9 @@ * * $RCSfile: dbu_tbl.hrc,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2002-08-19 07:24:39 $ + * last change: $Author: oj $ $Date: 2002-11-14 07:53:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -104,7 +104,7 @@ #define STR_FIELD_REQUIRED RID_STR_TBL_START + 36 #define STR_DEFAULT_VALUE RID_STR_TBL_START + 37 #define STR_TABED_UNDO_CELLMODIFIED RID_STR_TBL_START + 38 -#define STR_TABLEDESIGN_DUPLICATE_NAME RID_STR_TBL_START + 39 +#define STR_TABLEDESIGN_NO_PRIM_KEY RID_STR_TBL_START + 39 #define STR_TBL_COLUMN_IS_KEYCOLUMN RID_STR_TBL_START + 40 #define STR_TBL_COLUMN_IS_KEYCOLUMN_TITLE RID_STR_TBL_START + 41 #define STR_TABLEDESIGN_ALTER_ERROR RID_STR_TBL_START + 42 @@ -112,8 +112,7 @@ #define STR_HELP_FORMAT_BUTTON RID_STR_TBL_START + 44 #define STR_TABLEDESIGN_CONNECTION_MISSING RID_STR_TBL_START + 45 #define STR_TABLEDESIGN_NO_PRIM_KEY_HEAD RID_STR_TBL_START + 46 -#define STR_TABLEDESIGN_NO_PRIM_KEY RID_STR_TBL_START + 47 -#define STR_TABLEDESIGN_TITLE RID_STR_TBL_START + 48 +#define STR_TABLEDESIGN_TITLE RID_STR_TBL_START + 47 // please adjust checking before insert new strings |