diff options
Diffstat (limited to 'connectivity/source/inc/resource')
-rw-r--r-- | connectivity/source/inc/resource/adabas_res.hrc | 43 | ||||
-rw-r--r-- | connectivity/source/inc/resource/ado_res.hrc | 50 | ||||
-rw-r--r-- | connectivity/source/inc/resource/calc_res.hrc | 41 | ||||
-rw-r--r-- | connectivity/source/inc/resource/common_res.hrc | 78 | ||||
-rw-r--r-- | connectivity/source/inc/resource/conn_shared_res.hrc | 73 | ||||
-rw-r--r-- | connectivity/source/inc/resource/dbase_res.hrc | 61 | ||||
-rw-r--r-- | connectivity/source/inc/resource/evoab2_res.hrc | 42 | ||||
-rw-r--r-- | connectivity/source/inc/resource/file_res.hrc | 48 | ||||
-rw-r--r-- | connectivity/source/inc/resource/hsqldb_res.hrc | 47 | ||||
-rw-r--r-- | connectivity/source/inc/resource/jdbc_log.hrc | 90 | ||||
-rw-r--r-- | connectivity/source/inc/resource/kab_res.hrc | 43 | ||||
-rw-r--r-- | connectivity/source/inc/resource/macab_res.hrc | 41 | ||||
-rw-r--r-- | connectivity/source/inc/resource/mozab_res.hrc | 74 | ||||
-rw-r--r-- | connectivity/source/inc/resource/sharedresources.hxx | 164 |
14 files changed, 895 insertions, 0 deletions
diff --git a/connectivity/source/inc/resource/adabas_res.hrc b/connectivity/source/inc/resource/adabas_res.hrc new file mode 100644 index 000000000000..a5911dcd0e98 --- /dev/null +++ b/connectivity/source/inc/resource/adabas_res.hrc @@ -0,0 +1,43 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_ADABAS_HRC +#define CONNECTIVITY_RESOURCE_ADABAS_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the Adabas D driver's resource strings +// ============================================================================ +#define STR_NO_DISK_SPACE ( STR_ADABAS_BASE + 1 ) +#define STR_COMMAND_NOT_FOUND ( STR_ADABAS_BASE + 2 ) +#define STR_DATABASE_NEEDS_CONVERTING ( STR_ADABAS_BASE + 3 ) +#define STR_USER_NO_DELETE ( STR_ADABAS_BASE + 9 ) + +#endif // CONNECTIVITY_RESOURCE_ADABAS_HRC + diff --git a/connectivity/source/inc/resource/ado_res.hrc b/connectivity/source/inc/resource/ado_res.hrc new file mode 100644 index 000000000000..717e194ca3a4 --- /dev/null +++ b/connectivity/source/inc/resource/ado_res.hrc @@ -0,0 +1,50 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_ADO_HRC +#define CONNECTIVITY_RESOURCE_ADO_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the ado driver's resource strings +// ============================================================================ +#define STR_INVALID_COLUMN_DESCRIPTOR_ERROR ( STR_ADO_BASE + 1 ) +#define STR_INVALID_GROUP_DESCRIPTOR_ERROR ( STR_ADO_BASE + 2 ) +#define STR_INVALID_INDEX_DESCRIPTOR_ERROR ( STR_ADO_BASE + 3 ) +#define STR_INVALID_KEY_DESCRIPTOR_ERROR ( STR_ADO_BASE + 4 ) +#define STR_INVALID_TABLE_DESCRIPTOR_ERROR ( STR_ADO_BASE + 5 ) +#define STR_INVALID_USER_DESCRIPTOR_ERROR ( STR_ADO_BASE + 6 ) +#define STR_INVALID_VIEW_DESCRIPTOR_ERROR ( STR_ADO_BASE + 7 ) +#define STR_VIEW_NO_COMMAND_ERROR ( STR_ADO_BASE + 8 ) +#define STR_TYPE_NOT_CONVERT ( STR_ADO_BASE + 9 ) +#define STR_NO_CONNECTION ( STR_ADO_BASE + 10 ) + + +#endif // CONNECTIVITY_RESOURCE_ADO_HRC + diff --git a/connectivity/source/inc/resource/calc_res.hrc b/connectivity/source/inc/resource/calc_res.hrc new file mode 100644 index 000000000000..e71901814140 --- /dev/null +++ b/connectivity/source/inc/resource/calc_res.hrc @@ -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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_CALC_HRC +#define CONNECTIVITY_RESOURCE_CALC_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the calc driver's resource strings +// ============================================================================ + +#define STR_LOAD_FILE_ERROR_MESSAGE ( STR_CALC_BASE + 0 ) + +#endif // CONNECTIVITY_RESOURCE_CALC_HRC + diff --git a/connectivity/source/inc/resource/common_res.hrc b/connectivity/source/inc/resource/common_res.hrc new file mode 100644 index 000000000000..ac7cb89a630e --- /dev/null +++ b/connectivity/source/inc/resource/common_res.hrc @@ -0,0 +1,78 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_COMMON_HRC +#define CONNECTIVITY_RESOURCE_COMMON_HRC + +#ifndef CONNECTIVITY_SHARED_RES_HRC +#include "resource/conn_shared_res.hrc" +#endif + +// ============================================================================ +// = common strings +// ============================================================================ + +#define STR_STRING_LENGTH_EXCEEDED ( STR_COMMON_BASE + 1 ) +#define STR_CANNOT_CONVERT_STRING ( STR_COMMON_BASE + 2 ) +#define STR_URI_SYNTAX_ERROR ( STR_COMMON_BASE + 3 ) +#define STR_COULD_NOT_LOAD_FILE ( STR_COMMON_BASE + 4 ) +#define STR_QUERY_TOO_COMPLEX ( STR_COMMON_BASE + 5 ) +#define STR_OPERATOR_TOO_COMPLEX ( STR_COMMON_BASE + 6 ) +#define STR_QUERY_INVALID_LIKE_COLUMN ( STR_COMMON_BASE + 7 ) +#define STR_QUERY_INVALID_LIKE_STRING ( STR_COMMON_BASE + 8 ) +#define STR_QUERY_NOT_LIKE_TOO_COMPLEX ( STR_COMMON_BASE + 9 ) +#define STR_QUERY_LIKE_WILDCARD ( STR_COMMON_BASE + 10 ) +#define STR_QUERY_LIKE_WILDCARD_MANY ( STR_COMMON_BASE + 11 ) +#define STR_INVALID_COLUMNNAME ( STR_COMMON_BASE + 12 ) +#define STR_NO_CLASSNAME ( STR_COMMON_BASE + 13 ) +#define STR_NO_CLASSNAME_PATH ( STR_COMMON_BASE + 14 ) +#define STR_UNKNOWN_PARA_TYPE ( STR_COMMON_BASE + 15 ) +#define STR_INVALID_COLUMN_SELECTION ( STR_COMMON_BASE + 16 ) +#define STR_PARA_ONLY_PREPARED ( STR_COMMON_BASE + 17 ) +#define STR_COLUMN_NOT_UPDATEABLE ( STR_COMMON_BASE + 18 ) +#define STR_ROW_ALREADY_DELETED ( STR_COMMON_BASE + 19 ) +#define STR_UNKNOWN_COLUMN_TYPE ( STR_COMMON_BASE + 20 ) +#define STR_FORMULA_WRONG ( STR_COMMON_BASE + 21 ) +#define STR_NO_JAVA ( STR_COMMON_BASE + 22 ) +#define STR_NO_RESULTSET ( STR_COMMON_BASE + 23 ) +#define STR_NO_ROWCOUNT ( STR_COMMON_BASE + 24 ) +#define STR_ERRORMSG_SEQUENCE ( STR_COMMON_BASE + 25 ) +#define STR_INVALID_INDEX ( STR_COMMON_BASE + 26 ) +#define STR_UNSUPPORTED_FUNCTION ( STR_COMMON_BASE + 27 ) +#define STR_UNSUPPORTED_FEATURE ( STR_COMMON_BASE + 28 ) +#define STR_UNKNOWN_COLUMN_NAME ( STR_COMMON_BASE + 29 ) +#define STR_INVALID_PARA_COUNT ( STR_COMMON_BASE + 30 ) +#define STR_PRIVILEGE_NOT_GRANTED ( STR_COMMON_BASE + 31 ) +#define STR_PRIVILEGE_NOT_REVOKED ( STR_COMMON_BASE + 32 ) +#define STR_INVALID_BOOKMARK ( STR_COMMON_BASE + 33 ) +#define STR_NO_ELEMENT_NAME ( STR_COMMON_BASE + 34 ) +#define STR_NO_INPUTSTREAM ( STR_COMMON_BASE + 35 ) +#define STR_INPUTSTREAM_WRONG_LEN ( STR_COMMON_BASE + 36 ) +#define STR_WRONG_PARAM_INDEX ( STR_COMMON_BASE + 37 ) +#define STR_NO_CONNECTION_GIVEN ( STR_COMMON_BASE + 38 ) + +#endif // CONNECTIVITY_RESOURCE_COMMON_HRC diff --git a/connectivity/source/inc/resource/conn_shared_res.hrc b/connectivity/source/inc/resource/conn_shared_res.hrc new file mode 100644 index 000000000000..981f5a89b4df --- /dev/null +++ b/connectivity/source/inc/resource/conn_shared_res.hrc @@ -0,0 +1,73 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_SHARED_RES_HRC +#define CONNECTIVITY_SHARED_RES_HRC + +// ============================================================================ +// = normal resource ids, per driver + +// Mozilla driver resource ids +#define STR_MOZAB_BASE 1000 + +// common resource ids +#define STR_COMMON_BASE 1200 + +// Spreadsheet driver resource ids +#define STR_CALC_BASE 1300 + +// DBase driver resource ids +#define STR_DBASE_BASE 1400 + +// ADO driver resource ids +#define STR_ADO_BASE 1450 + +// EVOAB2 driver resource ids +#define STR_EVOAB2_BASE 1500 + +// FILE driver resource ids +#define STR_FILE_BASE 1550 + +// KAB driver resource ids +#define STR_KAB_BASE 1600 + +// MACAB driver resource ids +#define STR_MACAB_BASE 1650 + +// Adabas D driver resource ids +#define STR_ADABAS_BASE 1700 + +// hsqldb driver resource ids +#define STR_HSQLDB_BASE 1750 +// ============================================================================ +// = resource ids for log messages +#define STR_LOG_MESSAGE_BASE 10000 + +// log messages for the jdbc driver +#define STR_JDBC_LOG_MESSAGE_BASE STR_LOG_MESSAGE_BASE + 500 + +#endif diff --git a/connectivity/source/inc/resource/dbase_res.hrc b/connectivity/source/inc/resource/dbase_res.hrc new file mode 100644 index 000000000000..d4b31e614ced --- /dev/null +++ b/connectivity/source/inc/resource/dbase_res.hrc @@ -0,0 +1,61 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_DBASE_HRC +#define CONNECTIVITY_RESOURCE_DBASE_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the calc driver's resource strings +// ============================================================================ + +#define STR_COULD_NOT_DELETE_INDEX ( STR_DBASE_BASE + 0 ) +#define STR_COULD_NOT_CREATE_INDEX_NOT_UNIQUE ( STR_DBASE_BASE + 1 ) +#define STR_SQL_NAME_ERROR ( STR_DBASE_BASE + 2 ) +#define STR_COULD_NOT_DELETE_FILE ( STR_DBASE_BASE + 3 ) +#define STR_INVALID_COLUMN_TYPE ( STR_DBASE_BASE + 4 ) +#define STR_INVALID_COLUMN_PRECISION ( STR_DBASE_BASE + 5 ) +#define STR_INVALID_PRECISION_SCALE ( STR_DBASE_BASE + 6 ) +#define STR_INVALID_COLUMN_NAME_LENGTH ( STR_DBASE_BASE + 7 ) +#define STR_DUPLICATE_VALUE_IN_COLUMN ( STR_DBASE_BASE + 8 ) +#define STR_INVALID_COLUMN_DECIMAL_VALUE ( STR_DBASE_BASE + 9 ) +#define STR_COLUMN_NOT_ALTERABLE ( STR_DBASE_BASE + 10 ) +#define STR_COLUMN_NOT_ADDABLE ( STR_DBASE_BASE + 11 ) +#define STR_COLUMN_NOT_DROP ( STR_DBASE_BASE + 12 ) +#define STR_COULD_NOT_ALTER_TABLE ( STR_DBASE_BASE + 13 ) +#define STR_INVALID_DBASE_FILE ( STR_DBASE_BASE + 14 ) +#define STR_ONL_ONE_COLUMN_PER_INDEX ( STR_DBASE_BASE + 15 ) +#define STR_COULD_NOT_CREATE_INDEX ( STR_DBASE_BASE + 16 ) +#define STR_COULD_NOT_CREATE_INDEX_NAME ( STR_DBASE_BASE + 17 ) +#define STR_INVALID_COLUMN_VALUE ( STR_DBASE_BASE + 18 ) +#define STR_TABLE_NOT_DROP ( STR_DBASE_BASE + 19 ) +#define STR_COULD_NOT_CREATE_INDEX_KEYSIZE ( STR_DBASE_BASE + 20 ) + +#endif // CONNECTIVITY_RESOURCE_DBASE_HRC + diff --git a/connectivity/source/inc/resource/evoab2_res.hrc b/connectivity/source/inc/resource/evoab2_res.hrc new file mode 100644 index 000000000000..ebe7170beb96 --- /dev/null +++ b/connectivity/source/inc/resource/evoab2_res.hrc @@ -0,0 +1,42 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_EVOAB2_HRC +#define CONNECTIVITY_RESOURCE_EVOAB2_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the calc driver's resource strings +// ============================================================================ + +#define STR_CANNOT_OPEN_BOOK ( STR_EVOAB2_BASE + 0 ) +#define STR_SORT_BY_COL_ONLY ( STR_EVOAB2_BASE + 1 ) + +#endif // CONNECTIVITY_RESOURCE_CALC_HRC + diff --git a/connectivity/source/inc/resource/file_res.hrc b/connectivity/source/inc/resource/file_res.hrc new file mode 100644 index 000000000000..bbc451920ef4 --- /dev/null +++ b/connectivity/source/inc/resource/file_res.hrc @@ -0,0 +1,48 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_FILE_HRC +#define CONNECTIVITY_RESOURCE_FILE_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" +// ============================================================================ +// = the file driver's resource strings +// ============================================================================ + +#define STR_QUERY_COMPLEX_COUNT ( STR_FILE_BASE + 0 ) +#define STR_QUERY_INVALID_BETWEEN ( STR_FILE_BASE + 1 ) +#define STR_TABLE_READONLY ( STR_FILE_BASE + 2 ) +#define STR_DELETE_ROW ( STR_FILE_BASE + 3 ) +#define STR_NO_VALID_FILE_URL ( STR_FILE_BASE + 4 ) +#define STR_QUERY_MORE_TABLES ( STR_FILE_BASE + 5 ) +#define STR_QUERY_NO_TABLE ( STR_FILE_BASE + 6 ) +#define STR_QUERY_NO_COLUMN ( STR_FILE_BASE + 7 ) +#define STR_QUERY_FUNCTION_NOT_SUPPORTED ( STR_FILE_BASE + 8 ) + +#endif // CONNECTIVITY_RESOURCE_FILE_HRC + diff --git a/connectivity/source/inc/resource/hsqldb_res.hrc b/connectivity/source/inc/resource/hsqldb_res.hrc new file mode 100644 index 000000000000..640ed8f5ce81 --- /dev/null +++ b/connectivity/source/inc/resource/hsqldb_res.hrc @@ -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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_HSQLDB_HRC +#define CONNECTIVITY_RESOURCE_HSQLDB_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" + +// ============================================================================ +// = the hsqldb driver's resource strings +// ============================================================================ + +#define STR_NO_STROAGE ( STR_HSQLDB_BASE + 0 ) +#define STR_INVALID_FILE_URL ( STR_HSQLDB_BASE + 1 ) +#define STR_NO_TABLE_CONTAINER ( STR_HSQLDB_BASE + 2 ) +#define STR_NO_TABLE_EDITOR_DIALOG ( STR_HSQLDB_BASE + 3 ) +#define STR_NO_TABLENAME ( STR_HSQLDB_BASE + 4 ) +#define STR_NO_DOCUMENTUI ( STR_HSQLDB_BASE + 5 ) +#define STR_ERROR_NEW_VERSION ( STR_HSQLDB_BASE + 6 ) + +#endif // CONNECTIVITY_RESOURCE_HSQLDB_HRC + diff --git a/connectivity/source/inc/resource/jdbc_log.hrc b/connectivity/source/inc/resource/jdbc_log.hrc new file mode 100644 index 000000000000..ff2c483f0948 --- /dev/null +++ b/connectivity/source/inc/resource/jdbc_log.hrc @@ -0,0 +1,90 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_JDBC_LOG_HRC +#define CONNECTIVITY_RESOURCE_JDBC_LOG_HRC + +#include "resource/conn_shared_res.hrc" + +#define STR_LOG_DRIVER_CONNECTING_URL ( STR_JDBC_LOG_MESSAGE_BASE + 1 ) +#define STR_LOG_DRIVER_SUCCESS ( STR_JDBC_LOG_MESSAGE_BASE + 2 ) +#define STR_LOG_CREATE_STATEMENT ( STR_JDBC_LOG_MESSAGE_BASE + 3 ) +#define STR_LOG_CREATED_STATEMENT_ID ( STR_JDBC_LOG_MESSAGE_BASE + 4 ) +#define STR_LOG_PREPARE_STATEMENT ( STR_JDBC_LOG_MESSAGE_BASE + 5 ) +#define STR_LOG_PREPARED_STATEMENT_ID ( STR_JDBC_LOG_MESSAGE_BASE + 6 ) +#define STR_LOG_PREPARE_CALL ( STR_JDBC_LOG_MESSAGE_BASE + 7 ) +#define STR_LOG_PREPARED_CALL_ID ( STR_JDBC_LOG_MESSAGE_BASE + 8 ) +#define STR_LOG_NATIVE_SQL ( STR_JDBC_LOG_MESSAGE_BASE + 9 ) +#define STR_LOG_LOADING_DRIVER ( STR_JDBC_LOG_MESSAGE_BASE + 10 ) +#define STR_LOG_NO_DRIVER_CLASS ( STR_JDBC_LOG_MESSAGE_BASE + 11 ) +#define STR_LOG_CONN_SUCCESS ( STR_JDBC_LOG_MESSAGE_BASE + 12 ) +#define STR_LOG_NO_SYSTEM_CONNECTION ( STR_JDBC_LOG_MESSAGE_BASE + 13 ) +#define STR_LOG_GOT_JDBC_CONNECTION ( STR_JDBC_LOG_MESSAGE_BASE + 14 ) +#define STR_LOG_SHUTDOWN_CONNECTION ( STR_JDBC_LOG_MESSAGE_BASE + 15 ) +#define STR_LOG_GENERATED_VALUES ( STR_JDBC_LOG_MESSAGE_BASE + 16 ) +#define STR_LOG_GENERATED_VALUES_FALLBACK ( STR_JDBC_LOG_MESSAGE_BASE + 17 ) +#define STR_LOG_EXECUTE_STATEMENT ( STR_JDBC_LOG_MESSAGE_BASE + 18 ) +#define STR_LOG_EXECUTE_QUERY ( STR_JDBC_LOG_MESSAGE_BASE + 19 ) +#define STR_LOG_CLOSING_STATEMENT ( STR_JDBC_LOG_MESSAGE_BASE + 20 ) +#define STR_LOG_EXECUTE_UPDATE ( STR_JDBC_LOG_MESSAGE_BASE + 21 ) +#define STR_LOG_UPDATE_COUNT ( STR_JDBC_LOG_MESSAGE_BASE + 22 ) +#define STR_LOG_RESULT_SET_CONCURRENCY ( STR_JDBC_LOG_MESSAGE_BASE + 23 ) +#define STR_LOG_RESULT_SET_TYPE ( STR_JDBC_LOG_MESSAGE_BASE + 24 ) +#define STR_LOG_FETCH_DIRECTION ( STR_JDBC_LOG_MESSAGE_BASE + 25 ) +#define STR_LOG_FETCH_SIZE ( STR_JDBC_LOG_MESSAGE_BASE + 26 ) +#define STR_LOG_SET_ESCAPE_PROCESSING ( STR_JDBC_LOG_MESSAGE_BASE + 27 ) +#define STR_LOG_EXECUTING_PREPARED ( STR_JDBC_LOG_MESSAGE_BASE + 28 ) +#define STR_LOG_EXECUTING_PREPARED_UPDATE ( STR_JDBC_LOG_MESSAGE_BASE + 29 ) +#define STR_LOG_EXECUTING_PREPARED_QUERY ( STR_JDBC_LOG_MESSAGE_BASE + 30 ) +#define STR_LOG_STRING_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 31 ) +#define STR_LOG_BOOLEAN_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 32 ) +#define STR_LOG_BYTE_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 33 ) +#define STR_LOG_DATE_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 34 ) +#define STR_LOG_TIME_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 35 ) +#define STR_LOG_TIMESTAMP_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 36 ) +#define STR_LOG_DOUBLE_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 37 ) +#define STR_LOG_FLOAT_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 38 ) +#define STR_LOG_INT_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 39 ) +#define STR_LOG_LONG_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 40 ) +#define STR_LOG_NULL_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 41 ) +#define STR_LOG_OBJECT_NULL_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 42 ) +#define STR_LOG_SHORT_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 43 ) +#define STR_LOG_BYTES_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 44 ) +#define STR_LOG_CHARSTREAM_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 45 ) +#define STR_LOG_BINARYSTREAM_PARAMETER ( STR_JDBC_LOG_MESSAGE_BASE + 46 ) +#define STR_LOG_CLEAR_PARAMETERS ( STR_JDBC_LOG_MESSAGE_BASE + 47 ) +#define STR_LOG_META_DATA_METHOD ( STR_JDBC_LOG_MESSAGE_BASE + 48 ) +#define STR_LOG_META_DATA_METHOD_ARG1 ( STR_JDBC_LOG_MESSAGE_BASE + 49 ) +#define STR_LOG_META_DATA_METHOD_ARG2 ( STR_JDBC_LOG_MESSAGE_BASE + 50 ) +#define STR_LOG_META_DATA_METHOD_ARG3 ( STR_JDBC_LOG_MESSAGE_BASE + 51 ) +#define STR_LOG_META_DATA_METHOD_ARG4 ( STR_JDBC_LOG_MESSAGE_BASE + 52 ) +#define STR_LOG_META_DATA_RESULT ( STR_JDBC_LOG_MESSAGE_BASE + 53 ) +#define STR_LOG_META_DATA_SUCCESS ( STR_JDBC_LOG_MESSAGE_BASE + 54 ) +#define STR_LOG_THROWING_EXCEPTION ( STR_JDBC_LOG_MESSAGE_BASE + 55 ) +#define STR_LOG_SETTING_SYSTEM_PROPERTY ( STR_JDBC_LOG_MESSAGE_BASE + 56 ) + +#endif // CONNECTIVITY_RESOURCE_JDBC_LOG_HRC diff --git a/connectivity/source/inc/resource/kab_res.hrc b/connectivity/source/inc/resource/kab_res.hrc new file mode 100644 index 000000000000..b03eecdb2b90 --- /dev/null +++ b/connectivity/source/inc/resource/kab_res.hrc @@ -0,0 +1,43 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_KAB_HRC +#define CONNECTIVITY_RESOURCE_KAB_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" +// ============================================================================ +// = the kab driver's resource strings +// ============================================================================ + +#define STR_NO_KDE_INST ( STR_KAB_BASE + 0 ) +#define STR_KDE_VERSION_TOO_OLD ( STR_KAB_BASE + 1 ) +#define STR_KDE_VERSION_TOO_NEW ( STR_KAB_BASE + 2 ) +#define STR_KDE_VERSION_TOO_NEW_WORK_AROUND ( STR_KAB_BASE + 3 ) + +#endif // CONNECTIVITY_RESOURCE_KAB_HRC + diff --git a/connectivity/source/inc/resource/macab_res.hrc b/connectivity/source/inc/resource/macab_res.hrc new file mode 100644 index 000000000000..74d64aa28ad8 --- /dev/null +++ b/connectivity/source/inc/resource/macab_res.hrc @@ -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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_MACAB_HRC +#define CONNECTIVITY_RESOURCE_MACAB_HRC + +#include "resource/conn_shared_res.hrc" +#include "resource/common_res.hrc" +// ============================================================================ +// = the macab driver's resource strings +// ============================================================================ + +#define STR_NO_TABLE ( STR_MACAB_BASE + 0 ) +#define STR_NO_MAC_OS_FOUND ( STR_MACAB_BASE + 1 ) + +#endif // CONNECTIVITY_RESOURCE_MACAB_HRC + diff --git a/connectivity/source/inc/resource/mozab_res.hrc b/connectivity/source/inc/resource/mozab_res.hrc new file mode 100644 index 000000000000..01e93ae17fd5 --- /dev/null +++ b/connectivity/source/inc/resource/mozab_res.hrc @@ -0,0 +1,74 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_RESOURCE_MOZAB_HRC +#define CONNECTIVITY_RESOURCE_MOZAB_HRC + +#ifndef CONNECTIVITY_SHARED_RES_HRC +#include "resource/conn_shared_res.hrc" +#endif + +// ============================================================================ +// = the mozab driver's resource strings +// ============================================================================ + +#define STR_MOZILLA_ADDRESSBOOKS ( STR_MOZAB_BASE + 0 ) +#define STR_THUNDERBIRD_ADDRESSBOOKS ( STR_MOZAB_BASE + 1 ) +#define STR_OE_ADDRESSBOOK ( STR_MOZAB_BASE + 2 ) +#define STR_OUTLOOK_MAPI_ADDRESSBOOK ( STR_MOZAB_BASE + 3 ) + // FREE +#define STR_NO_TABLE_CREATION_SUPPORT ( STR_MOZAB_BASE + 5 ) +#define STR_MOZILLA_IS_RUNNING ( STR_MOZAB_BASE + 6 ) +#define STR_COULD_NOT_RETRIEVE_AB_ENTRY ( STR_MOZAB_BASE + 7 ) +#define STR_COULD_NOT_GET_DIRECTORY_NAME ( STR_MOZAB_BASE + 8 ) +#define STR_TIMEOUT_WAITING ( STR_MOZAB_BASE + 9 ) +#define STR_ERR_EXECUTING_QUERY ( STR_MOZAB_BASE + 10 ) +#define STR_MOZILLA_IS_RUNNIG_NO_CHANGES ( STR_MOZAB_BASE + 11 ) +#define STR_FOREIGN_PROCESS_CHANGED_AB ( STR_MOZAB_BASE + 12 ) +#define STR_CANT_FIND_ROW ( STR_MOZAB_BASE + 13 ) +#define STR_CANT_FIND_CARD_FOR_ROW ( STR_MOZAB_BASE + 14 ) +#define STR_QUERY_INVALID_IS_NULL_COLUMN ( STR_MOZAB_BASE + 15 ) +#define STR_NO_HOSTNAME ( STR_MOZAB_BASE + 16 ) +#define STR_NO_BASEDN ( STR_MOZAB_BASE + 17 ) +#define STR_COULD_NOT_CONNECT_LDAP ( STR_MOZAB_BASE + 18 ) +#define STR_ERROR_REFRESH_ROW ( STR_MOZAB_BASE + 19 ) +#define STR_ILLEGAL_MOVEMENT ( STR_MOZAB_BASE + 20 ) +#define STR_ERROR_GET_ROW ( STR_MOZAB_BASE + 21 ) +#define STR_COMMIT_ROW ( STR_MOZAB_BASE + 22 ) +#define STR_INVALID_ROW_UPDATE ( STR_MOZAB_BASE + 23 ) +#define STR_ROW_CAN_NOT_SAVE ( STR_MOZAB_BASE + 24 ) +#define STR_CAN_NOT_CANCEL_ROW_UPDATE ( STR_MOZAB_BASE + 25 ) +#define STR_CAN_NOT_CREATE_ROW ( STR_MOZAB_BASE + 26 ) +#define STR_QUERY_AT_LEAST_ONE_TABLES ( STR_MOZAB_BASE + 27 ) +#define STR_NO_COUNT_SUPPORT ( STR_MOZAB_BASE + 28 ) +#define STR_STMT_TYPE_NOT_SUPPORTED ( STR_MOZAB_BASE + 29 ) +#define STR_COULD_NOT_LOAD_LIB ( STR_MOZAB_BASE + 30 ) +#define STR_UNSPECIFIED_ERROR ( STR_MOZAB_BASE + 31 ) +#define STR_COULD_NOT_CREATE_ADDRESSBOOK ( STR_MOZAB_BASE + 32 ) + +#endif // CONNECTIVITY_RESOURCE_MOZAB_HRC + diff --git a/connectivity/source/inc/resource/sharedresources.hxx b/connectivity/source/inc/resource/sharedresources.hxx new file mode 100644 index 000000000000..e7a2a1e52153 --- /dev/null +++ b/connectivity/source/inc/resource/sharedresources.hxx @@ -0,0 +1,164 @@ +/************************************************************************* + * + * 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. + * + ************************************************************************/ + +#ifndef CONNECTIVITY_SHAREDRESOURCES_HXX +#define CONNECTIVITY_SHAREDRESOURCES_HXX + +/** === begin UNO includes === **/ +/** === end UNO includes === **/ + +#include <rtl/ustring.hxx> +#include <list> +#include "connectivity/dbtoolsdllapi.hxx" + +//........................................................................ +namespace connectivity +{ +//........................................................................ + + typedef sal_uInt16 ResourceId; + //==================================================================== + //= SharedResources + //==================================================================== + /** helper class for accessing resources shared by different libraries + in the connectivity module + */ + class OOO_DLLPUBLIC_DBTOOLS SharedResources + { + public: + SharedResources(); + ~SharedResources(); + + /** loads a string from the shared resource file + @param _nResId + the resource ID of the string + @return + the string from the resource file + */ + ::rtl::OUString + getResourceString( + ResourceId _nResId + ) const; + + /** loads a string from the shared resource file, and replaces + a given ASCII pattern with a given string + + @param _nResId + the resource ID of the string to load + @param _pAsciiPatternToReplace + the ASCII string which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute + the String which should substitute the ASCII pattern. + + @return + the string from the resource file, with applied string substitution + */ + ::rtl::OUString + getResourceStringWithSubstitution( + ResourceId _nResId, + const sal_Char* _pAsciiPatternToReplace, + const ::rtl::OUString& _rStringToSubstitute + ) const; + + /** loads a string from the shared resource file, and replaces + a given ASCII pattern with a given string + + @param _nResId + the resource ID of the string to load + @param _pAsciiPatternToReplace1 + the ASCII string (1) which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute1 + the String which should substitute the ASCII pattern (1) + @param _pAsciiPatternToReplace2 + the ASCII string (2) which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute2 + the String which should substitute the ASCII pattern (2) + + @return + the string from the resource file, with applied string substitution + */ + ::rtl::OUString + getResourceStringWithSubstitution( + ResourceId _nResId, + const sal_Char* _pAsciiPatternToReplace1, + const ::rtl::OUString& _rStringToSubstitute1, + const sal_Char* _pAsciiPatternToReplace2, + const ::rtl::OUString& _rStringToSubstitute2 + ) const; + + /** loads a string from the shared resource file, and replaces + a given ASCII pattern with a given string + + @param _nResId + the resource ID of the string to load + @param _pAsciiPatternToReplace1 + the ASCII string (1) which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute1 + the String which should substitute the ASCII pattern (1) + @param _pAsciiPatternToReplace2 + the ASCII string (2) which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute2 + the String which should substitute the ASCII pattern (2) + @param _pAsciiPatternToReplace3 + the ASCII string (3) which is to search in the string. Must not be <NULL/>. + @param _rStringToSubstitute3 + the String which should substitute the ASCII pattern (3) + + @return + the string from the resource file, with applied string substitution + */ + ::rtl::OUString + getResourceStringWithSubstitution( + ResourceId _nResId, + const sal_Char* _pAsciiPatternToReplace1, + const ::rtl::OUString& _rStringToSubstitute1, + const sal_Char* _pAsciiPatternToReplace2, + const ::rtl::OUString& _rStringToSubstitute2, + const sal_Char* _pAsciiPatternToReplace3, + const ::rtl::OUString& _rStringToSubstitute3 + ) const; + + /** loads a string from the shared resource file, and replaces a given ASCII pattern with a given string + + @param _nResId + the resource ID of the string to load + @param _aStringToSubstitutes + A list of substitutions. + + @return + the string from the resource file, with applied string substitution + */ + ::rtl::OUString getResourceStringWithSubstitution( ResourceId _nResId, + const ::std::list< ::std::pair<const sal_Char* , ::rtl::OUString > > _aStringToSubstitutes) const; + }; + +//........................................................................ +} // namespace connectivity +//........................................................................ + +#endif // CONNECTIVITY_SHAREDRESOURCES_HXX + |