diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Netscape/Text.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/Text.py | 124 |
1 files changed, 72 insertions, 52 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py index 487c8db..70716f0 100644 --- a/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py +++ b/Lib/plat-mac/lib-scriptpackages/Netscape/Text.py @@ -13,82 +13,82 @@ _code = 'TEXT' from StdSuites.Text_Suite import * class Text_Events(Text_Suite_Events): - pass + pass class text(aetools.ComponentItem): - """text - independent text view objects """ - want = 'ctxt' + """text - independent text view objects """ + want = 'ctxt' class _Prop_beginning(aetools.NProperty): - """beginning - Beginning of element """ - which = 'bgng' - want = 'obj ' + """beginning - Beginning of element """ + which = 'bgng' + want = 'obj ' class _Prop_end(aetools.NProperty): - """end - Ending of element """ - which = 'end ' - want = 'obj ' + """end - Ending of element """ + which = 'end ' + want = 'obj ' class _Prop_infront(aetools.NProperty): - """infront - Immediately before element """ - which = 'pBef' - want = 'obj ' + """infront - Immediately before element """ + which = 'pBef' + want = 'obj ' class _Prop_justbehind(aetools.NProperty): - """justbehind - Immediately after element """ - which = 'pAft' - want = 'obj ' + """justbehind - Immediately after element """ + which = 'pAft' + want = 'obj ' class _Prop_updateLevel(aetools.NProperty): - """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. """ - which = 'pUpL' - want = 'long' + """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. """ + which = 'pUpL' + want = 'long' # element 'stys' as ['indx', 'name'] class styleset(aetools.ComponentItem): - """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """ - want = 'stys' + """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """ + want = 'stys' class _Prop_color(aetools.NProperty): - """color - the color """ - which = 'colr' - want = 'RGB ' + """color - the color """ + which = 'colr' + want = 'RGB ' class _Prop_font(aetools.NProperty): - """font - font name """ - which = 'font' - want = 'TEXT' + """font - font name """ + which = 'font' + want = 'TEXT' class _Prop_name(aetools.NProperty): - """name - style name """ - which = 'pnam' - want = 'TEXT' + """name - style name """ + which = 'pnam' + want = 'TEXT' class _Prop_size(aetools.NProperty): - """size - the size in points """ - which = 'ptsz' - want = 'long' + """size - the size in points """ + which = 'ptsz' + want = 'long' class _Prop_style(aetools.NProperty): - """style - the text styles or face attributes """ - which = 'txst' - want = 'tsty' + """style - the text styles or face attributes """ + which = 'txst' + want = 'tsty' class _Prop_writing_code(aetools.NProperty): - """writing code - the script system and language """ - which = 'psct' - want = 'tsty' + """writing code - the script system and language """ + which = 'psct' + want = 'tsty' stylesets = styleset text._superclassnames = [] text._privpropdict = { - 'beginning' : _Prop_beginning, - 'end' : _Prop_end, - 'infront' : _Prop_infront, - 'justbehind' : _Prop_justbehind, - 'updateLevel' : _Prop_updateLevel, + 'beginning' : _Prop_beginning, + 'end' : _Prop_end, + 'infront' : _Prop_infront, + 'justbehind' : _Prop_justbehind, + 'updateLevel' : _Prop_updateLevel, } text._privelemdict = { - 'styleset' : styleset, + 'styleset' : styleset, } styleset._superclassnames = [] styleset._privpropdict = { - 'color' : _Prop_color, - 'font' : _Prop_font, - 'name' : _Prop_name, - 'size' : _Prop_size, - 'style' : _Prop_style, - 'writing_code' : _Prop_writing_code, + 'color' : _Prop_color, + 'font' : _Prop_font, + 'name' : _Prop_name, + 'size' : _Prop_size, + 'style' : _Prop_style, + 'writing_code' : _Prop_writing_code, } styleset._privelemdict = { } @@ -97,6 +97,26 @@ styleset._privelemdict = { # Indices of types declared in this module # _classdeclarations = { - 'ctxt' : text, - 'stys' : styleset, + 'ctxt' : text, + 'stys' : styleset, +} + +_propdeclarations = { + 'bgng' : _Prop_beginning, + 'colr' : _Prop_color, + 'end ' : _Prop_end, + 'font' : _Prop_font, + 'pAft' : _Prop_justbehind, + 'pBef' : _Prop_infront, + 'pUpL' : _Prop_updateLevel, + 'pnam' : _Prop_name, + 'psct' : _Prop_writing_code, + 'ptsz' : _Prop_size, + 'txst' : _Prop_style, +} + +_compdeclarations = { +} + +_enumdeclarations = { } |
