ยปCore Development>Code coverage>Lib/plat-mac/lib-scriptpackages/Netscape/Text.py

Python code coverage for Lib/plat-mac/lib-scriptpackages/Netscape/Text.py

#countcontent
1n/a"""Suite Text:
2n/aLevel 0, version 0
3n/a
4n/aGenerated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2
5n/aAETE/AEUT resource version 1/0, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'TEXT'
12n/a
13n/afrom StdSuites.Text_Suite import *
14n/aclass Text_Events(Text_Suite_Events):
15n/a
16n/a pass
17n/a
18n/a
19n/aclass text(aetools.ComponentItem):
20n/a """text - independent text view objects """
21n/a want = 'ctxt'
22n/aclass _Prop_beginning(aetools.NProperty):
23n/a """beginning - Beginning of element """
24n/a which = 'bgng'
25n/a want = 'obj '
26n/aclass _Prop_end(aetools.NProperty):
27n/a """end - Ending of element """
28n/a which = 'end '
29n/a want = 'obj '
30n/aclass _Prop_infront(aetools.NProperty):
31n/a """infront - Immediately before element """
32n/a which = 'pBef'
33n/a want = 'obj '
34n/aclass _Prop_justbehind(aetools.NProperty):
35n/a """justbehind - Immediately after element """
36n/a which = 'pAft'
37n/a want = 'obj '
38n/aclass _Prop_updateLevel(aetools.NProperty):
39n/a """updateLevel - updating level. Can only be incremented or decremented. Do so only in a try block -- if the level is greater than zero, visual text updating will cease. """
40n/a which = 'pUpL'
41n/a want = 'long'
42n/a# element 'stys' as ['indx', 'name']
43n/a
44n/aclass styleset(aetools.ComponentItem):
45n/a """styleset - A style \xd2set\xd3 that may be used repeatedly in text objects. """
46n/a want = 'stys'
47n/aclass _Prop_color(aetools.NProperty):
48n/a """color - the color """
49n/a which = 'colr'
50n/a want = 'RGB '
51n/aclass _Prop_font(aetools.NProperty):
52n/a """font - font name """
53n/a which = 'font'
54n/a want = 'TEXT'
55n/aclass _Prop_name(aetools.NProperty):
56n/a """name - style name """
57n/a which = 'pnam'
58n/a want = 'TEXT'
59n/aclass _Prop_size(aetools.NProperty):
60n/a """size - the size in points """
61n/a which = 'ptsz'
62n/a want = 'long'
63n/aclass _Prop_style(aetools.NProperty):
64n/a """style - the text styles or face attributes """
65n/a which = 'txst'
66n/a want = 'tsty'
67n/aclass _Prop_writing_code(aetools.NProperty):
68n/a """writing code - the script system and language """
69n/a which = 'psct'
70n/a want = 'tsty'
71n/a
72n/astylesets = styleset
73n/atext._superclassnames = []
74n/atext._privpropdict = {
75n/a 'beginning' : _Prop_beginning,
76n/a 'end' : _Prop_end,
77n/a 'infront' : _Prop_infront,
78n/a 'justbehind' : _Prop_justbehind,
79n/a 'updateLevel' : _Prop_updateLevel,
80n/a}
81n/atext._privelemdict = {
82n/a 'styleset' : styleset,
83n/a}
84n/astyleset._superclassnames = []
85n/astyleset._privpropdict = {
86n/a 'color' : _Prop_color,
87n/a 'font' : _Prop_font,
88n/a 'name' : _Prop_name,
89n/a 'size' : _Prop_size,
90n/a 'style' : _Prop_style,
91n/a 'writing_code' : _Prop_writing_code,
92n/a}
93n/astyleset._privelemdict = {
94n/a}
95n/a
96n/a#
97n/a# Indices of types declared in this module
98n/a#
99n/a_classdeclarations = {
100n/a 'ctxt' : text,
101n/a 'stys' : styleset,
102n/a}
103n/a
104n/a_propdeclarations = {
105n/a 'bgng' : _Prop_beginning,
106n/a 'colr' : _Prop_color,
107n/a 'end ' : _Prop_end,
108n/a 'font' : _Prop_font,
109n/a 'pAft' : _Prop_justbehind,
110n/a 'pBef' : _Prop_infront,
111n/a 'pUpL' : _Prop_updateLevel,
112n/a 'pnam' : _Prop_name,
113n/a 'psct' : _Prop_writing_code,
114n/a 'ptsz' : _Prop_size,
115n/a 'txst' : _Prop_style,
116n/a}
117n/a
118n/a_compdeclarations = {
119n/a}
120n/a
121n/a_enumdeclarations = {
122n/a}