diff options
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py | 69 |
1 files changed, 41 insertions, 28 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py index 09e326c..d4a00a4 100644 --- a/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/StdSuites/Table_Suite.py @@ -12,54 +12,54 @@ _code = 'tbls' class Table_Suite_Events: - pass + pass class cell(aetools.ComponentItem): - """cell - A cell """ - want = 'ccel' + """cell - A cell """ + want = 'ccel' class _Prop_formula(aetools.NProperty): - """formula - the formula of the cell """ - which = 'pfor' - want = 'ctxt' + """formula - the formula of the cell """ + which = 'pfor' + want = 'ctxt' class _Prop_protection(aetools.NProperty): - """protection - Indicates whether value or formula in the cell can be changed """ - which = 'ppro' - want = 'prtn' + """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' + """column - A column """ + want = 'ccol' class _Prop_name(aetools.NProperty): - """name - the name of the column """ - which = 'pnam' - want = 'itxt' + """name - the name of the column """ + which = 'pnam' + want = 'itxt' columns = column class rows(aetools.ComponentItem): - """rows - """ - want = 'crow' + """rows - """ + want = 'crow' row = rows class tables(aetools.ComponentItem): - """tables - """ - want = 'ctbl' + """tables - """ + want = 'ctbl' table = tables cell._superclassnames = [] cell._privpropdict = { - 'formula' : _Prop_formula, - 'protection' : _Prop_protection, + 'formula' : _Prop_formula, + 'protection' : _Prop_protection, } cell._privelemdict = { } column._superclassnames = [] column._privpropdict = { - 'name' : _Prop_name, + 'name' : _Prop_name, } column._privelemdict = { } @@ -74,9 +74,9 @@ tables._privpropdict = { tables._privelemdict = { } _Enum_prtn = { - 'read_only' : 'nmod', # Can\xd5t change values or formulas - 'formulas_protected' : 'fpro', # Can changes values but not formulas - 'read_2f_write' : 'modf', # Can change values and formulas + 'read_only' : 'nmod', # Can\xd5t change values or formulas + 'formulas_protected' : 'fpro', # Can changes values but not formulas + 'read_2f_write' : 'modf', # Can change values and formulas } @@ -84,8 +84,21 @@ _Enum_prtn = { # Indices of types declared in this module # _classdeclarations = { - 'ccel' : cell, - 'ccol' : column, - 'crow' : rows, - 'ctbl' : tables, + 'ccel' : cell, + 'ccol' : column, + 'crow' : rows, + 'ctbl' : tables, +} + +_propdeclarations = { + 'pfor' : _Prop_formula, + 'pnam' : _Prop_name, + 'ppro' : _Prop_protection, +} + +_compdeclarations = { +} + +_enumdeclarations = { + 'prtn' : _Enum_prtn, } |
