This commit was manufactured by cvs2svn to create tag 'r212'.
[python/dscho.git] / Mac / Lib / lib-scriptpackages / StdSuites / Table_Suite.py
blob0e626664fc16359771c0cf46eeb1e7adf43227ce
1 """Suite Table Suite: Classes for manipulating tables
2 Level 1, version 1
4 Generated from Macintosh HD:Systeemmap:Extensies:AppleScript
5 AETE/AEUT resource version 1/0, language 0, script 0
6 """
8 import aetools
9 import MacOS
11 _code = 'tbls'
13 class Table_Suite_Events:
15 pass
18 class cell(aetools.ComponentItem):
19 """cell - A cell """
20 want = 'ccel'
21 class formula(aetools.NProperty):
22 """formula - the formula of the cell """
23 which = 'pfor'
24 want = 'ctxt'
25 class protection(aetools.NProperty):
26 """protection - Indicates whether value or formula in the cell can be changed """
27 which = 'ppro'
28 want = 'prtn'
30 cells = cell
32 class column(aetools.ComponentItem):
33 """column - A column """
34 want = 'ccol'
35 class name(aetools.NProperty):
36 """name - the name of the column """
37 which = 'pnam'
38 want = 'itxt'
40 columns = column
42 class row(aetools.ComponentItem):
43 """row - A row """
44 want = 'crow'
46 rows = row
48 class table(aetools.ComponentItem):
49 """table - A table """
50 want = 'ctbl'
52 tables = table
53 cell._propdict = {
54 'formula' : formula,
55 'protection' : protection,
57 cell._elemdict = {
59 column._propdict = {
60 'name' : name,
62 column._elemdict = {
64 row._propdict = {
66 row._elemdict = {
68 table._propdict = {
70 table._elemdict = {
72 _Enum_prtn = {
73 'read_only' : 'nmod', # CanÕt change values or formulas
74 'formulas_protected' : 'fpro', # Can changes values but not formulas
75 'read_2f_write' : 'modf', # Can change values and formulas
80 # Indices of types declared in this module
82 _classdeclarations = {
83 'ccel' : cell,
84 'ctbl' : table,
85 'ccol' : column,
86 'crow' : row,
89 _propdeclarations = {
90 'ppro' : protection,
91 'pfor' : formula,
92 'pnam' : name,
95 _compdeclarations = {
98 _enumdeclarations = {
99 'prtn' : _Enum_prtn,