home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
ximagesect.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
1KB
|
59 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)ximagesect.tcl 1.5
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)ximagesect.tcl 1.5 19 Jan 1996 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require "localsecti.tcl"
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