home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / lib-scriptpackages / StdSuites / Text_Suite.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  6.8 KB  |  222 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. '''Suite Text Suite: A set of basic classes for text processing
  5. Level 1, version 1
  6.  
  7. Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
  8. AETE/AEUT resource version 1/0, language 0, script 0
  9. '''
  10. import aetools
  11. import MacOS
  12. _code = 'TEXT'
  13.  
  14. class Text_Suite_Events:
  15.     pass
  16.  
  17.  
  18. class text_flow(aetools.ComponentItem):
  19.     '''text flow - A contiguous block of text.  Page layout applications call this a \xd4story.\xd5 '''
  20.     want = 'cflo'
  21.  
  22.  
  23. class _Prop__3c_inheritance_3e_(aetools.NProperty):
  24.     '''<inheritance> - inherits some of its properties from this class '''
  25.     which = 'c@#^'
  26.     want = 'ctxt'
  27.  
  28.  
  29. class _Prop_name(aetools.NProperty):
  30.     '''name - the name '''
  31.     which = 'pnam'
  32.     want = 'itxt'
  33.  
  34. text_flows = text_flow
  35.  
  36. class character(aetools.ComponentItem):
  37.     '''character - A character '''
  38.     want = 'cha '
  39.  
  40.  
  41. class line(aetools.ComponentItem):
  42.     '''line - A line of text '''
  43.     want = 'clin'
  44.  
  45.  
  46. class _Prop_justification(aetools.NProperty):
  47.     '''justification - the justification of the text '''
  48.     which = 'pjst'
  49.     want = 'just'
  50.  
  51. lines = line
  52.  
  53. class paragraph(aetools.ComponentItem):
  54.     '''paragraph - A paragraph '''
  55.     want = 'cpar'
  56.  
  57. paragraphs = paragraph
  58.  
  59. class text(aetools.ComponentItem):
  60.     '''text - Text '''
  61.     want = 'ctxt'
  62.  
  63.  
  64. class _Prop_color(aetools.NProperty):
  65.     '''color - the color of the first character '''
  66.     which = 'colr'
  67.     want = 'cRGB'
  68.  
  69.  
  70. class _Prop_font(aetools.NProperty):
  71.     '''font - the name of the font of the first character '''
  72.     which = 'font'
  73.     want = 'ctxt'
  74.  
  75.  
  76. class _Prop_quoted_form(aetools.NProperty):
  77.     '''quoted form - the text in quoted form '''
  78.     which = 'strq'
  79.     want = 'ctxt'
  80.  
  81.  
  82. class _Prop_size(aetools.NProperty):
  83.     '''size - the size in points of the first character '''
  84.     which = 'ptsz'
  85.     want = 'fixd'
  86.  
  87.  
  88. class _Prop_style(aetools.NProperty):
  89.     '''style - the text style of the first character of the first character '''
  90.     which = 'txst'
  91.     want = 'tsty'
  92.  
  93.  
  94. class _Prop_uniform_styles(aetools.NProperty):
  95.     '''uniform styles - the text styles that are uniform throughout the text '''
  96.     which = 'ustl'
  97.     want = 'tsty'
  98.  
  99.  
  100. class _Prop_writing_code(aetools.NProperty):
  101.     '''writing code - the script system and language '''
  102.     which = 'psct'
  103.     want = 'intl'
  104.  
  105.  
  106. class word(aetools.ComponentItem):
  107.     '''word - A word '''
  108.     want = 'cwor'
  109.  
  110. words = word
  111.  
  112. class text_style_info(aetools.ComponentItem):
  113.     '''text style info - On and Off styles of text run '''
  114.     want = 'tsty'
  115.  
  116.  
  117. class _Prop_off_styles(aetools.NProperty):
  118.     '''off styles - the styles that are off for the text '''
  119.     which = 'ofst'
  120.     want = 'styl'
  121.  
  122.  
  123. class _Prop_on_styles(aetools.NProperty):
  124.     '''on styles - the styles that are on for the text '''
  125.     which = 'onst'
  126.     want = 'styl'
  127.  
  128. text_style_infos = text_style_info
  129. text_flow._superclassnames = [
  130.     'text']
  131. text_flow._privpropdict = {
  132.     '_3c_inheritance_3e_': _Prop__3c_inheritance_3e_,
  133.     'name': _Prop_name }
  134. text_flow._privelemdict = { }
  135. character._superclassnames = [
  136.     'text']
  137. character._privpropdict = {
  138.     '_3c_inheritance_3e_': _Prop__3c_inheritance_3e_ }
  139. character._privelemdict = { }
  140. line._superclassnames = [
  141.     'text']
  142. line._privpropdict = {
  143.     '_3c_inheritance_3e_': _Prop__3c_inheritance_3e_,
  144.     'justification': _Prop_justification }
  145. line._privelemdict = { }
  146. paragraph._superclassnames = [
  147.     'text']
  148. paragraph._privpropdict = {
  149.     '_3c_inheritance_3e_': _Prop__3c_inheritance_3e_ }
  150. paragraph._privelemdict = { }
  151. text._superclassnames = []
  152. text._privpropdict = {
  153.     'color': _Prop_color,
  154.     'font': _Prop_font,
  155.     'quoted_form': _Prop_quoted_form,
  156.     'size': _Prop_size,
  157.     'style': _Prop_style,
  158.     'uniform_styles': _Prop_uniform_styles,
  159.     'writing_code': _Prop_writing_code }
  160. text._privelemdict = {
  161.     'character': character,
  162.     'line': line,
  163.     'paragraph': paragraph,
  164.     'text': text,
  165.     'word': word }
  166. word._superclassnames = [
  167.     'text']
  168. word._privpropdict = {
  169.     '_3c_inheritance_3e_': _Prop__3c_inheritance_3e_ }
  170. word._privelemdict = { }
  171. text_style_info._superclassnames = []
  172. text_style_info._privpropdict = {
  173.     'off_styles': _Prop_off_styles,
  174.     'on_styles': _Prop_on_styles }
  175. text_style_info._privelemdict = { }
  176. _Enum_just = {
  177.     'left': 'left',
  178.     'right': 'rght',
  179.     'center': 'cent',
  180.     'full': 'full' }
  181. _Enum_styl = {
  182.     'plain': 'plan',
  183.     'bold': 'bold',
  184.     'italic': 'ital',
  185.     'outline': 'outl',
  186.     'shadow': 'shad',
  187.     'underline': 'undl',
  188.     'superscript': 'spsc',
  189.     'subscript': 'sbsc',
  190.     'strikethrough': 'strk',
  191.     'small_caps': 'smcp',
  192.     'all_caps': 'alcp',
  193.     'all_lowercase': 'lowc',
  194.     'condensed': 'cond',
  195.     'expanded': 'pexp',
  196.     'hidden': 'hidn' }
  197. _classdeclarations = {
  198.     'cflo': text_flow,
  199.     'cha ': character,
  200.     'clin': line,
  201.     'cpar': paragraph,
  202.     'ctxt': text,
  203.     'cwor': word,
  204.     'tsty': text_style_info }
  205. _propdeclarations = {
  206.     'c@#^': _Prop__3c_inheritance_3e_,
  207.     'colr': _Prop_color,
  208.     'font': _Prop_font,
  209.     'ofst': _Prop_off_styles,
  210.     'onst': _Prop_on_styles,
  211.     'pjst': _Prop_justification,
  212.     'pnam': _Prop_name,
  213.     'psct': _Prop_writing_code,
  214.     'ptsz': _Prop_size,
  215.     'strq': _Prop_quoted_form,
  216.     'txst': _Prop_style,
  217.     'ustl': _Prop_uniform_styles }
  218. _compdeclarations = { }
  219. _enumdeclarations = {
  220.     'just': _Enum_just,
  221.     'styl': _Enum_styl }
  222.