Commit ff792c26 authored by Jack Jansen's avatar Jack Jansen

The package with standard suites. These are used separately and as base...

The package with standard suites. These are used separately and as base classes for other suite packages (StdSuite is slightly magical, in that it is the gensuitemodule default base package).
parent 87426b9f
This diff is collapsed.
"""Suite QuickDraw Graphics Supplemental Suite: Defines transformations of graphic objects
Level 1, version 1
Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'qdsp'
class QuickDraw_Graphics_Suppleme_Events:
pass
class drawing_area(aetools.ComponentItem):
"""drawing area - Container for graphics and supporting information """
want = 'cdrw'
class rotation(aetools.NProperty):
"""rotation - the default rotation for objects in the drawing area """
which = 'prot'
want = 'trot'
class scale(aetools.NProperty):
"""scale - the default scaling for objects in the drawing area """
which = 'pscl'
want = 'fixd'
class translation(aetools.NProperty):
"""translation - the default repositioning for objects in the drawing area """
which = 'ptrs'
want = 'QDpt'
drawing_areas = drawing_area
class graphic_group(aetools.ComponentItem):
"""graphic group - Group of graphics """
want = 'cpic'
graphic_groups = graphic_group
drawing_area._propdict = {
'rotation' : rotation,
'scale' : scale,
'translation' : translation,
}
drawing_area._elemdict = {
}
graphic_group._propdict = {
}
graphic_group._elemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'cpic' : graphic_group,
'cdrw' : drawing_area,
}
_propdeclarations = {
'prot' : rotation,
'pscl' : scale,
'ptrs' : translation,
}
_compdeclarations = {
}
_enumdeclarations = {
}
"""Suite Required Suite: Every application supports open, print, run, and quit
Level 1, version 1
Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'reqd'
class Required_Suite_Events:
pass
#
# Indices of types declared in this module
#
_classdeclarations = {
}
_propdeclarations = {
}
_compdeclarations = {
}
_enumdeclarations = {
}
This diff is collapsed.
"""Suite Table Suite: Classes for manipulating tables
Level 1, version 1
Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'tbls'
class Table_Suite_Events:
pass
class cell(aetools.ComponentItem):
"""cell - A cell """
want = 'ccel'
class formula(aetools.NProperty):
"""formula - the formula of the cell """
which = 'pfor'
want = 'ctxt'
class protection(aetools.NProperty):
"""protection - Indicates whether value or formula in the cell can be changed """
which = 'ppro'
want = 'prtn'
cells = cell
class column(aetools.ComponentItem):
"""column - A column """
want = 'ccol'
class name(aetools.NProperty):
"""name - the name of the column """
which = 'pnam'
want = 'itxt'
columns = column
class row(aetools.ComponentItem):
"""row - A row """
want = 'crow'
rows = row
class table(aetools.ComponentItem):
"""table - A table """
want = 'ctbl'
tables = table
cell._propdict = {
'formula' : formula,
'protection' : protection,
}
cell._elemdict = {
}
column._propdict = {
'name' : name,
}
column._elemdict = {
}
row._propdict = {
}
row._elemdict = {
}
table._propdict = {
}
table._elemdict = {
}
_Enum_prtn = {
'read_only' : 'nmod', # Cant change values or formulas
'formulas_protected' : 'fpro', # Can changes values but not formulas
'read_2f_write' : 'modf', # Can change values and formulas
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'ccel' : cell,
'ctbl' : table,
'ccol' : column,
'crow' : row,
}
_propdeclarations = {
'ppro' : protection,
'pfor' : formula,
'pnam' : name,
}
_compdeclarations = {
}
_enumdeclarations = {
'prtn' : _Enum_prtn,
}
"""Suite Text Suite: A set of basic classes for text processing
Level 1, version 1
Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'TEXT'
class Text_Suite_Events:
pass
class character(aetools.ComponentItem):
"""character - A character """
want = 'cha '
class _3c_inheritance_3e_(aetools.NProperty):
"""<inheritance> - inherits some of its properties from this class """
which = 'c@#^'
want = 'ctxt'
class line(aetools.ComponentItem):
"""line - A line of text """
want = 'clin'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class justification(aetools.NProperty):
"""justification - the justification of the text """
which = 'pjst'
want = 'just'
lines = line
class paragraph(aetools.ComponentItem):
"""paragraph - A paragraph """
want = 'cpar'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
paragraphs = paragraph
class text(aetools.ComponentItem):
"""text - Text """
want = 'ctxt'
class color(aetools.NProperty):
"""color - the color of the first character """
which = 'colr'
want = 'cRGB'
class font(aetools.NProperty):
"""font - the name of the font of the first character """
which = 'font'
want = 'ctxt'
class size(aetools.NProperty):
"""size - the size in points of the first character """
which = 'ptsz'
want = 'fixd'
class writing_code(aetools.NProperty):
"""writing code - the script system and language """
which = 'psct'
want = 'intl'
class style(aetools.NProperty):
"""style - the text style of the first character of the first character """
which = 'txst'
want = 'tsty'
class uniform_styles(aetools.NProperty):
"""uniform styles - the text styles that are uniform throughout the text """
which = 'ustl'
want = 'tsty'
# element 'cha ' as ['indx']
# element 'clin' as ['indx']
# element 'cpar' as ['indx']
# element 'ctxt' as ['indx']
# element 'cwor' as ['indx']
class text_flow(aetools.ComponentItem):
"""text flow - A contiguous block of text. Page layout applications call this a story. """
want = 'cflo'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
class name(aetools.NProperty):
"""name - the name """
which = 'pnam'
want = 'itxt'
text_flows = text_flow
class text_style_info(aetools.ComponentItem):
"""text style info - On and Off styles of text run """
want = 'tsty'
class on_styles(aetools.NProperty):
"""on styles - the styles that are on for the text """
which = 'onst'
want = 'styl'
class off_styles(aetools.NProperty):
"""off styles - the styles that are off for the text """
which = 'ofst'
want = 'styl'
text_style_infos = text_style_info
class word(aetools.ComponentItem):
"""word - A word """
want = 'cwor'
# repeated property _3c_inheritance_3e_ inherits some of its properties from this class
words = word
character._propdict = {
'_3c_inheritance_3e_' : _3c_inheritance_3e_,
}
character._elemdict = {
}
line._propdict = {
'_3c_inheritance_3e_' : _3c_inheritance_3e_,
'justification' : justification,
}
line._elemdict = {
}
paragraph._propdict = {
'_3c_inheritance_3e_' : _3c_inheritance_3e_,
}
paragraph._elemdict = {
}
text._propdict = {
'color' : color,
'font' : font,
'size' : size,
'writing_code' : writing_code,
'style' : style,
'uniform_styles' : uniform_styles,
}
text._elemdict = {
'character' : character,
'line' : line,
'paragraph' : paragraph,
'text' : text,
'word' : word,
}
text_flow._propdict = {
'_3c_inheritance_3e_' : _3c_inheritance_3e_,
'name' : name,
}
text_flow._elemdict = {
}
text_style_info._propdict = {
'on_styles' : on_styles,
'off_styles' : off_styles,
}
text_style_info._elemdict = {
}
word._propdict = {
'_3c_inheritance_3e_' : _3c_inheritance_3e_,
}
word._elemdict = {
}
_Enum_just = {
'left' : 'left', # Align with left margin
'right' : 'rght', # Align with right margin
'center' : 'cent', # Align with center
'full' : 'full', # Align with both left and right margins
}
_Enum_styl = {
'plain' : 'plan', # Plain
'bold' : 'bold', # Bold
'italic' : 'ital', # Italic
'outline' : 'outl', # Outline
'shadow' : 'shad', # Shadow
'underline' : 'undl', # Underline
'superscript' : 'spsc', # Superscript
'subscript' : 'sbsc', # Subscript
'strikethrough' : 'strk', # Strikethrough
'small_caps' : 'smcp', # Small caps
'all_caps' : 'alcp', # All capital letters
'all_lowercase' : 'lowc', # Lowercase
'condensed' : 'cond', # Condensed
'expanded' : 'pexp', # Expanded
'hidden' : 'hidn', # Hidden
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'clin' : line,
'ctxt' : text,
'cwor' : word,
'cflo' : text_flow,
'cpar' : paragraph,
'tsty' : text_style_info,
'cha ' : character,
}
_propdeclarations = {
'psct' : writing_code,
'txst' : style,
'colr' : color,
'font' : font,
'pnam' : name,
'ustl' : uniform_styles,
'pjst' : justification,
'ofst' : off_styles,
'onst' : on_styles,
'ptsz' : size,
'c@#^' : _3c_inheritance_3e_,
}
_compdeclarations = {
}
_enumdeclarations = {
'styl' : _Enum_styl,
'just' : _Enum_just,
}
"""Suite Type Names Suite: Terminology for Registry data types
Level 1, version 1
Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
AETE/AEUT resource version 1/0, language 0, script 0
"""
import aetools
import MacOS
_code = 'tpnm'
class Type_Names_Suite_Events:
pass
class type_class_info(aetools.ComponentItem):
"""type class info - information about properties and elements of a class """
want = 'gcli'
class type_event_info(aetools.ComponentItem):
"""type event info - information about an event """
want = 'evin'
class plain_text(aetools.ComponentItem):
"""plain text - """
want = 'TEXT'
plain_text = plain_text
string = plain_text
class bounding_rectangle(aetools.ComponentItem):
"""bounding rectangle - bounding rectangle """
want = 'qdrt'
class point(aetools.ComponentItem):
"""point - point coordinates """
want = 'QDpt'
class fixed(aetools.ComponentItem):
"""fixed - a real number """
want = 'fixd'
class location_reference(aetools.ComponentItem):
"""location reference - """
want = 'insl'
class application_dictionary(aetools.ComponentItem):
"""application dictionary - """
want = 'aete'
class color_table(aetools.ComponentItem):
"""color table - """
want = 'clrt'
class dash_style(aetools.ComponentItem):
"""dash style - """
want = 'tdas'
class double_integer(aetools.ComponentItem):
"""double integer - """
want = 'comp'
class extended_real(aetools.ComponentItem):
"""extended real - """
want = 'exte'
class fixed_point(aetools.ComponentItem):
"""fixed point - """
want = 'fpnt'
class fixed_rectangle(aetools.ComponentItem):
"""fixed rectangle - """
want = 'frct'
class long_fixed(aetools.ComponentItem):
"""long fixed - """
want = 'lfxd'
class long_fixed_point(aetools.ComponentItem):
"""long fixed point - """
want = 'lfpt'
class long_fixed_rectangle(aetools.ComponentItem):
"""long fixed rectangle - """
want = 'lfrc'
class long_point(aetools.ComponentItem):
"""long point - """
want = 'lpnt'
class long_rectangle(aetools.ComponentItem):
"""long rectangle - """
want = 'lrct'
class machine_location(aetools.ComponentItem):
"""machine location - """
want = 'mLoc'
class menu(aetools.ComponentItem):
"""menu - """
want = 'cmnu'
class menu_item(aetools.ComponentItem):
"""menu item - """
want = 'cmen'
class null(aetools.ComponentItem):
"""null - """
want = 'null'
class pixel_map_record(aetools.ComponentItem):
"""pixel map record - """
want = 'tpmm'
class PostScript_picture(aetools.ComponentItem):
"""PostScript picture - """
want = 'EPS '
class RGB16_color(aetools.ComponentItem):
"""RGB16 color - """
want = 'tr16'
class RGB96_color(aetools.ComponentItem):
"""RGB96 color - """
want = 'tr96'
class small_integer(aetools.ComponentItem):
"""small integer - """
want = 'shor'
class small_real(aetools.ComponentItem):
"""small real - """
want = 'sing'
class system_dictionary(aetools.ComponentItem):
"""system dictionary - """
want = 'aeut'
class rotation(aetools.ComponentItem):
"""rotation - """
want = 'trot'
class scrap_styles(aetools.ComponentItem):
"""scrap styles - """
want = 'styl'
class TIFF_picture(aetools.ComponentItem):
"""TIFF picture - """
want = 'TIFF'
class version(aetools.ComponentItem):
"""version - """
want = 'vers'
class unsigned_integer(aetools.ComponentItem):
"""unsigned integer - """
want = 'magn'
class type_property_info(aetools.ComponentItem):
"""type property info - """
want = 'pinf'
class type_element_info(aetools.ComponentItem):
"""type element info - """
want = 'elin'
class type_parameter_info(aetools.ComponentItem):
"""type parameter info - """
want = 'pmin'
class type_suite_info(aetools.ComponentItem):
"""type suite info - """
want = 'suin'
class target_id(aetools.ComponentItem):
"""target id - """
want = 'targ'
type_class_info._propdict = {
}
type_class_info._elemdict = {
}
type_event_info._propdict = {
}
type_event_info._elemdict = {
}
plain_text._propdict = {
}
plain_text._elemdict = {
}
plain_text._propdict = {
}
plain_text._elemdict = {
}
bounding_rectangle._propdict = {
}
bounding_rectangle._elemdict = {
}
point._propdict = {
}
point._elemdict = {
}
fixed._propdict = {
}
fixed._elemdict = {
}
location_reference._propdict = {
}
location_reference._elemdict = {
}
application_dictionary._propdict = {
}
application_dictionary._elemdict = {
}
color_table._propdict = {
}
color_table._elemdict = {
}
dash_style._propdict = {
}
dash_style._elemdict = {
}
double_integer._propdict = {
}
double_integer._elemdict = {
}
extended_real._propdict = {
}
extended_real._elemdict = {
}
fixed_point._propdict = {
}
fixed_point._elemdict = {
}
fixed_rectangle._propdict = {
}
fixed_rectangle._elemdict = {
}
long_fixed._propdict = {
}
long_fixed._elemdict = {
}
long_fixed_point._propdict = {
}
long_fixed_point._elemdict = {
}
long_fixed_rectangle._propdict = {
}
long_fixed_rectangle._elemdict = {
}
long_point._propdict = {
}
long_point._elemdict = {
}
long_rectangle._propdict = {
}
long_rectangle._elemdict = {
}
machine_location._propdict = {
}
machine_location._elemdict = {
}
menu._propdict = {
}
menu._elemdict = {
}
menu_item._propdict = {
}
menu_item._elemdict = {
}
null._propdict = {
}
null._elemdict = {
}
pixel_map_record._propdict = {
}
pixel_map_record._elemdict = {
}
PostScript_picture._propdict = {
}
PostScript_picture._elemdict = {
}
RGB16_color._propdict = {
}
RGB16_color._elemdict = {
}
RGB96_color._propdict = {
}
RGB96_color._elemdict = {
}
small_integer._propdict = {
}
small_integer._elemdict = {
}
small_real._propdict = {
}
small_real._elemdict = {
}
system_dictionary._propdict = {
}
system_dictionary._elemdict = {
}
rotation._propdict = {
}
rotation._elemdict = {
}
scrap_styles._propdict = {
}
scrap_styles._elemdict = {
}
TIFF_picture._propdict = {
}
TIFF_picture._elemdict = {
}
version._propdict = {
}
version._elemdict = {
}
unsigned_integer._propdict = {
}
unsigned_integer._elemdict = {
}
type_property_info._propdict = {
}
type_property_info._elemdict = {
}
type_element_info._propdict = {
}
type_element_info._elemdict = {
}
type_parameter_info._propdict = {
}
type_parameter_info._elemdict = {
}
type_suite_info._propdict = {
}
type_suite_info._elemdict = {
}
target_id._propdict = {
}
target_id._elemdict = {
}
#
# Indices of types declared in this module
#
_classdeclarations = {
'targ' : target_id,
'null' : null,
'lfxd' : long_fixed,
'TIFF' : TIFF_picture,
'vers' : version,
'magn' : unsigned_integer,
'exte' : extended_real,
'qdrt' : bounding_rectangle,
'lrct' : long_rectangle,
'lfpt' : long_fixed_point,
'pmin' : type_parameter_info,
'pinf' : type_property_info,
'tdas' : dash_style,
'tr96' : RGB96_color,
'cmnu' : menu,
'gcli' : type_class_info,
'lpnt' : long_point,
'suin' : type_suite_info,
'trot' : rotation,
'fixd' : fixed,
'lfrc' : long_fixed_rectangle,
'frct' : fixed_rectangle,
'evin' : type_event_info,
'sing' : small_real,
'aete' : application_dictionary,
'tpmm' : pixel_map_record,
'cmen' : menu_item,
'QDpt' : point,
'EPS ' : PostScript_picture,
'mLoc' : machine_location,
'insl' : location_reference,
'elin' : type_element_info,
'comp' : double_integer,
'fpnt' : fixed_point,
'clrt' : color_table,
'styl' : scrap_styles,
'aeut' : system_dictionary,
'tr16' : RGB16_color,
'shor' : small_integer,
'TEXT' : plain_text,
}
_propdeclarations = {
}
_compdeclarations = {
}
_enumdeclarations = {
}
"""
Package generated from Macintosh HD:Systeemmap:Extensies:AppleScript
Resource aeut resid 0 Standard Event Suites for English
"""
import aetools
import AppleScript_Suite
import Required_Suite
import Standard_Suite
import Text_Suite
import QuickDraw_Graphics_Suite
import QuickDraw_Graphics_Suppleme
import Table_Suite
import Macintosh_Connectivity_Clas
import Type_Names_Suite
_code_to_module = {
'ascr' : AppleScript_Suite,
'reqd' : Required_Suite,
'core' : Standard_Suite,
'TEXT' : Text_Suite,
'qdrw' : QuickDraw_Graphics_Suite,
'qdsp' : QuickDraw_Graphics_Suppleme,
'tbls' : Table_Suite,
'macc' : Macintosh_Connectivity_Clas,
'tpnm' : Type_Names_Suite,
}
_code_to_fullname = {
'ascr' : 'StdSuites.AppleScript_Suite',
'reqd' : 'StdSuites.Required_Suite',
'core' : 'StdSuites.Standard_Suite',
'TEXT' : 'StdSuites.Text_Suite',
'qdrw' : 'StdSuites.QuickDraw_Graphics_Suite',
'qdsp' : 'StdSuites.QuickDraw_Graphics_Suppleme',
'tbls' : 'StdSuites.Table_Suite',
'macc' : 'StdSuites.Macintosh_Connectivity_Clas',
'tpnm' : 'StdSuites.Type_Names_Suite',
}
from AppleScript_Suite import *
from Required_Suite import *
from Standard_Suite import *
from Text_Suite import *
from QuickDraw_Graphics_Suite import *
from QuickDraw_Graphics_Suppleme import *
from Table_Suite import *
from Macintosh_Connectivity_Clas import *
from Type_Names_Suite import *
class StdSuites(AppleScript_Suite_Events,
Required_Suite_Events,
Standard_Suite_Events,
Text_Suite_Events,
QuickDraw_Graphics_Suite_Events,
QuickDraw_Graphics_Suppleme_Events,
Table_Suite_Events,
Macintosh_Connectivity_Clas_Events,
Type_Names_Suite_Events,
aetools.TalkTo):
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment