home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cayenne Software Inc. 1997
- #
- # File: @(#)wd97docsec.tcl /main/hindenburg/1
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)wd97docsec.tcl /main/hindenburg/1 23 May 1997 Copyright 1997 Cayenne Software Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "wordsectio.tcl"
-
- 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 document} {
- $this uiType Wd97Doc
- $this extension doc
- $this WordSection::promoter $document
- $this operationClass manipulate
- 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
- }
-
-