13c07ef42SAndrew Rist/************************************************************** 2*64296bf4Smseidel * 33c07ef42SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 43c07ef42SAndrew Rist * or more contributor license agreements. See the NOTICE file 53c07ef42SAndrew Rist * distributed with this work for additional information 63c07ef42SAndrew Rist * regarding copyright ownership. The ASF licenses this file 73c07ef42SAndrew Rist * to you under the Apache License, Version 2.0 (the 83c07ef42SAndrew Rist * "License"); you may not use this file except in compliance 93c07ef42SAndrew Rist * with the License. You may obtain a copy of the License at 10*64296bf4Smseidel * 113c07ef42SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*64296bf4Smseidel * 133c07ef42SAndrew Rist * Unless required by applicable law or agreed to in writing, 143c07ef42SAndrew Rist * software distributed under the License is distributed on an 153c07ef42SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 163c07ef42SAndrew Rist * KIND, either express or implied. See the License for the 173c07ef42SAndrew Rist * specific language governing permissions and limitations 183c07ef42SAndrew Rist * under the License. 19*64296bf4Smseidel * 203c07ef42SAndrew Rist *************************************************************/ 213c07ef42SAndrew Rist 223c07ef42SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "svtools/sores.hxx" 25cdf0e10cSrcweir#define __RSC 26cdf0e10cSrcweir#include <svtools/soerr.hxx> 27cdf0e10cSrcweir#define S_MAX 0x7fff 28cdf0e10cSrcweir 29cdf0e10cSrcweirResource RID_SO_ERROR_HANDLER 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir String ERRCODE_SO_GENERALERROR&S_MAX 32cdf0e10cSrcweir { 33cdf0e10cSrcweir Text [ en-US ] = "General OLE error." ; 34cdf0e10cSrcweir }; 35cdf0e10cSrcweir String ERRCODE_SO_CANT_BINDTOSOURCE&S_MAX 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Text [ en-US ] = "The connection to the object cannot be established." ; 38cdf0e10cSrcweir }; 39cdf0e10cSrcweir String ERRCODE_SO_NOCACHE_UPDATED&S_MAX 40cdf0e10cSrcweir { 41cdf0e10cSrcweir Text [ en-US ] = "No cache files were updated." ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir String ERRCODE_SO_SOMECACHES_NOTUPDATED&S_MAX 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Text [ en-US ] = "Some cache files were not updated." ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir String ERRCODE_SO_MK_UNAVAILABLE&S_MAX 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Text [ en-US ] = "Status of object cannot be determined in a timely manner." ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir String ERRCODE_SO_E_CLASSDIFF&S_MAX 52cdf0e10cSrcweir { 53cdf0e10cSrcweir Text [ en-US ] = "Source of the OLE link has been converted." ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir String ERRCODE_SO_MK_NO_OBJECT&S_MAX 56cdf0e10cSrcweir { 57cdf0e10cSrcweir Text [ en-US ] = "The object could not be found." ; 58cdf0e10cSrcweir }; 59cdf0e10cSrcweir String ERRCODE_SO_MK_EXCEEDED_DEADLINE&S_MAX 60cdf0e10cSrcweir { 61cdf0e10cSrcweir Text [ en-US ] = "The process could not be completed within the specified time period." ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir String ERRCODE_SO_MK_CONNECT_MANUALLY&S_MAX 64cdf0e10cSrcweir { 65cdf0e10cSrcweir Text [ en-US ] = "OLE could not connect to a network device (server)." ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir String ERRCODE_SO_MK_INTERMEDIATE_INTERFACE_NOT_SUPPORTED&S_MAX 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Text [ en-US ] = "The object found does not support the interface required for the desired operation." ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir String ERRCODE_SO_NO_INTERFACE&S_MAX 72cdf0e10cSrcweir { 73cdf0e10cSrcweir Text [ en-US ] = "Interface not supported." ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir String ERRCODE_SO_OUT_OF_MEMORY&S_MAX 76cdf0e10cSrcweir { 77cdf0e10cSrcweir Text [ en-US ] = "Insufficient memory." ; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir String ERRCODE_SO_MK_SYNTAX&S_MAX 80cdf0e10cSrcweir { 81cdf0e10cSrcweir Text [ en-US ] = "The connection name could not be processed." ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir String ERRCODE_SO_MK_REDUCED_TO_SELF&S_MAX 84cdf0e10cSrcweir { 85cdf0e10cSrcweir Text [ en-US ] = "The connection name could not be reduced further." ; 86cdf0e10cSrcweir }; 87cdf0e10cSrcweir String ERRCODE_SO_MK_NO_INVERSE&S_MAX 88cdf0e10cSrcweir { 89cdf0e10cSrcweir Text [ en-US ] = "The connection name has no inverse." ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir String ERRCODE_SO_MK_NO_PREFIX&S_MAX 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Text [ en-US ] = "No common prefix exists." ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir String ERRCODE_SO_MK_HIM&S_MAX 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Text [ en-US ] = "The connection name is contained in the other one." ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir String ERRCODE_SO_MK_US&S_MAX 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Text [ en-US ] = "The connection names (the receiver and the other moniker) are identical." ; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir String ERRCODE_SO_MK_ME&S_MAX 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Text [ en-US ] = "The connection name is contained in the other one." ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir String ERRCODE_SO_MK_NOT_BINDABLE&S_MAX 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Text [ en-US ] = "The connection name cannot be connected. This is a relative name." ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir String ERRCODE_SO_NOT_IMPLEMENTED&S_MAX 112cdf0e10cSrcweir { 113cdf0e10cSrcweir Text [ en-US ] = "Operation not implemented." ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir String ERRCODE_SO_MK_NO_STORAGE&S_MAX 116cdf0e10cSrcweir { 117cdf0e10cSrcweir Text [ en-US ] = "No storage." ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir String ERRCODE_SO_FALSE&S_MAX 120cdf0e10cSrcweir { 121cdf0e10cSrcweir Text [ en-US ] = "False." ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir String ERRCODE_SO_MK_NEED_GENERIC&S_MAX 124cdf0e10cSrcweir { 125cdf0e10cSrcweir Text [ en-US ] = "Monikers must be composed generically." ; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir String ERRCODE_SO_PENDING&S_MAX 128cdf0e10cSrcweir { 129cdf0e10cSrcweir Text [ en-US ] = "Data not available at this time." ; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir String ERRCODE_SO_NOT_INPLACEACTIVE & S_MAX 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Text [ en-US ] = "Object could not be activated InPlace." ; 134cdf0e10cSrcweir }; 135cdf0e10cSrcweir String ERRCODE_SO_LINDEX & S_MAX 136cdf0e10cSrcweir { 137cdf0e10cSrcweir Text [ en-US ] = "Invalid index." ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir String ERRCODE_SO_CANNOT_DOVERB_NOW & S_MAX 140cdf0e10cSrcweir { 141cdf0e10cSrcweir Text [ en-US ] = "The action cannot be executed in the object's current state." ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir String ERRCODE_SO_OLEOBJ_INVALIDHWND & S_MAX 144cdf0e10cSrcweir { 145cdf0e10cSrcweir Text [ en-US ] = "An invalid window was passed when activated." ; 146cdf0e10cSrcweir }; 147cdf0e10cSrcweir String ERRCODE_SO_NOVERBS & S_MAX 148cdf0e10cSrcweir { 149cdf0e10cSrcweir Text [ en-US ] = "The object does not support any actions." ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir String ERRCODE_SO_INVALIDVERB & S_MAX 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Text [ en-US ] = "The action is not defined. The default action will be executed." ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir String ERRCODE_SO_MK_CONNECT & S_MAX 156cdf0e10cSrcweir { 157cdf0e10cSrcweir Text [ en-US ] = "A link to the network could not be re-established." ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir String ERRCODE_SO_NOTIMPL & S_MAX 160cdf0e10cSrcweir { 161cdf0e10cSrcweir Text [ en-US ] = "Object does not support this action." ; 162cdf0e10cSrcweir }; 163cdf0e10cSrcweir String ERRCODE_SO_MK_CANTOPENFILE & S_MAX 164cdf0e10cSrcweir { 165cdf0e10cSrcweir Text [ en-US ] = "The specified file could not be opened." ; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir /* 168cdf0e10cSrcweir String & S_MAX 169cdf0e10cSrcweir { 170*64296bf4Smseidel Text = "" ; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir*/ 173cdf0e10cSrcweir}; 174cdf0e10cSrcweirResource RID_SO_ERRCTX 175cdf0e10cSrcweir{ 176cdf0e10cSrcweir String ERRCTX_SO_DOVERB 177cdf0e10cSrcweir { 178cdf0e10cSrcweir Text [ en-US ] = "$(ERR) activating object" ; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir}; 181cdf0e10cSrcweirString STR_INS_OBJECT 182cdf0e10cSrcweir{ 183cdf0e10cSrcweir Text [ en-US ] = "Inserts a new %1-Object into your document." ; 184cdf0e10cSrcweir}; 185cdf0e10cSrcweirString STR_INS_OBJECT_ICON 186cdf0e10cSrcweir{ 187cdf0e10cSrcweir Text [ en-US ] = "Inserts a new %1-Object into your document as a symbol." ; 188cdf0e10cSrcweir}; 189cdf0e10cSrcweirString STR_INS_FILE 190cdf0e10cSrcweir{ 191cdf0e10cSrcweir Text [ en-US ] = "Inserts the contents of the file into your document to enable later editing in the original application." ; 192cdf0e10cSrcweir}; 193cdf0e10cSrcweirString STR_INS_PLUGIN 194cdf0e10cSrcweir{ 195cdf0e10cSrcweir Text [ en-US ] = "Inserts a plug-in object into your document with a reference to the plug-in data. When the object is activated, the plug-in is automatically executed." ; 196cdf0e10cSrcweir}; 197cdf0e10cSrcweirString STR_INS_APPLET 198cdf0e10cSrcweir{ 199cdf0e10cSrcweir Text [ en-US ] = "Inserts an applet object into your document. When the object is activated, the applet is automatically executed." ; 200cdf0e10cSrcweir}; 201cdf0e10cSrcweirString STR_INS_FILE_ICON 202cdf0e10cSrcweir{ 203*64296bf4Smseidel Text [ en-US ] = "Inserts the contents of the file as an icon into your document." ; 204cdf0e10cSrcweir}; 205cdf0e10cSrcweirString STR_INS_FILE_LINK 206cdf0e10cSrcweir{ 207cdf0e10cSrcweir Text [ en-US ] = "Inserts the contents of the file into your document and creates a link to the source file. Changes made to the source file will be reflected in your document." ; 208cdf0e10cSrcweir}; 209cdf0e10cSrcweirString STR_INS_FILE_ICON_LINK 210cdf0e10cSrcweir{ 211cdf0e10cSrcweir Text [ en-US ] = "Inserts an icon into your document representing the file. Changes made to the source file will be reflected in your document." ; 212cdf0e10cSrcweir}; 213cdf0e10cSrcweirString STR_PASTE 214cdf0e10cSrcweir{ 215cdf0e10cSrcweir Text [ en-US ] = "Pastes the contents of the clipboard as %1 in your document." ; 216cdf0e10cSrcweir}; 217cdf0e10cSrcweirString STR_CONVERT_TO 218cdf0e10cSrcweir{ 219edbf9ee0SMatthias Seidel Text [ en-US ] = "Converts the selected %1 object to the object type %2." ; 220cdf0e10cSrcweir}; 221cdf0e10cSrcweirString STR_ACTIVATE_AS 222cdf0e10cSrcweir{ 223cdf0e10cSrcweir Text [ en-US ] = "All objects of type %1 are activated as %2, but not converted" ; 224cdf0e10cSrcweir}; 225cdf0e10cSrcweirString STR_VERB_OPEN 226cdf0e10cSrcweir{ 227cdf0e10cSrcweir Text [ en-US ] = "~Open" ; 228cdf0e10cSrcweir}; 229cdf0e10cSrcweirString STR_VERB_PROPS 230cdf0e10cSrcweir{ 231cdf0e10cSrcweir Text [ en-US ] = "~Properties" ; 232cdf0e10cSrcweir}; 233cdf0e10cSrcweirString STR_PLUGIN_CANT_SHOW 234cdf0e10cSrcweir{ 235cdf0e10cSrcweir Text [ en-US ] = "Plug-in % cannot be displayed." ; 236cdf0e10cSrcweir}; 237cdf0e10cSrcweirString STR_ERROR_DDE 238cdf0e10cSrcweir{ 239cdf0e10cSrcweir Text [ en-US ] = "DDE link to % for % area % are not available." ; 240cdf0e10cSrcweir}; 241cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE 242cdf0e10cSrcweir{ 243cdf0e10cSrcweir Text [ en-US ] = "Object % could not be inserted." ; 244cdf0e10cSrcweir}; 245cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE_FROM_FILE 246cdf0e10cSrcweir{ 247cdf0e10cSrcweir Text [ en-US ] = "Object from file % could not be inserted." ; 248cdf0e10cSrcweir}; 249cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE_PLUGIN 250cdf0e10cSrcweir{ 251cdf0e10cSrcweir Text [ en-US ] = "Plug-in from document % could not be inserted." ; 252cdf0e10cSrcweir}; 253cdf0e10cSrcweirString STR_QUERYUPDATELINKS 254cdf0e10cSrcweir{ 255cdf0e10cSrcweir Text [ en-US ] = "Update all links?" ; 256cdf0e10cSrcweir}; 257cdf0e10cSrcweirString STR_FURTHER_OBJECT 258cdf0e10cSrcweir{ 259cdf0e10cSrcweir Text [ en-US ] = "Further objects" ; 260cdf0e10cSrcweir}; 261cdf0e10cSrcweirString STR_EDIT_APPLET 262cdf0e10cSrcweir{ 263cdf0e10cSrcweir Text [ en-US ] = "Edit Applet" ; 264cdf0e10cSrcweir}; 265cdf0e10cSrcweir 266cdf0e10cSrcweirBitmap BMP_PLUGIN 267cdf0e10cSrcweir{ 268*64296bf4Smseidel File = "plugin.png" ; 269cdf0e10cSrcweir}; 270cdf0e10cSrcweirBitmap BMP_OLEOBJ 271cdf0e10cSrcweir{ 272*64296bf4Smseidel File = "oleobj.png" ; 273cdf0e10cSrcweir}; 274cdf0e10cSrcweirMenu MB_PLUGIN 275cdf0e10cSrcweir{ 276cdf0e10cSrcweir ItemList = 277cdf0e10cSrcweir { 278cdf0e10cSrcweir MenuItem MI_PLUGIN ; 279cdf0e10cSrcweir }; 280*64296bf4Smseidel ExtraData = { 1 ; 0 ; 0 ; }; // Um InPlace Menu zu benutzen 281cdf0e10cSrcweir}; 282cdf0e10cSrcweirMenuItem MI_PLUGIN 283cdf0e10cSrcweir{ 284cdf0e10cSrcweir Identifier = MI_PLUGIN ; 285cdf0e10cSrcweir SubMenu = Menu 286cdf0e10cSrcweir { 287cdf0e10cSrcweir ItemList = 288cdf0e10cSrcweir { 289cdf0e10cSrcweir MenuItem 290cdf0e10cSrcweir { 291cdf0e10cSrcweir Identifier = MI_PLUGIN_DEACTIVATE ; 292cdf0e10cSrcweir Text [ en-US ] = "Deactivate" ; 293cdf0e10cSrcweir }; 294cdf0e10cSrcweir }; 295cdf0e10cSrcweir }; 296cdf0e10cSrcweir}; 297cdf0e10cSrcweirString STR_UNKNOWN_SOURCE 298cdf0e10cSrcweir{ 299cdf0e10cSrcweir Text [ en-US ] = "Unknown source" ; 300cdf0e10cSrcweir}; 301cdf0e10cSrcweir 302*64296bf4Smseidel// ********************************************************************** EOF 303