1""" 2Package generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicator\xe2\x84\xa2 Folder/Netscape Communicator\xe2\x84\xa2 3""" 4 5from warnings import warnpy3k 6warnpy3k("In 3.x, the Netscape package is removed.", stacklevel=2) 7 8import aetools 9Error = aetools.Error 10import Standard_Suite 11import Standard_URL_suite 12import Mozilla_suite 13import Text 14import WorldWideWeb_suite 15import PowerPlant 16import Required_suite 17 18 19_code_to_module = { 20 'CoRe' : Standard_Suite, 21 'GURL' : Standard_URL_suite, 22 'MOSS' : Mozilla_suite, 23 'TEXT' : Text, 24 'WWW!' : WorldWideWeb_suite, 25 'ppnt' : PowerPlant, 26 'reqd' : Required_suite, 27} 28 29 30 31_code_to_fullname = { 32 'CoRe' : ('Netscape.Standard_Suite', 'Standard_Suite'), 33 'GURL' : ('Netscape.Standard_URL_suite', 'Standard_URL_suite'), 34 'MOSS' : ('Netscape.Mozilla_suite', 'Mozilla_suite'), 35 'TEXT' : ('Netscape.Text', 'Text'), 36 'WWW!' : ('Netscape.WorldWideWeb_suite', 'WorldWideWeb_suite'), 37 'ppnt' : ('Netscape.PowerPlant', 'PowerPlant'), 38 'reqd' : ('Netscape.Required_suite', 'Required_suite'), 39} 40 41from Standard_Suite import * 42from Standard_URL_suite import * 43from Mozilla_suite import * 44from Text import * 45from WorldWideWeb_suite import * 46from PowerPlant import * 47from Required_suite import * 48 49def getbaseclasses(v): 50 if not getattr(v, '_propdict', None): 51 v._propdict = {} 52 v._elemdict = {} 53 for superclassname in getattr(v, '_superclassnames', []): 54 superclass = eval(superclassname) 55 getbaseclasses(superclass) 56 v._propdict.update(getattr(superclass, '_propdict', {})) 57 v._elemdict.update(getattr(superclass, '_elemdict', {})) 58 v._propdict.update(getattr(v, '_privpropdict', {})) 59 v._elemdict.update(getattr(v, '_privelemdict', {})) 60 61import StdSuites 62 63# 64# Set property and element dictionaries now that all classes have been defined 65# 66getbaseclasses(text) 67getbaseclasses(styleset) 68getbaseclasses(StdSuites.Text_Suite.character) 69getbaseclasses(StdSuites.Text_Suite.text_flow) 70getbaseclasses(StdSuites.Text_Suite.word) 71getbaseclasses(StdSuites.Text_Suite.paragraph) 72getbaseclasses(StdSuites.Text_Suite.text_style_info) 73getbaseclasses(StdSuites.Text_Suite.line) 74getbaseclasses(StdSuites.Text_Suite.text) 75getbaseclasses(window) 76getbaseclasses(application) 77 78# 79# Indices of types declared in this module 80# 81_classdeclarations = { 82 'ctxt' : text, 83 'stys' : styleset, 84 'cha ' : StdSuites.Text_Suite.character, 85 'cflo' : StdSuites.Text_Suite.text_flow, 86 'cwor' : StdSuites.Text_Suite.word, 87 'cpar' : StdSuites.Text_Suite.paragraph, 88 'tsty' : StdSuites.Text_Suite.text_style_info, 89 'clin' : StdSuites.Text_Suite.line, 90 'ctxt' : StdSuites.Text_Suite.text, 91 'cwin' : window, 92 'capp' : application, 93} 94 95 96class Netscape(Standard_Suite_Events, 97 Standard_URL_suite_Events, 98 Mozilla_suite_Events, 99 Text_Events, 100 WorldWideWeb_suite_Events, 101 PowerPlant_Events, 102 Required_suite_Events, 103 aetools.TalkTo): 104 _signature = 'MOSS' 105 106 _moduleName = 'Netscape' 107 108 _elemdict = application._elemdict 109 _propdict = application._propdict 110