2000-08-17 19:15:41 -03:00
""" Suite Text:
Level 0 , version 0
2002-08-07 12:53:42 -03:00
Generated from / Volumes / Sap / Applications ( Mac OS 9 ) / Netscape Communicator \xe2 \x84 \xa2 Folder / Netscape Communicator \xe2 \x84 \xa2
2000-08-17 19:15:41 -03: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 16:28:27 -03:00
class Text_Events ( Text_Suite_Events ) :
2000-08-17 19:15:41 -03:00
pass
class text ( aetools . ComponentItem ) :
""" text - independent text view objects """
want = ' ctxt '
class 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 '
class beginning ( aetools . NProperty ) :
""" beginning - Beginning of element """
which = ' bgng '
want = ' obj '
class end ( aetools . NProperty ) :
""" end - Ending of element """
which = ' end '
want = ' obj '
class infront ( aetools . NProperty ) :
""" infront - Immediately before element """
which = ' pBef '
want = ' obj '
class justbehind ( aetools . NProperty ) :
""" justbehind - Immediately after element """
which = ' pAft '
want = ' obj '
# element 'stys' as ['indx', 'name']
class styleset ( aetools . ComponentItem ) :
2002-08-07 12:53:42 -03:00
""" styleset - A style \xd2 set \xd3 that may be used repeatedly in text objects. """
2000-08-17 19:15:41 -03:00
want = ' stys '
class name ( aetools . NProperty ) :
""" name - style name """
which = ' pnam '
want = ' TEXT '
class color ( aetools . NProperty ) :
""" color - the color """
which = ' colr '
want = ' RGB '
class font ( aetools . NProperty ) :
""" font - font name """
which = ' font '
want = ' TEXT '
class size ( aetools . NProperty ) :
""" size - the size in points """
which = ' ptsz '
want = ' long '
class writing_code ( aetools . NProperty ) :
""" writing code - the script system and language """
which = ' psct '
want = ' tsty '
class style ( aetools . NProperty ) :
""" style - the text styles or face attributes """
which = ' txst '
want = ' tsty '
stylesets = styleset
2002-08-07 12:53:42 -03:00
text . _superclassnames = [ ]
text . _privpropdict = {
2000-08-17 19:15:41 -03:00
' updateLevel ' : updateLevel ,
' beginning ' : beginning ,
' end ' : end ,
' infront ' : infront ,
' justbehind ' : justbehind ,
}
2002-08-07 12:53:42 -03:00
text . _privelemdict = {
2000-08-17 19:15:41 -03:00
' styleset ' : styleset ,
}
2002-08-07 12:53:42 -03:00
styleset . _superclassnames = [ ]
styleset . _privpropdict = {
2000-08-17 19:15:41 -03:00
' name ' : name ,
' color ' : color ,
' font ' : font ,
' size ' : size ,
' writing_code ' : writing_code ,
' style ' : style ,
}
2002-08-07 12:53:42 -03:00
styleset . _privelemdict = {
2000-08-17 19:15:41 -03:00
}
#
# Indices of types declared in this module
#
_classdeclarations = {
' ctxt ' : text ,
2002-04-23 18:08:54 -03:00
' stys ' : styleset ,
2000-08-17 19:15:41 -03:00
}
_propdeclarations = {
' pBef ' : infront ,
2002-04-23 18:08:54 -03:00
' bgng ' : beginning ,
' colr ' : color ,
' txst ' : style ,
' psct ' : writing_code ,
' pAft ' : justbehind ,
' end ' : end ,
2000-08-17 19:15:41 -03:00
' ptsz ' : size ,
' pUpL ' : updateLevel ,
2002-04-23 18:08:54 -03:00
' pnam ' : name ,
2000-08-17 19:15:41 -03:00
' font ' : font ,
}
_compdeclarations = {
}
_enumdeclarations = {
}