home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)ilsection.tcl 1.9
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)ilsection.tcl 1.9 12 Feb 1996 Copyright 1994 Westmount Technology
-
- # Start user added include file section
- # End user added include file section
-
- require "localsecti.tcl"
-
- Class IlSection : {LocalSection} {
- constructor
- method destructor
- method promoter
- method edit
- method show
- method print
- method preview
- method escapeClass
- method escapeText
- }
-
- constructor IlSection {class this name document} {
- set this [LocalSection::constructor $class $this $name $document]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method IlSection::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this LocalSection::destructor
- }
-
- method IlSection::promoter {this document} {
- $this DocSection::promoter $document
-
- $this operationClass manipulate
- }
-
- method IlSection::edit {this} {
-
- # edit with the document editor command
- [[$this document] editor] edit $this
- }
-
- method IlSection::show {this} {
-
- # preview with the document editor command
- [[$this document] editor] show $this
- }
-
- method IlSection::print {this} {
-
- # preview with the document editor command
- [[$this document] editor] print $this
- }
-
- method IlSection::preview {this} {
-
- # preview with the document editor command
- [[$this document] editor] preview $this
- }
-
- method IlSection::escapeClass {this class} {
-
- set sn $class
- if {[regsub -all {\\} $sn {\\\\} snn]} {set sn $snn}
- if {[regsub -all { } $sn {\\ } snn]} {set sn $snn}
- if {[regsub -all {<} $sn {\\<} snn]} {set sn $snn}
- if {[regsub -all {>} $sn {\\>} snn]} {set sn $snn}
- if {[regsub -all {\(} $sn {\\(} snn]} {set sn $snn}
- if {[regsub -all {\)} $sn {\\)} snn]} {set sn $snn}
- return $sn
- }
-
- method IlSection::escapeText {this text} {
-
- set sn $text
- if {[regsub -all {<} $sn {<<} snn]} {set sn $snn}
- return $sn
- }
-
- proc IlSection::isAscii {} {
- return 0
- }
-
- # Do not delete this line -- regeneration end marker
-
-