home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
doctextsec.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
79 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)doctextsec.tcl 1.8
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)doctextsec.tcl 1.8 19 Jan 1996 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require "localsecti.tcl"
Class DoctextSection : {LocalSection} {
constructor
method destructor
method edit
method show
method print
method preview
}
constructor DoctextSection {class this name document} {
set this [LocalSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method DoctextSection::destructor {this} {
# Start destructor user section
# End destructor user section
$this LocalSection::destructor
}
method DoctextSection::edit {this} {
set cmd [list \
"editor DoctextSection" \
[$this docLocation] \
[$this uiName] \
]
$this execute "$cmd" m4
}
method DoctextSection::show {this} {
set cmd [list \
"viewer DoctextSection" \
[$this docLocation] \
[$this uiName] \
]
$this execute "$cmd" m4
}
method DoctextSection::print {this} {
set cmd [list \
"[m4_var get M4_a_printer] [$this docLocation]" \
[$this uiName] \
]
$this execute "$cmd"
}
method DoctextSection::preview {this} {
set cmd [list \
"previewer DoctextSection" \
[$this docLocation] \
[$this uiName] \
]
$this execute "$cmd" m4
}
# Do not delete this line -- regeneration end marker