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 text_flow(aetools
.ComponentItem
):
19 """text flow - A contiguous block of text. Page layout applications call this a \xd4story.\xd5 """
21 class _Prop__3c_inheritance_3e_(aetools
.NProperty
):
22 """<inheritance> - inherits some of its properties from this class """
25 class _Prop_name(aetools
.NProperty
):
26 """name - the name """
30 text_flows
= text_flow
32 class character(aetools
.ComponentItem
):
33 """character - A character """
36 class line(aetools
.ComponentItem
):
37 """line - A line of text """
39 class _Prop_justification(aetools
.NProperty
):
40 """justification - the justification of the text """
46 class paragraph(aetools
.ComponentItem
):
47 """paragraph - A paragraph """
50 paragraphs
= paragraph
52 class text(aetools
.ComponentItem
):
55 class _Prop_color(aetools
.NProperty
):
56 """color - the color of the first character """
59 class _Prop_font(aetools
.NProperty
):
60 """font - the name of the font of the first character """
63 class _Prop_quoted_form(aetools
.NProperty
):
64 """quoted form - the text in quoted form """
67 class _Prop_size(aetools
.NProperty
):
68 """size - the size in points of the first character """
71 class _Prop_style(aetools
.NProperty
):
72 """style - the text style of the first character of the first character """
75 class _Prop_uniform_styles(aetools
.NProperty
):
76 """uniform styles - the text styles that are uniform throughout the text """
79 class _Prop_writing_code(aetools
.NProperty
):
80 """writing code - the script system and language """
83 # element 'cha ' as ['indx']
84 # element 'clin' as ['indx']
85 # element 'cpar' as ['indx']
86 # element 'ctxt' as ['indx']
87 # element 'cwor' as ['indx']
89 class word(aetools
.ComponentItem
):
95 class text_style_info(aetools
.ComponentItem
):
96 """text style info - On and Off styles of text run """
98 class _Prop_off_styles(aetools
.NProperty
):
99 """off styles - the styles that are off for the text """
102 class _Prop_on_styles(aetools
.NProperty
):
103 """on styles - the styles that are on for the text """
107 text_style_infos
= text_style_info
108 text_flow
._superclassnames
= ['text']
109 text_flow
._privpropdict
= {
110 '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_
,
113 text_flow
._privelemdict
= {
115 character
._superclassnames
= ['text']
116 character
._privpropdict
= {
117 '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_
,
119 character
._privelemdict
= {
121 line
._superclassnames
= ['text']
122 line
._privpropdict
= {
123 '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_
,
124 'justification' : _Prop_justification
,
126 line
._privelemdict
= {
128 paragraph
._superclassnames
= ['text']
129 paragraph
._privpropdict
= {
130 '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_
,
132 paragraph
._privelemdict
= {
134 text
._superclassnames
= []
135 text
._privpropdict
= {
136 'color' : _Prop_color
,
138 'quoted_form' : _Prop_quoted_form
,
140 'style' : _Prop_style
,
141 'uniform_styles' : _Prop_uniform_styles
,
142 'writing_code' : _Prop_writing_code
,
144 text
._privelemdict
= {
145 'character' : character
,
147 'paragraph' : paragraph
,
151 word
._superclassnames
= ['text']
152 word
._privpropdict
= {
153 '_3c_inheritance_3e_' : _Prop__3c_inheritance_3e_
,
155 word
._privelemdict
= {
157 text_style_info
._superclassnames
= []
158 text_style_info
._privpropdict
= {
159 'off_styles' : _Prop_off_styles
,
160 'on_styles' : _Prop_on_styles
,
162 text_style_info
._privelemdict
= {
165 'left' : 'left', # Align with left margin
166 'right' : 'rght', # Align with right margin
167 'center' : 'cent', # Align with center
168 'full' : 'full', # Align with both left and right margins
172 'plain' : 'plan', # Plain
173 'bold' : 'bold', # Bold
174 'italic' : 'ital', # Italic
175 'outline' : 'outl', # Outline
176 'shadow' : 'shad', # Shadow
177 'underline' : 'undl', # Underline
178 'superscript' : 'spsc', # Superscript
179 'subscript' : 'sbsc', # Subscript
180 'strikethrough' : 'strk', # Strikethrough
181 'small_caps' : 'smcp', # Small caps
182 'all_caps' : 'alcp', # All capital letters
183 'all_lowercase' : 'lowc', # Lowercase
184 'condensed' : 'cond', # Condensed
185 'expanded' : 'pexp', # Expanded
186 'hidden' : 'hidn', # Hidden
191 # Indices of types declared in this module
193 _classdeclarations
= {
200 'tsty' : text_style_info
,
203 _propdeclarations
= {
204 'c@#^' : _Prop__3c_inheritance_3e_
,
205 'colr' : _Prop_color
,
207 'ofst' : _Prop_off_styles
,
208 'onst' : _Prop_on_styles
,
209 'pjst' : _Prop_justification
,
211 'psct' : _Prop_writing_code
,
213 'strq' : _Prop_quoted_form
,
214 'txst' : _Prop_style
,
215 'ustl' : _Prop_uniform_styles
,
218 _compdeclarations
= {
221 _enumdeclarations
= {