Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 1 | # Generated from 'WASTE.h' |
| 2 | |
| 3 | kPascalStackBased = None # workaround for header parsing |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 4 | def FOUR_CHAR_CODE(x): return x |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 5 | weCantUndoErr = -10015 |
| 6 | weEmptySelectionErr = -10013 |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 7 | weUnknownObjectTypeErr = -9478 |
| 8 | weObjectNotFoundErr = -9477 |
| 9 | weReadOnlyErr = -9476 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 10 | weTextNotFoundErr = -9474 |
| 11 | weInvalidTextEncodingErr = -9473 |
| 12 | weDuplicateAttributeErr = -9472 |
| 13 | weInvalidAttributeSizeErr = -9471 |
| 14 | weReadOnlyAttributeErr = -9470 |
| 15 | weOddByteCountErr = -9469 |
| 16 | weHandlerNotFoundErr = -1717 |
| 17 | weNotHandledErr = -1708 |
| 18 | weNewerVersionErr = -1706 |
| 19 | weCorruptDataErr = -1702 |
| 20 | weProtocolErr = -603 |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 21 | weUndefinedSelectorErr = -50 |
| 22 | weFlushLeft = -2 |
| 23 | weFlushRight = -1 |
| 24 | weFlushDefault = 0 |
| 25 | weCenter = 1 |
| 26 | weJustify = 2 |
| 27 | weDirDefault = 1 |
| 28 | weDirRightToLeft = -1 |
| 29 | weDirLeftToRight = 0 |
| 30 | weDoFont = 0x0001 |
| 31 | weDoFace = 0x0002 |
| 32 | weDoSize = 0x0004 |
| 33 | weDoColor = 0x0008 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 34 | weDoAll = weDoFont | weDoFace | weDoSize | weDoColor |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 35 | weDoAddSize = 0x0010 |
| 36 | weDoToggleFace = 0x0020 |
| 37 | weDoReplaceFace = 0x0040 |
| 38 | weDoPreserveScript = 0x0080 |
| 39 | weDoExtractSubscript = 0x0100 |
| 40 | weDoFaceMask = 0x0200 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 41 | weDoDirection = 0x00000001 |
| 42 | weDoAlignment = 0x00000002 |
| 43 | weDoLeftIndent = 0x00000004 |
| 44 | weDoRightIndent = 0x00000008 |
| 45 | weDoFirstLineIndent = 0x00000010 |
| 46 | weDoLineSpacing = 0x00000020 |
| 47 | weDoSpaceBefore = 0x00000040 |
| 48 | weDoSpaceAfter = 0x00000080 |
| 49 | weDoBottomBorderStyle = 0x00000400 |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 50 | kLeadingEdge = -1 |
| 51 | kTrailingEdge = 0 |
| 52 | kObjectEdge = 2 |
| 53 | weFAutoScroll = 0 |
| 54 | weFOutlineHilite = 2 |
| 55 | weFReadOnly = 5 |
| 56 | weFUndo = 6 |
| 57 | weFIntCutAndPaste = 7 |
| 58 | weFDragAndDrop = 8 |
| 59 | weFInhibitRecal = 9 |
| 60 | weFUseTempMem = 10 |
| 61 | weFDrawOffscreen = 11 |
| 62 | weFInhibitRedraw = 12 |
| 63 | weFMonoStyled = 13 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 64 | weFMultipleUndo = 14 |
| 65 | weFNoKeyboardSync = 29 |
| 66 | weFInhibitICSupport = 30 |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 67 | weFInhibitColor = 31 |
Jack Jansen | 60087fb | 2002-12-30 22:04:23 +0000 | [diff] [blame] | 68 | weDoAutoScroll = 1 << weFAutoScroll |
| 69 | weDoOutlineHilite = 1 << weFOutlineHilite |
| 70 | weDoReadOnly = 1 << weFReadOnly |
| 71 | weDoUndo = 1 << weFUndo |
| 72 | weDoIntCutAndPaste = 1 << weFIntCutAndPaste |
| 73 | weDoDragAndDrop = 1 << weFDragAndDrop |
| 74 | weDoInhibitRecal = 1 << weFInhibitRecal |
| 75 | weDoUseTempMem = 1 << weFUseTempMem |
| 76 | weDoDrawOffscreen = 1 << weFDrawOffscreen |
| 77 | weDoInhibitRedraw = 1 << weFInhibitRedraw |
| 78 | weDoMonoStyled = 1 << weFMonoStyled |
| 79 | weDoMultipleUndo = 1 << weFMultipleUndo |
| 80 | weDoNoKeyboardSync = 1 << weFNoKeyboardSync |
| 81 | weDoInhibitICSupport = 1 << weFInhibitICSupport |
| 82 | # weDoInhibitColor = 1 << weFInhibitColor |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 83 | weBitToggle = -2 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 84 | weBitTest = -1 |
| 85 | weBitClear = 0 |
| 86 | weBitSet = 1 |
| 87 | weLowerCase = 0 |
| 88 | weUpperCase = 1 |
| 89 | weFindWholeWords = 0x00000001 |
| 90 | weFindCaseInsensitive = 0x00000002 |
| 91 | weFindDiacriticalInsensitive = 0x00000004 |
| 92 | wePutIntCutAndPaste = 0x00000001 |
| 93 | wePutAddToTypingSequence = 0x00000002 |
| 94 | wePutDetectUnicodeBOM = 0x00000200 |
| 95 | weStreamDestinationKindMask = 0x000000FF |
| 96 | weStreamIncludeObjects = 0x00000100 |
| 97 | weGetAddUnicodeBOM = 0x00000200 |
| 98 | weGetLittleEndian = 0x00000400 |
| 99 | weTagFontFamily = FOUR_CHAR_CODE('font') |
| 100 | weTagFontSize = FOUR_CHAR_CODE('ptsz') |
| 101 | weTagPlain = FOUR_CHAR_CODE('plan') |
| 102 | weTagBold = FOUR_CHAR_CODE('bold') |
| 103 | weTagItalic = FOUR_CHAR_CODE('ital') |
| 104 | weTagUnderline = FOUR_CHAR_CODE('undl') |
| 105 | weTagOutline = FOUR_CHAR_CODE('outl') |
| 106 | weTagShadow = FOUR_CHAR_CODE('shad') |
| 107 | weTagCondensed = FOUR_CHAR_CODE('cond') |
| 108 | weTagExtended = FOUR_CHAR_CODE('pexp') |
| 109 | weTagStrikethrough = FOUR_CHAR_CODE('strk') |
| 110 | weTagTextColor = FOUR_CHAR_CODE('colr') |
| 111 | weTagBackgroundColor = FOUR_CHAR_CODE('pbcl') |
| 112 | weTagTransferMode = FOUR_CHAR_CODE('pptm') |
| 113 | weTagVerticalShift = FOUR_CHAR_CODE('xshf') |
| 114 | weTagAlignment = FOUR_CHAR_CODE('pjst') |
| 115 | weTagDirection = FOUR_CHAR_CODE('LDIR') |
| 116 | weTagLineSpacing = FOUR_CHAR_CODE('ledg') |
| 117 | weTagLeftIndent = FOUR_CHAR_CODE('lein') |
| 118 | weTagRightIndent = FOUR_CHAR_CODE('riin') |
| 119 | weTagFirstLineIndent = FOUR_CHAR_CODE('fidt') |
| 120 | weTagSpaceBefore = FOUR_CHAR_CODE('spbe') |
| 121 | weTagSpaceAfter = FOUR_CHAR_CODE('spaf') |
| 122 | weTagBottomBorderStyle = FOUR_CHAR_CODE('BBRD') |
| 123 | weTagForceFontFamily = FOUR_CHAR_CODE('ffnt') |
| 124 | weTagAddFontSize = FOUR_CHAR_CODE('+siz') |
| 125 | weTagAddVerticalShift = FOUR_CHAR_CODE('+shf') |
| 126 | weTagTextEncoding = FOUR_CHAR_CODE('ptxe') |
| 127 | weTagQDStyles = FOUR_CHAR_CODE('qdst') |
| 128 | weTagTETextStyle = FOUR_CHAR_CODE('tets') |
| 129 | weTagAlignmentDefault = FOUR_CHAR_CODE('deft') |
| 130 | weTagAlignmentLeft = FOUR_CHAR_CODE('left') |
| 131 | weTagAlignmentCenter = FOUR_CHAR_CODE('cent') |
| 132 | weTagAlignmentRight = FOUR_CHAR_CODE('rght') |
| 133 | weTagAlignmentFull = FOUR_CHAR_CODE('full') |
| 134 | weTagDirectionDefault = FOUR_CHAR_CODE('deft') |
| 135 | weTagDirectionLeftToRight = FOUR_CHAR_CODE('L->R') |
| 136 | weTagDirectionRightToLeft = FOUR_CHAR_CODE('R->L') |
| 137 | weTagBorderStyleNone = FOUR_CHAR_CODE('NONE') |
| 138 | weTagBorderStyleThin = FOUR_CHAR_CODE('SLDL') |
| 139 | weTagBorderStyleDotted = FOUR_CHAR_CODE('DTDL') |
| 140 | weTagBorderStyleThick = FOUR_CHAR_CODE('THKL') |
| 141 | weLineSpacingSingle = 0x00000000 |
| 142 | weLineSpacingOneAndHalf = 0x00008000 |
| 143 | weLineSpacingDouble = 0x00010000 |
| 144 | weCharByteHook = FOUR_CHAR_CODE('cbyt') |
| 145 | weCharToPixelHook = FOUR_CHAR_CODE('c2p ') |
| 146 | weCharTypeHook = FOUR_CHAR_CODE('ctyp') |
| 147 | weClickLoop = FOUR_CHAR_CODE('clik') |
| 148 | weCurrentDrag = FOUR_CHAR_CODE('drag') |
| 149 | weDrawTextHook = FOUR_CHAR_CODE('draw') |
| 150 | weDrawTSMHiliteHook = FOUR_CHAR_CODE('dtsm') |
| 151 | weEraseHook = FOUR_CHAR_CODE('eras') |
| 152 | weFontFamilyToNameHook = FOUR_CHAR_CODE('ff2n') |
| 153 | weFontNameToFamilyHook = FOUR_CHAR_CODE('fn2f') |
| 154 | weFluxProc = FOUR_CHAR_CODE('flux') |
| 155 | weHiliteDropAreaHook = FOUR_CHAR_CODE('hidr') |
| 156 | weLineBreakHook = FOUR_CHAR_CODE('lbrk') |
| 157 | wePixelToCharHook = FOUR_CHAR_CODE('p2c ') |
| 158 | wePort = FOUR_CHAR_CODE('port') |
| 159 | wePreTrackDragHook = FOUR_CHAR_CODE('ptrk') |
| 160 | weRefCon = FOUR_CHAR_CODE('refc') |
| 161 | weScrollProc = FOUR_CHAR_CODE('scrl') |
| 162 | weText = FOUR_CHAR_CODE('text') |
| 163 | weTranslateDragHook = FOUR_CHAR_CODE('xdrg') |
| 164 | weTranslucencyThreshold = FOUR_CHAR_CODE('tluc') |
| 165 | weTSMDocumentID = FOUR_CHAR_CODE('tsmd') |
| 166 | weTSMPreUpdate = FOUR_CHAR_CODE('pre ') |
| 167 | weTSMPostUpdate = FOUR_CHAR_CODE('post') |
| 168 | weURLHint = FOUR_CHAR_CODE('urlh') |
| 169 | weWordBreakHook = FOUR_CHAR_CODE('wbrk') |
| 170 | weNewHandler = FOUR_CHAR_CODE('new ') |
| 171 | weDisposeHandler = FOUR_CHAR_CODE('free') |
| 172 | weDrawHandler = FOUR_CHAR_CODE('draw') |
| 173 | weClickHandler = FOUR_CHAR_CODE('clik') |
| 174 | weStreamHandler = FOUR_CHAR_CODE('strm') |
| 175 | weHoverHandler = FOUR_CHAR_CODE('hovr') |
| 176 | kTypeText = FOUR_CHAR_CODE('TEXT') |
| 177 | kTypeStyles = FOUR_CHAR_CODE('styl') |
| 178 | kTypeSoup = FOUR_CHAR_CODE('SOUP') |
| 179 | kTypeFontTable = FOUR_CHAR_CODE('FISH') |
| 180 | kTypeParaFormat = FOUR_CHAR_CODE('WEpf') |
| 181 | kTypeRulerScrap = FOUR_CHAR_CODE('WEru') |
| 182 | kTypeCharFormat = FOUR_CHAR_CODE('WEcf') |
| 183 | kTypeStyleScrap = FOUR_CHAR_CODE('WEst') |
| 184 | kTypeUnicodeText = FOUR_CHAR_CODE('utxt') |
| 185 | kTypeUTF8Text = FOUR_CHAR_CODE('UTF8') |
| 186 | kTypeStyledText = FOUR_CHAR_CODE('STXT') |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 187 | weAKNone = 0 |
| 188 | weAKUnspecified = 1 |
| 189 | weAKTyping = 2 |
| 190 | weAKCut = 3 |
| 191 | weAKPaste = 4 |
| 192 | weAKClear = 5 |
| 193 | weAKDrag = 6 |
| 194 | weAKSetStyle = 7 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 195 | weAKSetRuler = 8 |
| 196 | weAKBackspace = 9 |
| 197 | weAKFwdDelete = 10 |
| 198 | weAKCaseChange = 11 |
| 199 | weAKObjectChange = 12 |
Jack Jansen | 52caac1 | 2001-08-19 22:05:33 +0000 | [diff] [blame] | 200 | weToScrap = 0 |
| 201 | weToDrag = 1 |
| 202 | weToSoup = 2 |
Jack Jansen | 36e142e | 2002-12-30 20:20:58 +0000 | [diff] [blame] | 203 | weMouseEnter = 0 |
| 204 | weMouseWithin = 1 |
| 205 | weMouseLeave = 2 |
| 206 | kCurrentSelection = -1 |
| 207 | kNullStyle = -2 |