182177cdbSAndrew Rist/************************************************************** 2*df5459e8Smseidel * 382177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 482177cdbSAndrew Rist * or more contributor license agreements. See the NOTICE file 582177cdbSAndrew Rist * distributed with this work for additional information 682177cdbSAndrew Rist * regarding copyright ownership. The ASF licenses this file 782177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the 882177cdbSAndrew Rist * "License"); you may not use this file except in compliance 982177cdbSAndrew Rist * with the License. You may obtain a copy of the License at 10*df5459e8Smseidel * 1182177cdbSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*df5459e8Smseidel * 1382177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing, 1482177cdbSAndrew Rist * software distributed under the License is distributed on an 1582177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1682177cdbSAndrew Rist * KIND, either express or implied. See the License for the 1782177cdbSAndrew Rist * specific language governing permissions and limitations 1882177cdbSAndrew Rist * under the License. 19*df5459e8Smseidel * 2082177cdbSAndrew Rist *************************************************************/ 2182177cdbSAndrew Rist 2282177cdbSAndrew Rist 23*df5459e8Smseidel 24cdf0e10cSrcweir#define __RSC 25cdf0e10cSrcweir#include "scerrors.hxx" 26cdf0e10cSrcweir#include "sc.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweirResource RID_ERRHDLSC 29cdf0e10cSrcweir{ 30*df5459e8Smseidel // ERRORS ----------------------------------------------------- 31*df5459e8Smseidel String SCERR_IMPORT_CONNECT & ERRCODE_RES_MASK 32cdf0e10cSrcweir { 33cdf0e10cSrcweir Text [ en-US ] = "Impossible to connect to the file." ; 34cdf0e10cSrcweir }; 35*df5459e8Smseidel String SCERR_IMPORT_OPEN & ERRCODE_RES_MASK 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Text [ en-US ] = "File could not be opened." ; 38cdf0e10cSrcweir }; 39*df5459e8Smseidel String SCERR_IMPORT_UNKNOWN & ERRCODE_RES_MASK 40cdf0e10cSrcweir { 41cdf0e10cSrcweir Text [ en-US ] = "An unknown error has occurred." ; 42cdf0e10cSrcweir }; 43*df5459e8Smseidel String SCERR_IMPORT_OUTOFMEM & ERRCODE_RES_MASK 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Text [ en-US ] = "Not enough memory while importing." ; 46cdf0e10cSrcweir }; 47*df5459e8Smseidel String SCERR_IMPORT_UNKNOWN_WK & ERRCODE_RES_MASK 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Text [ en-US ] = "Unknown Lotus1-2-3 file format." ; 50cdf0e10cSrcweir }; 51*df5459e8Smseidel String SCERR_IMPORT_FORMAT & ERRCODE_RES_MASK 52cdf0e10cSrcweir { 53cdf0e10cSrcweir Text [ en-US ] = "Error in file structure while importing." ; 54cdf0e10cSrcweir }; 55*df5459e8Smseidel String SCERR_IMPORT_NI & ERRCODE_RES_MASK 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Text [ en-US ] = "There is no filter available for this file type." ; 58cdf0e10cSrcweir }; 59*df5459e8Smseidel String SCERR_IMPORT_UNKNOWN_BIFF & ERRCODE_RES_MASK 60cdf0e10cSrcweir { 61cdf0e10cSrcweir Text [ en-US ] = "Unknown or unsupported Excel file format." ; 62cdf0e10cSrcweir }; 63*df5459e8Smseidel String SCERR_IMPORT_NI_BIFF & ERRCODE_RES_MASK 64cdf0e10cSrcweir { 65cdf0e10cSrcweir Text [ en-US ] = "Excel file format not yet implemented." ; 66cdf0e10cSrcweir }; 67*df5459e8Smseidel String SCERR_IMPORT_FILEPASSWD & ERRCODE_RES_MASK 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Text [ en-US ] = "This file is password-protected." ; 70cdf0e10cSrcweir }; 71*df5459e8Smseidel String SCERR_IMPORT_INTERNAL & ERRCODE_RES_MASK 72cdf0e10cSrcweir { 73cdf0e10cSrcweir Text [ en-US ] = "Internal import error." ; 74cdf0e10cSrcweir }; 75*df5459e8Smseidel String SCERR_IMPORT_8K_LIMIT & ERRCODE_RES_MASK 76cdf0e10cSrcweir { 77cdf0e10cSrcweir Text [ en-US ] = "The file contains data after row 8192 and therefore can not be read." ; 78cdf0e10cSrcweir }; 79*df5459e8Smseidel String SCERR_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK 80cdf0e10cSrcweir { 81*df5459e8Smseidel Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ; 82cdf0e10cSrcweir }; 83*df5459e8Smseidel String SCERR_IMPORT_FORMAT_ROWCOL & ERRCODE_RES_MASK 84cdf0e10cSrcweir { 85cdf0e10cSrcweir Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir 88*df5459e8Smseidel // Export ---------------------------------------------------- 89*df5459e8Smseidel String SCERR_EXPORT_CONNECT & ERRCODE_RES_MASK 90cdf0e10cSrcweir { 91cdf0e10cSrcweir Text [ en-US ] = "Connection to the file could not be established." ; 92cdf0e10cSrcweir }; 93*df5459e8Smseidel String SCERR_EXPORT_DATA & ERRCODE_RES_MASK 94cdf0e10cSrcweir { 95cdf0e10cSrcweir Text [ en-US ] = "Data could not be written." ; 96cdf0e10cSrcweir }; 97*df5459e8Smseidel String SCERR_EXPORT_SQLEXCEPTION & ERRCODE_RES_MASK 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Text [ en-US ] = "$(ARG1)" ; 100cdf0e10cSrcweir }; 101*df5459e8Smseidel String SCERR_EXPORT_ENCODING & ERRCODE_RES_MASK 102cdf0e10cSrcweir { 103cdf0e10cSrcweir Text [ en-US ] = "Cell $(ARG1) contains characters that are not representable in the selected target character set \"$(ARG2)\"." ; 104cdf0e10cSrcweir }; 105*df5459e8Smseidel String SCERR_EXPORT_FIELDWIDTH & ERRCODE_RES_MASK 106cdf0e10cSrcweir { 107cdf0e10cSrcweir Text [ en-US ] = "Cell $(ARG1) contains a string that is longer in the selected target character set \"$(ARG2)\" than the given field width." ; 108cdf0e10cSrcweir }; 109*df5459e8Smseidel // WARNINGS --------------------------------------------------- 110*df5459e8Smseidel String SCWARN_EXPORT_ASCII & ERRCODE_RES_MASK 111cdf0e10cSrcweir { 112cdf0e10cSrcweir Text [ en-US ] = "Only the active sheet was saved." ; 113cdf0e10cSrcweir }; 114*df5459e8Smseidel String SCWARN_IMPORT_RANGE_OVERFLOW & ERRCODE_RES_MASK 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Text [ en-US ] = "The maximum number of rows has been exceeded. Excess rows were not imported!" ; 117cdf0e10cSrcweir }; 118*df5459e8Smseidel String SCWARN_IMPORT_ROW_OVERFLOW & ERRCODE_RES_MASK 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Text [ en-US ] = "The data could not be loaded completely because the maximum number of rows per sheet was exceeded." ; 121cdf0e10cSrcweir }; 122*df5459e8Smseidel String SCWARN_IMPORT_COLUMN_OVERFLOW & ERRCODE_RES_MASK 123cdf0e10cSrcweir { 124cdf0e10cSrcweir Text [ en-US ] = "The data could not be loaded completely because the maximum number of columns per sheet was exceeded." ; 125cdf0e10cSrcweir }; 126*df5459e8Smseidel String SCWARN_IMPORT_SHEET_OVERFLOW & ERRCODE_RES_MASK 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Text [ en-US ] = "Some sheets could not be loaded because the maximum number of sheets was exceeded." ; 129cdf0e10cSrcweir }; 130*df5459e8Smseidel String SCWARN_IMPORT_OPEN_FM3 & ERRCODE_RES_MASK 131cdf0e10cSrcweir { 132cdf0e10cSrcweir Text [ en-US ] = "Corresponding FM3-File could not be opened." ; 133cdf0e10cSrcweir }; 134*df5459e8Smseidel String SCWARN_IMPORT_WRONG_FM3 & ERRCODE_RES_MASK 135cdf0e10cSrcweir { 136cdf0e10cSrcweir Text [ en-US ] = "Error in file structure of corresponding FM3-File." ; 137cdf0e10cSrcweir }; 138*df5459e8Smseidel String SCWARN_CORE_HARD_RECALC & ERRCODE_RES_MASK 139cdf0e10cSrcweir { 140cdf0e10cSrcweir Text [ en-US ] = "Document too complex for automatic calculation. Press F9 to recalculate." ; 141cdf0e10cSrcweir }; 142*df5459e8Smseidel String SCWARN_EXPORT_MAXROW & ERRCODE_RES_MASK 143cdf0e10cSrcweir { 144cdf0e10cSrcweir Text [ en-US ] = "The document contains more rows than supported in the selected format.\nAdditional rows were not saved." ; 145cdf0e10cSrcweir }; 146*df5459e8Smseidel String SCWARN_IMPORT_INFOLOST & ERRCODE_RES_MASK 147cdf0e10cSrcweir { 148cdf0e10cSrcweir Text [ en-US ] = "The document contains information not recognized by this program version.\nResaving the document will delete this information!" ; 149cdf0e10cSrcweir }; 150*df5459e8Smseidel String SCWARN_EXPORT_DATALOST & ERRCODE_RES_MASK 151cdf0e10cSrcweir { 152cdf0e10cSrcweir Text [ en-US ] = "Not all cell contents could be saved in the specified format." ; 153cdf0e10cSrcweir }; 154*df5459e8Smseidel String SCWARN_EXPORT_NONCONVERTIBLE_CHARS & ERRCODE_RES_MASK 155*df5459e8Smseidel { 156*df5459e8Smseidel Text [ en-US ] = "The following characters could not be converted to the selected character set\nand were written as Ӓ surrogates:\n\n$(ARG1)" ; 157*df5459e8Smseidel }; 158*df5459e8Smseidel String SCWARN_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK 159cdf0e10cSrcweir { 160*df5459e8Smseidel Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ; 161cdf0e10cSrcweir }; 162*df5459e8Smseidel String SCWARN_IMPORT_FEATURES_LOST & ERRCODE_RES_MASK 163cdf0e10cSrcweir { 164*df5459e8Smseidel Text [ en-US] = "Not all attributes could be read." ; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir}; 167cdf0e10cSrcweir 168*df5459e8Smseidel// ********************************************************************** EOF 169