2000-08-17 19:14:57 -03:00
|
|
|
"""Suite Table Suite: Classes for manipulating tables
|
|
|
|
Level 1, version 1
|
|
|
|
|
2003-06-13 11:31:19 -03:00
|
|
|
Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
|
2000-08-17 19:14:57 -03:00
|
|
|
AETE/AEUT resource version 1/0, language 0, script 0
|
|
|
|
"""
|
|
|
|
|
|
|
|
import aetools
|
|
|
|
import MacOS
|
|
|
|
|
|
|
|
_code = 'tbls'
|
|
|
|
|
|
|
|
class Table_Suite_Events:
|
|
|
|
|
2003-04-12 19:27:11 -03:00
|
|
|
pass
|
2000-08-17 19:14:57 -03:00
|
|
|
|
|
|
|
|
|
|
|
class cell(aetools.ComponentItem):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""cell - A cell """
|
|
|
|
want = 'ccel'
|
2003-04-01 18:05:14 -04:00
|
|
|
class _Prop_formula(aetools.NProperty):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""formula - the formula of the cell """
|
|
|
|
which = 'pfor'
|
|
|
|
want = 'ctxt'
|
2003-04-01 18:05:14 -04:00
|
|
|
class _Prop_protection(aetools.NProperty):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""protection - Indicates whether value or formula in the cell can be changed """
|
|
|
|
which = 'ppro'
|
|
|
|
want = 'prtn'
|
2000-08-17 19:14:57 -03:00
|
|
|
|
|
|
|
cells = cell
|
|
|
|
|
|
|
|
class column(aetools.ComponentItem):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""column - A column """
|
|
|
|
want = 'ccol'
|
2003-04-01 18:05:14 -04:00
|
|
|
class _Prop_name(aetools.NProperty):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""name - the name of the column """
|
|
|
|
which = 'pnam'
|
|
|
|
want = 'itxt'
|
2000-08-17 19:14:57 -03:00
|
|
|
|
|
|
|
columns = column
|
|
|
|
|
2003-03-30 18:41:53 -04:00
|
|
|
class rows(aetools.ComponentItem):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""rows - """
|
|
|
|
want = 'crow'
|
2000-08-17 19:14:57 -03:00
|
|
|
|
2003-03-30 18:41:53 -04:00
|
|
|
row = rows
|
2000-08-17 19:14:57 -03:00
|
|
|
|
2003-03-30 18:41:53 -04:00
|
|
|
class tables(aetools.ComponentItem):
|
2003-04-12 19:27:11 -03:00
|
|
|
"""tables - """
|
|
|
|
want = 'ctbl'
|
2000-08-17 19:14:57 -03:00
|
|
|
|
2003-03-30 18:41:53 -04:00
|
|
|
table = tables
|
2002-08-07 12:53:42 -03:00
|
|
|
cell._superclassnames = []
|
|
|
|
cell._privpropdict = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'formula' : _Prop_formula,
|
|
|
|
'protection' : _Prop_protection,
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
cell._privelemdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
column._superclassnames = []
|
|
|
|
column._privpropdict = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'name' : _Prop_name,
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2002-08-07 12:53:42 -03:00
|
|
|
column._privelemdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2003-03-30 18:41:53 -04:00
|
|
|
rows._superclassnames = []
|
|
|
|
rows._privpropdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2003-03-30 18:41:53 -04:00
|
|
|
rows._privelemdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2003-03-30 18:41:53 -04:00
|
|
|
tables._superclassnames = []
|
|
|
|
tables._privpropdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
2003-03-30 18:41:53 -04:00
|
|
|
tables._privelemdict = {
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
|
|
|
_Enum_prtn = {
|
2004-07-18 03:16:08 -03:00
|
|
|
'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
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Indices of types declared in this module
|
|
|
|
#
|
|
|
|
_classdeclarations = {
|
2003-04-12 19:27:11 -03:00
|
|
|
'ccel' : cell,
|
|
|
|
'ccol' : column,
|
|
|
|
'crow' : rows,
|
|
|
|
'ctbl' : tables,
|
|
|
|
}
|
|
|
|
|
|
|
|
_propdeclarations = {
|
|
|
|
'pfor' : _Prop_formula,
|
|
|
|
'pnam' : _Prop_name,
|
|
|
|
'ppro' : _Prop_protection,
|
|
|
|
}
|
|
|
|
|
|
|
|
_compdeclarations = {
|
|
|
|
}
|
|
|
|
|
|
|
|
_enumdeclarations = {
|
|
|
|
'prtn' : _Enum_prtn,
|
2000-08-17 19:14:57 -03:00
|
|
|
}
|