1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir#define __RSC 28*cdf0e10cSrcweir#include "scerrors.hxx" 29*cdf0e10cSrcweir#include "sc.hrc" 30*cdf0e10cSrcweir 31*cdf0e10cSrcweirResource RID_ERRHDLSC 32*cdf0e10cSrcweir{ 33*cdf0e10cSrcweir //------------------------------------------------------------ 34*cdf0e10cSrcweir // ERRORS ----------------------------------------------------- 35*cdf0e10cSrcweir //------------------------------------------------------------ 36*cdf0e10cSrcweir String SCERR_IMPORT_CONNECT & ERRCODE_RES_MASK 37*cdf0e10cSrcweir { 38*cdf0e10cSrcweir Text [ en-US ] = "Impossible to connect to the file." ; 39*cdf0e10cSrcweir }; 40*cdf0e10cSrcweir String SCERR_IMPORT_OPEN & ERRCODE_RES_MASK 41*cdf0e10cSrcweir { 42*cdf0e10cSrcweir Text [ en-US ] = "File could not be opened." ; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir String SCERR_IMPORT_UNKNOWN & ERRCODE_RES_MASK 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Text [ en-US ] = "An unknown error has occurred." ; 47*cdf0e10cSrcweir }; 48*cdf0e10cSrcweir String SCERR_IMPORT_OUTOFMEM & ERRCODE_RES_MASK 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir Text [ en-US ] = "Not enough memory while importing." ; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir String SCERR_IMPORT_UNKNOWN_WK & ERRCODE_RES_MASK 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Text [ en-US ] = "Unknown Lotus1-2-3 file format." ; 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir String SCERR_IMPORT_FORMAT & ERRCODE_RES_MASK 57*cdf0e10cSrcweir { 58*cdf0e10cSrcweir Text [ en-US ] = "Error in file structure while importing." ; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir String SCERR_IMPORT_NI & ERRCODE_RES_MASK 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir Text [ en-US ] = "There is no filter available for this file type." ; 63*cdf0e10cSrcweir }; 64*cdf0e10cSrcweir String SCERR_IMPORT_UNKNOWN_BIFF & ERRCODE_RES_MASK 65*cdf0e10cSrcweir { 66*cdf0e10cSrcweir Text [ en-US ] = "Unknown or unsupported Excel file format." ; 67*cdf0e10cSrcweir }; 68*cdf0e10cSrcweir String SCERR_IMPORT_NI_BIFF & ERRCODE_RES_MASK 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Text [ en-US ] = "Excel file format not yet implemented." ; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir String SCERR_IMPORT_FILEPASSWD & ERRCODE_RES_MASK 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Text [ en-US ] = "This file is password-protected." ; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir String SCERR_IMPORT_INTERNAL & ERRCODE_RES_MASK 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Text [ en-US ] = "Internal import error." ; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir String SCERR_IMPORT_8K_LIMIT & ERRCODE_RES_MASK 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir Text [ en-US ] = "The file contains data after row 8192 and therefore can not be read." ; 83*cdf0e10cSrcweir }; 84*cdf0e10cSrcweir String SCERR_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK 85*cdf0e10cSrcweir { 86*cdf0e10cSrcweir Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)."; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir String SCERR_IMPORT_FORMAT_ROWCOL & ERRCODE_RES_MASK 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir 93*cdf0e10cSrcweir // Export ---------------------------------------------------- 94*cdf0e10cSrcweir String SCERR_EXPORT_CONNECT & ERRCODE_RES_MASK 95*cdf0e10cSrcweir { 96*cdf0e10cSrcweir Text [ en-US ] = "Connection to the file could not be established." ; 97*cdf0e10cSrcweir }; 98*cdf0e10cSrcweir String SCERR_EXPORT_DATA & ERRCODE_RES_MASK 99*cdf0e10cSrcweir { 100*cdf0e10cSrcweir Text [ en-US ] = "Data could not be written." ; 101*cdf0e10cSrcweir }; 102*cdf0e10cSrcweir String SCERR_EXPORT_SQLEXCEPTION & ERRCODE_RES_MASK 103*cdf0e10cSrcweir { 104*cdf0e10cSrcweir Text [ en-US ] = "$(ARG1)" ; 105*cdf0e10cSrcweir }; 106*cdf0e10cSrcweir String SCERR_EXPORT_ENCODING & ERRCODE_RES_MASK 107*cdf0e10cSrcweir { 108*cdf0e10cSrcweir Text [ en-US ] = "Cell $(ARG1) contains characters that are not representable in the selected target character set \"$(ARG2)\"." ; 109*cdf0e10cSrcweir }; 110*cdf0e10cSrcweir String SCERR_EXPORT_FIELDWIDTH & ERRCODE_RES_MASK 111*cdf0e10cSrcweir { 112*cdf0e10cSrcweir Text [ en-US ] = "Cell $(ARG1) contains a string that is longer in the selected target character set \"$(ARG2)\" than the given field width." ; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir //------------------------------------------------------------ 115*cdf0e10cSrcweir // WARNINGS --------------------------------------------------- 116*cdf0e10cSrcweir //------------------------------------------------------------ 117*cdf0e10cSrcweir String SCWARN_EXPORT_ASCII & ERRCODE_RES_MASK 118*cdf0e10cSrcweir { 119*cdf0e10cSrcweir Text [ en-US ] = "Only the active sheet was saved." ; 120*cdf0e10cSrcweir }; 121*cdf0e10cSrcweir String SCWARN_IMPORT_RANGE_OVERFLOW & ERRCODE_RES_MASK 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir Text [ en-US ] = "The maximum number of rows has been exceeded. Excess rows were not imported!" ; 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir String SCWARN_IMPORT_ROW_OVERFLOW & ERRCODE_RES_MASK 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir Text [ en-US ] = "The data could not be loaded completely because the maximum number of rows per sheet was exceeded." ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir String SCWARN_IMPORT_COLUMN_OVERFLOW & ERRCODE_RES_MASK 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir Text [ en-US ] = "The data could not be loaded completely because the maximum number of columns per sheet was exceeded." ; 132*cdf0e10cSrcweir }; 133*cdf0e10cSrcweir String SCWARN_IMPORT_SHEET_OVERFLOW & ERRCODE_RES_MASK 134*cdf0e10cSrcweir { 135*cdf0e10cSrcweir Text [ en-US ] = "Some sheets could not be loaded because the maximum number of sheets was exceeded." ; 136*cdf0e10cSrcweir }; 137*cdf0e10cSrcweir String SCWARN_IMPORT_OPEN_FM3 & ERRCODE_RES_MASK 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir Text [ en-US ] = "Corresponding FM3-File could not be opened." ; 140*cdf0e10cSrcweir }; 141*cdf0e10cSrcweir String SCWARN_IMPORT_WRONG_FM3 & ERRCODE_RES_MASK 142*cdf0e10cSrcweir { 143*cdf0e10cSrcweir Text [ en-US ] = "Error in file structure of corresponding FM3-File." ; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir String SCWARN_CORE_HARD_RECALC & ERRCODE_RES_MASK 146*cdf0e10cSrcweir { 147*cdf0e10cSrcweir Text [ en-US ] = "Document too complex for automatic calculation. Press F9 to recalculate." ; 148*cdf0e10cSrcweir }; 149*cdf0e10cSrcweir String SCWARN_EXPORT_MAXROW & ERRCODE_RES_MASK 150*cdf0e10cSrcweir { 151*cdf0e10cSrcweir Text [ en-US ] = "The document contains more rows than supported in the selected format.\nAdditional rows were not saved." ; 152*cdf0e10cSrcweir }; 153*cdf0e10cSrcweir String SCWARN_IMPORT_INFOLOST & ERRCODE_RES_MASK 154*cdf0e10cSrcweir { 155*cdf0e10cSrcweir Text [ en-US ] = "The document contains information not recognized by this program version.\nResaving the document will delete this information!" ; 156*cdf0e10cSrcweir }; 157*cdf0e10cSrcweir String SCWARN_EXPORT_DATALOST & ERRCODE_RES_MASK 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir Text [ en-US ] = "Not all cell contents could be saved in the specified format." ; 160*cdf0e10cSrcweir }; 161*cdf0e10cSrcweir String SCWARN_EXPORT_NONCONVERTIBLE_CHARS & ERRCODE_RES_MASK 162*cdf0e10cSrcweir { 163*cdf0e10cSrcweir Text [ en-US ] = "The following characters could not be converted to the selected character set\nand were written as Ӓ surrogates:\n\n$(ARG1)"; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir String SCWARN_IMPORT_FILE_ROWCOL & ERRCODE_RES_MASK 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)."; 168*cdf0e10cSrcweir }; 169*cdf0e10cSrcweir}; 170*cdf0e10cSrcweir 171