1 """Suite Text Suite: A set of basic classes for text processing
4 Generated from /Volumes/Sap/System Folder/Extensions/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 class justification(aetools
.NProperty
):
30 """justification - the justification of the text """
36 class paragraph(aetools
.ComponentItem
):
37 """paragraph - A paragraph """
40 paragraphs
= paragraph
42 class text(aetools
.ComponentItem
):
45 class color(aetools
.NProperty
):
46 """color - the color of the first character """
49 class font(aetools
.NProperty
):
50 """font - the name of the font of the first character """
53 class size(aetools
.NProperty
):
54 """size - the size in points of the first character """
57 class writing_code(aetools
.NProperty
):
58 """writing code - the script system and language """
61 class style(aetools
.NProperty
):
62 """style - the text style of the first character of the first character """
65 class uniform_styles(aetools
.NProperty
):
66 """uniform styles - the text styles that are uniform throughout the text """
69 # element 'cha ' as ['indx']
70 # element 'clin' as ['indx']
71 # element 'cpar' as ['indx']
72 # element 'ctxt' as ['indx']
73 # element 'cwor' as ['indx']
75 class text_flow(aetools
.ComponentItem
):
76 """text flow - A contiguous block of text. Page layout applications call this a \xd4story.\xd5 """
78 class name(aetools
.NProperty
):
79 """name - the name """
83 text_flows
= text_flow
85 class text_style_info(aetools
.ComponentItem
):
86 """text style info - On and Off styles of text run """
88 class on_styles(aetools
.NProperty
):
89 """on styles - the styles that are on for the text """
92 class off_styles(aetools
.NProperty
):
93 """off styles - the styles that are off for the text """
97 text_style_infos
= text_style_info
99 class word(aetools
.ComponentItem
):
104 character
._superclassnames
= ['text']
105 character
._privpropdict
= {
106 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
108 character
._privelemdict
= {
110 line
._superclassnames
= ['text']
111 line
._privpropdict
= {
112 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
113 'justification' : justification
,
115 line
._privelemdict
= {
117 paragraph
._superclassnames
= ['text']
118 paragraph
._privpropdict
= {
119 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
121 paragraph
._privelemdict
= {
123 text
._superclassnames
= []
124 text
._privpropdict
= {
128 'writing_code' : writing_code
,
130 'uniform_styles' : uniform_styles
,
132 text
._privelemdict
= {
133 'character' : character
,
135 'paragraph' : paragraph
,
139 text_flow
._superclassnames
= ['text']
140 text_flow
._privpropdict
= {
141 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
144 text_flow
._privelemdict
= {
146 text_style_info
._superclassnames
= []
147 text_style_info
._privpropdict
= {
148 'on_styles' : on_styles
,
149 'off_styles' : off_styles
,
151 text_style_info
._privelemdict
= {
153 word
._superclassnames
= ['text']
154 word
._privpropdict
= {
155 '_3c_inheritance_3e_' : _3c_inheritance_3e_
,
157 word
._privelemdict
= {
160 'left' : 'left', # Align with left margin
161 'right' : 'rght', # Align with right margin
162 'center' : 'cent', # Align with center
163 'full' : 'full', # Align with both left and right margins
167 'plain' : 'plan', # Plain
168 'bold' : 'bold', # Bold
169 'italic' : 'ital', # Italic
170 'outline' : 'outl', # Outline
171 'shadow' : 'shad', # Shadow
172 'underline' : 'undl', # Underline
173 'superscript' : 'spsc', # Superscript
174 'subscript' : 'sbsc', # Subscript
175 'strikethrough' : 'strk', # Strikethrough
176 'small_caps' : 'smcp', # Small caps
177 'all_caps' : 'alcp', # All capital letters
178 'all_lowercase' : 'lowc', # Lowercase
179 'condensed' : 'cond', # Condensed
180 'expanded' : 'pexp', # Expanded
181 'hidden' : 'hidn', # Hidden
186 # Indices of types declared in this module
188 _classdeclarations
= {
192 'tsty' : text_style_info
,
198 _propdeclarations
= {
201 'pjst' : justification
,
204 'psct' : writing_code
,
205 'ustl' : uniform_styles
,
206 'c@#^' : _3c_inheritance_3e_
,
212 _compdeclarations
= {
215 _enumdeclarations
= {