home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
wd97mstrse.tcl
< prev
next >
Wrap
Text File
|
1997-07-18
|
2KB
|
74 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)wd97mstrse.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)wd97mstrse.tcl /main/titanic/1 18 Jul 1997 Copyright 1997 Cayenne Software Inc.
# Start user added include file section
# End user added include file section
require_module_file "wordsectio.tcl" word97
Class Wd97MstrSection : {WordSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor Wd97MstrSection {class this name document} {
set this [WordSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method Wd97MstrSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this WordSection::destructor
}
method Wd97MstrSection::promoter {this document} {
$this uiType Wd97Doc
$this extension doc
$this WordSection::promoter
$this operationClass manipulate
global classCount
$this _contentsGenerator \
[Wd97MstrConGen new Wd97MstrConGen$classCount $this]
incr classCount
}
method Wd97MstrSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method Wd97MstrSection::contentsGenerator {this args} {
if {$args == ""} {
return [$this _contentsGenerator]
}
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
set obj [lindex $args 0]
if {$obj != ""} {
$obj _section $this
}
$this _contentsGenerator $obj
}