1 """Suite Text Suite: A set of basic classes for text processing
4 Generated from flap:System Folder:Extensions:Scripting Additions:Dialects:English Dialect
5 AETE/AEUT resource version 1/0, language 0, script 0
18 class character(aetools
.ComponentItem
):
19 """character - A character"""
21 class best_type(aetools
.NProperty
):
22 """best type - the best descriptor type"""
25 class _class(aetools
.NProperty
):
26 """class - the class"""
29 class color(aetools
.NProperty
):
30 """color - the color"""
33 class default_type(aetools
.NProperty
):
34 """default type - the default descriptor type"""
37 class font(aetools
.NProperty
):
38 """font - the name of the font"""
41 class size(aetools
.NProperty
):
42 """size - the size in points"""
45 class writing_code(aetools
.NProperty
):
46 """writing code - the script system and language"""
49 class style(aetools
.NProperty
):
50 """style - the text style"""
53 class uniform_styles(aetools
.NProperty
):
54 """uniform styles - the text style"""
58 class line(aetools
.ComponentItem
):
59 """line - A line of text"""
61 class justification(aetools
.NProperty
):
62 """justification - Justification of the text"""
68 class paragraph(aetools
.ComponentItem
):
69 """paragraph - A paragraph"""
72 paragraphs
= paragraph
74 class text(aetools
.ComponentItem
):
78 class text_flow(aetools
.ComponentItem
):
79 """text flow - A contiguous block of text"""
81 class name(aetools
.NProperty
):
86 text_flows
= text_flow
88 class word(aetools
.ComponentItem
):
93 character
._propdict
= {
94 'best_type' : best_type
,
97 'default_type' : default_type
,
100 'writing_code' : writing_code
,
102 'uniform_styles' : uniform_styles
,
104 character
._elemdict
= {
107 'justification' : justification
,
111 paragraph
._propdict
= {
113 paragraph
._elemdict
= {
119 text_flow
._propdict
= {
122 text_flow
._elemdict
= {
129 'left' : 'left', # Align with left margin
130 'right' : 'rght', # Align with right margin
131 'center' : 'cent', # Align with center
132 'full' : 'full', # Align with both left and right margins
136 'plain' : 'plan', # Plain
137 'bold' : 'bold', # Bold
138 'italic' : 'ital', # Italic
139 'outline' : 'outl', # Outline
140 'shadow' : 'shad', # Shadow
141 'underline' : 'undl', # Underline
142 'superscript' : 'spsc', # Superscript
143 'subscript' : 'sbsc', # Subscript
144 'strikethrough' : 'strk', # Strikethrough
145 'small_caps' : 'smcp', # Small caps
146 'all_caps' : 'alcp', # All capital letters
147 'all_lowercase' : 'lowc', # Lowercase
148 'condensed' : 'cond', # Condensed
149 'expanded' : 'pexp', # Expanded
150 'hidden' : 'hidn', # Hidden
155 # Indices of types declared in this module
157 _classdeclarations
= {
166 _propdeclarations
= {
168 'psct' : writing_code
,
174 'deft' : default_type
,
175 'pjst' : justification
,
177 'ustl' : uniform_styles
,
180 _compdeclarations
= {
183 _enumdeclarations
= {