summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-17 22:14:57 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-17 22:14:57 (GMT)
commitff792c26880306f22a5e62edc4609df5072e868c (patch)
tree2b0df83ab66acb90d6c4d8d5fe773e74c014ec39 /Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py
parent87426b9f1bdc0351158a563e334ba45c4eebe6b5 (diff)
downloadcpython-ff792c26880306f22a5e62edc4609df5072e868c.zip
cpython-ff792c26880306f22a5e62edc4609df5072e868c.tar.gz
cpython-ff792c26880306f22a5e62edc4609df5072e868c.tar.bz2
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).
Diffstat (limited to 'Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py')
-rw-r--r--Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py100
1 files changed, 100 insertions, 0 deletions
diff --git a/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py
new file mode 100644
index 0000000..b5a8ff3
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/StdSuites/Table_Suite.py
@@ -0,0 +1,100 @@
+"""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', # Canšt 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,
+}