move sections
[python/dscho.git] / Lib / plat-mac / lib-scriptpackages / StdSuites / Table_Suite.py
blobafa01a0e0017fcf945900d6a636b98eacb9955d1
1 """Suite Table Suite: Classes for manipulating tables
2 Level 1, version 1
4 Generated from /Volumes/Sap/System Folder/Extensions/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 _Prop_formula(aetools.NProperty):
22 """formula - the formula of the cell """
23 which = 'pfor'
24 want = 'ctxt'
25 class _Prop_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 _Prop_name(aetools.NProperty):
36 """name - the name of the column """
37 which = 'pnam'
38 want = 'itxt'
40 columns = column
42 class rows(aetools.ComponentItem):
43 """rows - """
44 want = 'crow'
46 row = rows
48 class tables(aetools.ComponentItem):
49 """tables - """
50 want = 'ctbl'
52 table = tables
53 cell._superclassnames = []
54 cell._privpropdict = {
55 'formula' : _Prop_formula,
56 'protection' : _Prop_protection,
58 cell._privelemdict = {
60 column._superclassnames = []
61 column._privpropdict = {
62 'name' : _Prop_name,
64 column._privelemdict = {
66 rows._superclassnames = []
67 rows._privpropdict = {
69 rows._privelemdict = {
71 tables._superclassnames = []
72 tables._privpropdict = {
74 tables._privelemdict = {
76 _Enum_prtn = {
77 'read_only' : 'nmod', # Can\xd5t change values or formulas
78 'formulas_protected' : 'fpro', # Can changes values but not formulas
79 'read_2f_write' : 'modf', # Can change values and formulas
84 # Indices of types declared in this module
86 _classdeclarations = {
87 'ccel' : cell,
88 'ccol' : column,
89 'crow' : rows,
90 'ctbl' : tables,
93 _propdeclarations = {
94 'pfor' : _Prop_formula,
95 'pnam' : _Prop_name,
96 'ppro' : _Prop_protection,
99 _compdeclarations = {
102 _enumdeclarations = {
103 'prtn' : _Enum_prtn,