• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""Suite Table Suite: Classes for manipulating tables
2Level 1, version 1
3
4Generated from /Volumes/Sap/System Folder/Extensions/AppleScript
5AETE/AEUT resource version 1/0, language 0, script 0
6"""
7
8import aetools
9import MacOS
10
11_code = 'tbls'
12
13class Table_Suite_Events:
14
15    pass
16
17
18class cell(aetools.ComponentItem):
19    """cell - A cell """
20    want = 'ccel'
21class _Prop_formula(aetools.NProperty):
22    """formula - the formula of the cell """
23    which = 'pfor'
24    want = 'ctxt'
25class _Prop_protection(aetools.NProperty):
26    """protection - Indicates whether value or formula in the cell can be changed """
27    which = 'ppro'
28    want = 'prtn'
29
30cells = cell
31
32class column(aetools.ComponentItem):
33    """column - A column """
34    want = 'ccol'
35class _Prop_name(aetools.NProperty):
36    """name - the name of the column """
37    which = 'pnam'
38    want = 'itxt'
39
40columns = column
41
42class rows(aetools.ComponentItem):
43    """rows -  """
44    want = 'crow'
45
46row = rows
47
48class tables(aetools.ComponentItem):
49    """tables -  """
50    want = 'ctbl'
51
52table = tables
53cell._superclassnames = []
54cell._privpropdict = {
55    'formula' : _Prop_formula,
56    'protection' : _Prop_protection,
57}
58cell._privelemdict = {
59}
60column._superclassnames = []
61column._privpropdict = {
62    'name' : _Prop_name,
63}
64column._privelemdict = {
65}
66rows._superclassnames = []
67rows._privpropdict = {
68}
69rows._privelemdict = {
70}
71tables._superclassnames = []
72tables._privpropdict = {
73}
74tables._privelemdict = {
75}
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
80}
81
82
83#
84# Indices of types declared in this module
85#
86_classdeclarations = {
87    'ccel' : cell,
88    'ccol' : column,
89    'crow' : rows,
90    'ctbl' : tables,
91}
92
93_propdeclarations = {
94    'pfor' : _Prop_formula,
95    'pnam' : _Prop_name,
96    'ppro' : _Prop_protection,
97}
98
99_compdeclarations = {
100}
101
102_enumdeclarations = {
103    'prtn' : _Enum_prtn,
104}
105