home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
htmldocsec.tcl
< prev
next >
Wrap
Text File
|
1996-12-05
|
2KB
|
71 lines
#---------------------------------------------------------------------
#
# (c) Cayenne Software, Inc. 1996
#
# File: htmldocsec.tcl
# Description: see Document Generation Guide
#---------------------------------------------------------------------
set user_dir /user/papr/icase
# Change this variable setting
my_require "$user_dir/htmldocconge.tcl"
my_require "/user/papr/icase/htmlsection.tcl"
Class HtmlDocSection : {HtmlSection} {
constructor
method destructor
method promoter
method generateTypeContents
method contentsGenerator
attribute _contentsGenerator
}
constructor HtmlDocSection {class this name document} {
set this [HtmlSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method HtmlDocSection::destructor {this} {
set ref [$this _contentsGenerator]
if {$ref != ""} {
$ref _section ""
}
# Start destructor user section
# End destructor user section
$this HtmlSection::destructor
}
method HtmlDocSection::promoter {this document} {
$this uiType Doc
$this extension html
$this HtmlSection::promoter $document
global classCount
$this _contentsGenerator [HtmlDocConGen new HtmlDocConGen$classCount $this]
incr classCount
}
method HtmlDocSection::generateTypeContents {this} {
[$this contentsGenerator] generate
}
# Do not delete this line -- regeneration end marker
method HtmlDocSection::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
}