Home | History | Annotate | Download | only in Terminal
      1 """Suite Text Suite: A set of basic classes for text processing.
      2 Level 1, version 1
      3 
      4 Generated from /Applications/Utilities/Terminal.app
      5 AETE/AEUT resource version 1/0, language 0, script 0
      6 """
      7 
      8 import aetools
      9 import MacOS
     10 
     11 _code = '????'
     12 
     13 class Text_Suite_Events:
     14 
     15     pass
     16 
     17 
     18 class attachment(aetools.ComponentItem):
     19     """attachment - Represents an inline text attachment.  This class is used mainly for make commands. """
     20     want = 'atts'
     21 class _Prop__3c_Inheritance_3e_(aetools.NProperty):
     22     """<Inheritance> - All of the properties of the superclass. """
     23     which = 'c@#^'
     24     want = 'ctxt'
     25 class _Prop_file_name(aetools.NProperty):
     26     """file name - The path to the file for the attachment """
     27     which = 'atfn'
     28     want = 'utxt'
     29 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     30 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     31 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     32 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     33 
     34 class attribute_run(aetools.ComponentItem):
     35     """attribute run - This subdivides the text into chunks that all have the same attributes. """
     36     want = 'catr'
     37 class _Prop_color(aetools.NProperty):
     38     """color - The color of the first character. """
     39     which = 'colr'
     40     want = 'colr'
     41 class _Prop_font(aetools.NProperty):
     42     """font - The name of the font of the first character. """
     43     which = 'font'
     44     want = 'utxt'
     45 class _Prop_size(aetools.NProperty):
     46     """size - The size in points of the first character. """
     47     which = 'ptsz'
     48     want = 'long'
     49 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     50 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     51 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     52 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     53 
     54 attribute_runs = attribute_run
     55 
     56 class character(aetools.ComponentItem):
     57     """character - This subdivides the text into characters. """
     58     want = 'cha '
     59 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     60 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     61 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     62 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     63 
     64 characters = character
     65 
     66 class paragraph(aetools.ComponentItem):
     67     """paragraph - This subdivides the text into paragraphs. """
     68     want = 'cpar'
     69 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     70 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     71 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     72 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     73 
     74 paragraphs = paragraph
     75 
     76 class text(aetools.ComponentItem):
     77     """text - Rich (styled) text """
     78     want = 'ctxt'
     79 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     80 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     81 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     82 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     83 
     84 class word(aetools.ComponentItem):
     85     """word - This subdivides the text into words. """
     86     want = 'cwor'
     87 #        element 'catr' as ['indx', 'rele', 'rang', 'test']
     88 #        element 'cha ' as ['indx', 'rele', 'rang', 'test']
     89 #        element 'cpar' as ['indx', 'rele', 'rang', 'test']
     90 #        element 'cwor' as ['indx', 'rele', 'rang', 'test']
     91 
     92 words = word
     93 attachment._superclassnames = ['text']
     94 attachment._privpropdict = {
     95     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
     96     'file_name' : _Prop_file_name,
     97 }
     98 attachment._privelemdict = {
     99     'attribute_run' : attribute_run,
    100     'character' : character,
    101     'paragraph' : paragraph,
    102     'word' : word,
    103 }
    104 import Standard_Suite
    105 attribute_run._superclassnames = ['item']
    106 attribute_run._privpropdict = {
    107     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    108     'color' : _Prop_color,
    109     'font' : _Prop_font,
    110     'size' : _Prop_size,
    111 }
    112 attribute_run._privelemdict = {
    113     'attribute_run' : attribute_run,
    114     'character' : character,
    115     'paragraph' : paragraph,
    116     'word' : word,
    117 }
    118 character._superclassnames = ['item']
    119 character._privpropdict = {
    120     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    121     'color' : _Prop_color,
    122     'font' : _Prop_font,
    123     'size' : _Prop_size,
    124 }
    125 character._privelemdict = {
    126     'attribute_run' : attribute_run,
    127     'character' : character,
    128     'paragraph' : paragraph,
    129     'word' : word,
    130 }
    131 paragraph._superclassnames = ['item']
    132 paragraph._privpropdict = {
    133     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    134     'color' : _Prop_color,
    135     'font' : _Prop_font,
    136     'size' : _Prop_size,
    137 }
    138 paragraph._privelemdict = {
    139     'attribute_run' : attribute_run,
    140     'character' : character,
    141     'paragraph' : paragraph,
    142     'word' : word,
    143 }
    144 text._superclassnames = ['item']
    145 text._privpropdict = {
    146     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    147     'color' : _Prop_color,
    148     'font' : _Prop_font,
    149     'size' : _Prop_size,
    150 }
    151 text._privelemdict = {
    152     'attribute_run' : attribute_run,
    153     'character' : character,
    154     'paragraph' : paragraph,
    155     'word' : word,
    156 }
    157 word._superclassnames = ['item']
    158 word._privpropdict = {
    159     '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
    160     'color' : _Prop_color,
    161     'font' : _Prop_font,
    162     'size' : _Prop_size,
    163 }
    164 word._privelemdict = {
    165     'attribute_run' : attribute_run,
    166     'character' : character,
    167     'paragraph' : paragraph,
    168     'word' : word,
    169 }
    170 
    171 #
    172 # Indices of types declared in this module
    173 #
    174 _classdeclarations = {
    175     'atts' : attachment,
    176     'catr' : attribute_run,
    177     'cha ' : character,
    178     'cpar' : paragraph,
    179     'ctxt' : text,
    180     'cwor' : word,
    181 }
    182 
    183 _propdeclarations = {
    184     'atfn' : _Prop_file_name,
    185     'c@#^' : _Prop__3c_Inheritance_3e_,
    186     'colr' : _Prop_color,
    187     'font' : _Prop_font,
    188     'ptsz' : _Prop_size,
    189 }
    190 
    191 _compdeclarations = {
    192 }
    193 
    194 _enumdeclarations = {
    195 }
    196