1 """Suite Text Suite: A set of basic classes for text processing
4 Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
5 AETE/AEUT resource version 1/0, language 0, script 0
13 class Text_Suite_Events
:
18 class character(aetools
.ComponentItem
):
19 """character - A character """
21 class _3c_inheritance_3e_(aetools
.NProperty
):
22 """<inheritance> - inherits some of its properties from this class """
26 class line(aetools
.ComponentItem
):
27 """line - A line of text """
29 # repeated property _3c_inheritance_3e_ inherits some of its properties from this class
30 class justification(aetools
.NProperty
):
31 """justification - the justification of the text """
37 class paragraph(aetools
.ComponentItem
):
38 """paragraph - A paragraph """
40 # repeated property _3c_inheritance_3e_ inherits some of its properties from this class
42 paragraphs
= paragraph
44 class text(aetools
.ComponentItem
):
47 class color(aetools
.NProperty
):
48 """color - the color of the first character """
51 class font(aetools
.NProperty
):
52 """font - the name of the font of the first character """
55 class size(aetools
.NProperty
):
56 """size - the size in points of the first character """
59 class writing_code(aetools
.NProperty
):
60 """writing code - the script system and language """
63 class style(aetools
.NProperty
):
64 """style - the text style of the first character of the first character """
67 class uniform_styles(aetools
.NProperty
):
68 """uniform styles - the text styles that are uniform throughout the text """
71 # element 'cha ' as ['indx']
72 # element 'clin' as ['indx']
73 # element 'cpar' as ['indx']
74 # element 'ctxt' as ['indx']
75 # element 'cwor' as ['indx']
77 class text_flow(aetools
.ComponentItem
):
78 """text flow - A contiguous block of text. Page layout applications call this a •story.Õ """
80 # repeated property _3c_inheritance_3e_ inherits some of its properties from this class
81 class name(aetools
.NProperty
):
82 """name - the name """
86 text_flows
= text_flow
88 class text_style_info(aetools
.ComponentItem
):
89 """text style info - On and Off styles of text run """
91 class on_styles(aetools
.NProperty
):
92 """on styles - the styles that are on for the text """
95 class off_styles(aetools
.NProperty
):
96 """off styles - the styles that are off for the text """
100 text_style_infos
= text_style_info
102 class word(aetools
.ComponentItem
):
105 # repeated property _3c_inheritance_3e_ inherits some of its properties from this class
108 character
._propdict
= {
109 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
111 character
._elemdict
= {
114 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
115 'justification' : justification
,
119 paragraph
._propdict
= {
120 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
122 paragraph
._elemdict
= {
128 'writing_code' : writing_code
,
130 'uniform_styles' : uniform_styles
,
133 'character' : character
,
135 'paragraph' : paragraph
,
139 text_flow
._propdict
= {
140 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
143 text_flow
._elemdict
= {
145 text_style_info
._propdict
= {
146 'on_styles' : on_styles
,
147 'off_styles' : off_styles
,
149 text_style_info
._elemdict
= {
152 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
157 'left' : 'left', # Align with left margin
158 'right' : 'rght', # Align with right margin
159 'center' : 'cent', # Align with center
160 'full' : 'full', # Align with both left and right margins
164 'plain' : 'plan', # Plain
165 'bold' : 'bold', # Bold
166 'italic' : 'ital', # Italic
167 'outline' : 'outl', # Outline
168 'shadow' : 'shad', # Shadow
169 'underline' : 'undl', # Underline
170 'superscript' : 'spsc', # Superscript
171 'subscript' : 'sbsc', # Subscript
172 'strikethrough' : 'strk', # Strikethrough
173 'small_caps' : 'smcp', # Small caps
174 'all_caps' : 'alcp', # All capital letters
175 'all_lowercase' : 'lowc', # Lowercase
176 'condensed' : 'cond', # Condensed
177 'expanded' : 'pexp', # Expanded
178 'hidden' : 'hidn', # Hidden
183 # Indices of types declared in this module
185 _classdeclarations
= {
191 'tsty' : text_style_info
,
195 _propdeclarations
= {
196 'psct' : writing_code
,
201 'ustl' : uniform_styles
,
202 'pjst' : justification
,
206 'c@#^' : _3c_inheritance_3e_
,
209 _compdeclarations
= {
212 _enumdeclarations
= {