home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
wd97docsec.tcl
< prev
next >
Wrap
Text File
|
1997-07-18
|
2KB
|
77 lines
#---------------------------------------------------------------------------
#
# (c) Cayenne Software Inc. 1997
#
# File: @(#)wd97docsec.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)wd97docsec.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 Wd97DocSection : {WordSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor Wd97DocSection {class this name document} {
set this [WordSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method Wd97DocSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this WordSection::destructor
}
method Wd97DocSection::promoter {this} {
$this uiType Wd97Doc
$this extension doc
$this WordSection::promoter
$this operationClass manipulate
if {! [isCommand [$this _contentsGenerator]]} {
global classCount
$this _contentsGenerator \
[Wd97DocConGen new Wd97DocConGen$classCount $this]
incr classCount
}
$this initContents Word97.dot
}
method Wd97DocSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method Wd97DocSection::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
}