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