2000-08-17 22:15:41 +00:00
""" Suite Text:
Level 0 , version 0
2003-03-23 22:07:28 +00:00
Generated from / Volumes / Moes / Applications ( Mac OS 9 ) / Netscape Communicator \xe2 \x84 \xa2 Folder / Netscape Communicator \xe2 \x84 \xa2
2000-08-17 22:15:41 +00:00
AETE / AEUT resource version 1 / 0 , language 0 , script 0
"""
import aetools
import MacOS
_code = ' TEXT '
from StdSuites . Text_Suite import *
2000-08-20 19:28:27 +00:00
class Text_Events ( Text_Suite_Events ) :
2000-08-17 22:15:41 +00:00
pass
2003-03-30 22:41:53 +00:00
class text ( aetools . ComponentItem ) :
""" text - independent text view objects """
want = ' ctxt '
2003-04-01 22:05:14 +00:00
class _Prop_beginning ( aetools . NProperty ) :
2003-03-30 22:41:53 +00:00
""" beginning - Beginning of element """
which = ' bgng '
want = ' obj '
2003-04-01 22:05:14 +00:00
class _Prop_end ( aetools . NProperty ) :
2003-03-30 22:41:53 +00:00
""" end - Ending of element """
which = ' end '
want = ' obj '
2003-04-01 22:05:14 +00:00
class _Prop_infront ( aetools . NProperty ) :
2003-03-30 22:41:53 +00:00
""" infront - Immediately before element """
which = ' pBef '
want = ' obj '
2003-04-01 22:05:14 +00:00
class _Prop_justbehind ( aetools . NProperty ) :
2003-03-30 22:41:53 +00:00
""" justbehind - Immediately after element """
which = ' pAft '
want = ' obj '
2003-04-01 22:05:14 +00:00
class _Prop_updateLevel ( aetools . NProperty ) :
2003-03-30 22:41:53 +00:00
""" 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']
2000-08-17 22:15:41 +00:00
class styleset ( aetools . ComponentItem ) :
2002-08-07 15:53:42 +00:00
""" styleset - A style \xd2 set \xd3 that may be used repeatedly in text objects. """
2000-08-17 22:15:41 +00:00
want = ' stys '
2003-04-01 22:05:14 +00:00
class _Prop_color ( aetools . NProperty ) :
2000-08-17 22:15:41 +00:00
""" color - the color """
which = ' colr '
want = ' RGB '
2003-04-01 22:05:14 +00:00
class _Prop_font ( aetools . NProperty ) :
2000-08-17 22:15:41 +00:00
""" font - font name """
which = ' font '
want = ' TEXT '
2003-04-01 22:05:14 +00:00
class _Prop_name ( aetools . NProperty ) :
2003-03-28 23:38:00 +00:00
""" name - style name """
which = ' pnam '
want = ' TEXT '
2003-04-01 22:05:14 +00:00
class _Prop_size ( aetools . NProperty ) :
2000-08-17 22:15:41 +00:00
""" size - the size in points """
which = ' ptsz '
want = ' long '
2003-04-01 22:05:14 +00:00
class _Prop_style ( aetools . NProperty ) :
2000-08-17 22:15:41 +00:00
""" style - the text styles or face attributes """
which = ' txst '
want = ' tsty '
2003-04-01 22:05:14 +00:00
class _Prop_writing_code ( aetools . NProperty ) :
2003-03-28 23:38:00 +00:00
""" writing code - the script system and language """
which = ' psct '
want = ' tsty '
2000-08-17 22:15:41 +00:00
stylesets = styleset
2003-03-28 22:07:22 +00:00
text . _superclassnames = [ ]
text . _privpropdict = {
2003-04-01 22:05:14 +00:00
' beginning ' : _Prop_beginning ,
' end ' : _Prop_end ,
' infront ' : _Prop_infront ,
' justbehind ' : _Prop_justbehind ,
' updateLevel ' : _Prop_updateLevel ,
2003-03-28 22:07:22 +00:00
}
text . _privelemdict = {
' styleset ' : styleset ,
}
2003-03-30 22:41:53 +00:00
styleset . _superclassnames = [ ]
styleset . _privpropdict = {
2003-04-01 22:05:14 +00:00
' color ' : _Prop_color ,
' font ' : _Prop_font ,
' name ' : _Prop_name ,
' size ' : _Prop_size ,
' style ' : _Prop_style ,
' writing_code ' : _Prop_writing_code ,
2003-03-30 22:41:53 +00:00
}
styleset . _privelemdict = {
}
2000-08-17 22:15:41 +00:00
#
# Indices of types declared in this module
#
_classdeclarations = {
2003-03-28 22:07:22 +00:00
' ctxt ' : text ,
2003-03-28 23:38:00 +00:00
' stys ' : styleset ,
2000-08-17 22:15:41 +00:00
}