home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
ximagesect.tcl
< prev
next >
Wrap
Text File
|
1997-01-02
|
1KB
|
59 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)ximagesect.tcl /main/titanic/1
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ximagesect.tcl /main/titanic/1 2 Jan 1997 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require_module_file "localsecti.tcl" docwriter
Class XimageSection : {LocalSection} {
constructor
method destructor
method print
method preview
}
constructor XimageSection {class this name document} {
set this [LocalSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method XimageSection::destructor {this} {
# Start destructor user section
# End destructor user section
$this LocalSection::destructor
}
method XimageSection::print {this} {
set cmd [list \
"xwud -in [$this docLocation]" \
[$this uiName] \
]
$this execute "$cmd"
}
method XimageSection::preview {this} {
set printer [m4_var get M4_ps_printer]
set cmd "sh -c 'xpr -device ps [$this docLocation] | $printer'"
$this execute "$cmd" xtool
}
proc XimageSection::isAscii {} {
return 0
}
# Do not delete this line -- regeneration end marker