1"""Suite Text: 2Level 0, version 0 3 4Generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2 5AETE/AEUT resource version 1/0, language 0, script 0 6""" 7 8import aetools 9import MacOS 10 11_code = 'TEXT' 12 13from StdSuites.Text_Suite import * 14class Text_Events(Text_Suite_Events): 15 16 pass 17 18 19class text(aetools.ComponentItem): 20 """text - independent text view objects """ 21 want = 'ctxt' 22class _Prop_beginning(aetools.NProperty): 23 """beginning - Beginning of element """ 24 which = 'bgng' 25 want = 'obj ' 26class _Prop_end(aetools.NProperty): 27 """end - Ending of element """ 28 which = 'end ' 29 want = 'obj ' 30class _Prop_infront(aetools.NProperty): 31 """infront - Immediately before element """ 32 which = 'pBef' 33 want = 'obj ' 34class _Prop_justbehind(aetools.NProperty): 35 """justbehind - Immediately after element """ 36 which = 'pAft' 37 want = 'obj ' 38class _Prop_updateLevel(aetools.NProperty): 39 """updateLevel - updating level. Can only be incremented or decremented. Do so only in a try block -- if the level is greater than zero, visual text updating will cease. """ 40 which = 'pUpL' 41 want = 'long' 42# element 'stys' as ['indx', 'name'] 43 44class styleset(aetools.ComponentItem): 45 """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """ 46 want = 'stys' 47class _Prop_color(aetools.NProperty): 48 """color - the color """ 49 which = 'colr' 50 want = 'RGB ' 51class _Prop_font(aetools.NProperty): 52 """font - font name """ 53 which = 'font' 54 want = 'TEXT' 55class _Prop_name(aetools.NProperty): 56 """name - style name """ 57 which = 'pnam' 58 want = 'TEXT' 59class _Prop_size(aetools.NProperty): 60 """size - the size in points """ 61 which = 'ptsz' 62 want = 'long' 63class _Prop_style(aetools.NProperty): 64 """style - the text styles or face attributes """ 65 which = 'txst' 66 want = 'tsty' 67class _Prop_writing_code(aetools.NProperty): 68 """writing code - the script system and language """ 69 which = 'psct' 70 want = 'tsty' 71 72stylesets = styleset 73text._superclassnames = [] 74text._privpropdict = { 75 'beginning' : _Prop_beginning, 76 'end' : _Prop_end, 77 'infront' : _Prop_infront, 78 'justbehind' : _Prop_justbehind, 79 'updateLevel' : _Prop_updateLevel, 80} 81text._privelemdict = { 82 'styleset' : styleset, 83} 84styleset._superclassnames = [] 85styleset._privpropdict = { 86 'color' : _Prop_color, 87 'font' : _Prop_font, 88 'name' : _Prop_name, 89 'size' : _Prop_size, 90 'style' : _Prop_style, 91 'writing_code' : _Prop_writing_code, 92} 93styleset._privelemdict = { 94} 95 96# 97# Indices of types declared in this module 98# 99_classdeclarations = { 100 'ctxt' : text, 101 'stys' : styleset, 102} 103 104_propdeclarations = { 105 'bgng' : _Prop_beginning, 106 'colr' : _Prop_color, 107 'end ' : _Prop_end, 108 'font' : _Prop_font, 109 'pAft' : _Prop_justbehind, 110 'pBef' : _Prop_infront, 111 'pUpL' : _Prop_updateLevel, 112 'pnam' : _Prop_name, 113 'psct' : _Prop_writing_code, 114 'ptsz' : _Prop_size, 115 'txst' : _Prop_style, 116} 117 118_compdeclarations = { 119} 120 121_enumdeclarations = { 122} 123