
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\ERRORDEF.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

#ifndef SOM_Module_5codwin5ch5cERRORDEF_OpenDoc_Errors_defined
#define SOM_Module_5codwin5ch5cERRORDEF_OpenDoc_Errors_defined 1
#include <som.h>

/*
 * Start of user-defined types:
 */
#define kODErrAssertionFailed 130 /* 130 */
#define kODErrInvalidParameter 129 /* 129 */
#define kODErrInvalidFrame 9 /* 9 */
#define kODErrInvalidFacet 101 /* 101 */
#define kODErrInvalidValue 23 /* 23 */
#define kODErrMemoryProblem 127 /* 127 */
#define kODMaxError 138 /* 138 */
#define kODNoError 0 /* 0 */
#define kODErrUndefined 1 /* 1 */
#define kODErrIllegalNullInput 132 /* 132 */
#define kODErrObjectNotInitialized 133 /* 133 */
#define kODErrOutOfMemory 61 /* 61 */
#define kODErrNotImplemented 87 /* 87 */
#define kODErrReadErr 104 /* 104 */
#define kODErrWriteErr 105 /* 105 */
#define kODErrSubClassResponsibility 131 /* 131 */
#define kODErrUnsupportedExtension 22 /* 22 */
#define kODErrInvalidRefCount 52 /* 52 */
#define kODErrZeroRefCount 57 /* 57 */
#define kODErrIteratorOutOfSync 88 /* 88 */
#define kODErrCannotEmbed 7 /* 7 */
#define kODErrKeyAlreadyExists 28 /* 28 */
#define kODErrWrongNameSpaceType 29 /* 29 */
#define kODErrInvalidGraphicsSystem 59 /* 59 */
#define kODErrNoShapeGeometry 112 /* 112 */
#define kODErrTransformErr 128 /* 128 */
#define kODErrInvalidCanvas 99 /* 99 */
#define kODErrUnsupportedFramePositionCode 102 /* 102 */
#define kODErrIllegalNullPartInput 8 /* 8 */
#define kODErrIllegalNullTransformInput 117 /* 117 */
#define kODErrPartHasNoSemanticInterface 134 /* 134 */
#define kODErrUnsupportedPosCode 25 /* 25 */
#define kODErrInvalidPermissions 35 /* 35 */
#define kODErrInvalidName 18 /* 18 */
#define kODErrInvalidContainer 3 /* 3 */
#define kODErrInvalidDocument 4 /* 4 */
#define kODErrInvalidDraft 5 /* 5 */
#define kODErrInvalidStorageUnit 6 /* 6 */
#define kODErrNoValueAtThatIndex 26 /* 26 */
#define kODErrCannotAddProperty 32 /* 32 */
#define kODErrCannotAddType 33 /* 33 */
#define kODErrUnfocusedStorageUnit 34 /* 34 */
#define kODErrIllegalNullPropertyInput 47 /* 47 */
#define kODErrIllegalNullSUCursorInput 48 /* 48 */
#define kODErrInvalidStorageUnitRef 73 /* 73 */
#define kODErrStorageUnitLocked 75 /* 75 */
#define kODErrInvalidStorageUnitKey 76 /* 76 */
#define kODErrStorageUnitNotLocked 77 /* 77 */
#define kODErrInvalidType 16 /* 16 */
#define kODErrInvalidProperty 24 /* 24 */
#define kODErrNoDraftProperties 51 /* 51 */
#define kODErrCannotCreateFrame 53 /* 53 */
#define kODErrCannotGetFrame 68 /* 68 */
#define kODErrCannotCreatePart 69 /* 69 */
#define kODErrCannotGetPart 70 /* 70 */
#define kODErrCannotCreateLink 96 /* 96 */
#define kODErrCannotGetLink 115 /* 115 */
#define kODErrInvalidID 20 /* 20 */
#define kODErrInconsistentCloneKind 126 /* 126 */
#define kODErrInvalidCloneKind 137 /* 137 */
#define kODErrInvalidBelowDraft 38 /* 38 */
#define kODErrDraftNotExists 39 /* 39 */
#define kODErrCannotCollapseDrafts 41 /* 41 */
#define kODErrNonEmptyDraft 42 /* 42 */
#define kODErrNoPreviousDraft 46 /* 46 */
#define kODErrOutstandingDraft 56 /* 56 */
#define kODErrInvalidDraftID 62 /* 62 */
#define kODErrCannotChangePermissions 65 /* 65 */
#define kODErrContainerExists 40 /* 40 */
#define kODErrContainerNotExists 44 /* 44 */
#define kODErrCannotGetExternalLink 95 /* 95 */
#define kODErrNoLinkSpecValue 97 /* 97 */
#define kODErrUnknownLinkSpecVersion 98 /* 98 */
#define kODErrCorruptLinkSpecValue 100 /* 100 */
#define kODErrNotExportedLink 113 /* 113 */
#define kODErrBrokenLink 135 /* 135 */
#define kODErrNotImportedLink 114 /* 114 */
#define kODErrInvalidLinkKey 118 /* 118 */
#define kODErrBrokenLinkSource 136 /* 136 */
#define kODErrDocNotSaved 119 /* 119 */
#define kODErrNoDragManager 106 /* 106 */
#define kODErrNoDragSystemStorage 107 /* 107 */
#define kODErrDragItemNotFound 108 /* 108 */
#define kODErrCannotAllocateDragItem 109 /* 109 */
#define kODErrUnknownDragImageType 110 /* 110 */
#define kODErrDragTrackingException 111 /* 111 */
#define kODErrCannotCreateContainer 84 /* 84 */
#define kODErrCannotOpenContainer 85 /* 85 */
#define kODErrFocusAlreadyRegistered 89 /* 89 */
#define kODErrFocusNotRegistered 90 /* 90 */
#define kODErrIllegalNullDispatchModuleInput 15 /* 15 */
#define kODErrCannotMarkAction 120 /* 120 */
#define kODErrEmptyStack 121 /* 121 */
#define kODErrNoBeginAction 122 /* 122 */
#define kODErrCannotAddAction 123 /* 123 */
#define kODErrCannotCreateWindow 54 /* 54 */
#define OpenDoc_Errors_OpenDoc_Errors_Version "1.0."

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_OpenDoc_Errors_Version
    #ifdef OpenDoc_Errors_Version
        #undef OpenDoc_Errors_Version
        #define SOMTGD_OpenDoc_Errors_Version 1
    #else
        #define OpenDoc_Errors_Version OpenDoc_Errors_OpenDoc_Errors_Version
    #endif /* OpenDoc_Errors_Version */
#endif /* SOMTGD_OpenDoc_Errors_Version */
#endif /* SOM_DONT_USE_SHORT_NAMES */

/*
 * End of user-defined types.
 */
#endif /* SOM_Module_5codwin5ch5cERRORDEF_OpenDoc_Errors_defined */
