/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #define __RSC //#include #include "globals.hrc" #include "app.hrc" #include "swerror.h" #include "comcore.hrc"// MS: Warum gibst auf der Core-Seite // jetzt Resourcen /*-------------------------------------------------------------------- Description: Strings --------------------------------------------------------------------*/ String STR_COMCORE_READERROR { Text [ en-US ] = "Read-Error" ; }; String STR_COMCORE_CANT_SHOW { Text [ en-US ] = "Graphic cannot be displayed." ; }; /*-------------------------------------------------------------------- Description: Boxes --------------------------------------------------------------------*/ InfoBox ERR_CLPBRD_WRITE { Message [ en-US ] = "Error while copying to the clipboard." ; }; InfoBox ERR_CLPBRD_READ { Message [ en-US ] = "Error reading from the clipboard." ; }; #define ERR_CODE( class, err ) (class | (err - ERROR_SW_BASE)) #define WARN_CODE( class, err ) (class | ( err - WARN_SW_BASE)) Resource RID_SW_ERRHDL { // Import-Errors String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_FILE_FORMAT_ERROR ) { Text [ en-US ] = "File format error found." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_READ_ERROR ) { Text [ en-US ] = "Error reading file." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_INPUT_FILE ) { Text [ en-US ] = "Input file error." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_NOWRITER_FILE ) { Text [ en-US ] = "This is not a %PRODUCTNAME Writer file." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_UNEXPECTED_EOF ) { Text [ en-US ] = "Unexpected end of file." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SW6_PASSWD ) { Text [ en-US ] = "Password-protected files cannot be opened." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_NO_WW6_FILE_ERR ) { Text [ en-US ] = "This is not a WinWord6 file." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW6_FASTSAVE_ERR ) { Text [ en-US ] = "This file was saved with WinWord in 'Fast Save' mode. Please unmark the WinWord option 'Allow Fast Saves' and save the file again." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_ROWCOL ) { Text [ en-US ] = "File format error found at $(ARG1)(row,col)." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_NEW_VERSION ) { Text [ en-US ] = "File has been written in a newer version." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_WW8_NO_WW8_FILE_ERR ) { Text [ en-US ] = "This is not a WinWord97 file." ; }; String ERR_CODE ( ERRCODE_CLASS_READ , ERR_FORMAT_FILE_ROWCOL ) { Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ; }; // Export-Errors String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_WRITE_ERROR ) { Text [ en-US ] = "Error writing file." ; }; String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_OLD_GLOSSARY ) { Text [ en-US ] = "Wrong AutoText document version." ; }; String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_WRITE_ERROR_FILE ) { Text [ en-US ] = "Error in writing sub-document $(ARG1)." ; }; // Import-/Export-Errors String ERR_CODE ( ERRCODE_CLASS_READ , ERR_SWG_INTERNAL_ERROR ) { Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; }; String ERR_CODE ( ERRCODE_CLASS_WRITE , ERR_SWG_INTERNAL_ERROR ) { Text [ en-US ] = "Internal error in %PRODUCTNAME Writer file format." ; }; String ERR_CODE ( ERRCODE_CLASS_LOCKING , ERR_TXTBLOCK_NEWFILE_ERROR ) { Text [ en-US ] = "$(ARG1) has changed." ; }; String ERR_CODE ( ERRCODE_CLASS_PATH , ERR_AUTOPATH_ERROR ) { Text [ en-US ] = "$(ARG1) does not exist." ; }; String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLSPLIT_ERROR ) { Text [ en-US ] = "Cells cannot be further split." ; }; String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLINSCOL_ERROR ) { Text [ en-US ] = "Additional columns cannot be inserted." ; }; String ERR_CODE ( ERRCODE_CLASS_NONE , ERR_TBLDDECHG_ERROR ) { Text [ en-US ] = "The structure of a linked table cannot be modified." ; }; // -------------------- Warnings ----------------------------------- String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_NO_DRAWINGS ) { Text [ en-US ] = "No drawings could be read." ; }; String WARN_CODE ( ERRCODE_CLASS_READ , WARN_WW6_FASTSAVE_ERR ) { Text [ en-US ] = "This file was saved with Word in 'Fast Save' mode. Please unmark the Word option 'Allow Fast Saves' and save the file again." ; }; String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_FEATURES_LOST ) { Text [ en-US ] = "Not all attributes could be read." ; }; String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_FEATURES_LOST ) { Text [ en-US ] = "Not all attributes could be recorded." ; }; String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_OLE ) { Text [ en-US ] = "Some OLE objects could only be loaded as graphics." ; }; String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_OLE ) { Text [ en-US ] = "Some OLE objects could only be saved as graphics." ; }; String WARN_CODE ( ERRCODE_CLASS_READ , WARN_SWG_POOR_LOAD ) { Text [ en-US ] = "Document could not be completely loaded." ; }; String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_POOR_LOAD ) { Text [ en-US ] = "Document could not be completely saved." ; }; String WARN_CODE ( ERRCODE_CLASS_WRITE , WARN_SWG_HTML_NO_MACROS) { Text [ en-US ] = "This HTML document contains %PRODUCTNAME Basic macros.\nThey were not saved with the current export settings." ; }; String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_WRITE_ERROR_FILE ) { Text [ en-US ] = "Error in writing sub-document $(ARG1)." ; }; String ERR_CODE ( ERRCODE_CLASS_WRITE , WARN_FORMAT_FILE_ROWCOL ) { Text [ en-US ] = "Format error discovered in the file in sub-document $(ARG1) at $(ARG2)(row,col)." ; }; }; // ********************************************************************** EOF