home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
programy
/
komix
/
DATA.Z
/
worddiagra.tcl
< prev
next >
Wrap
Text File
|
1996-05-29
|
2KB
|
66 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)worddiagra.tcl 1.7
# Author: <generated>
# Description:
#---------------------------------------------------------------------------
# SccsId = @(#)worddiagra.tcl 1.7 22 Nov 1995 Copyright 1994 Westmount Technology
# Start user added include file section
# End user added include file section
require "diagramsec.tcl"
Class WordDiagramSection : {DiagramSection} {
constructor
method destructor
method promoter
method docType
method updateDocDir
method print
}
constructor WordDiagramSection {class this name document} {
set this [DiagramSection::constructor $class $this $name $document]
# Start constructor user section
# End constructor user section
return $this
}
method WordDiagramSection::destructor {this} {
# Start destructor user section
# End destructor user section
$this DiagramSection::destructor
}
method WordDiagramSection::promoter {this document} {
$this operationClass import
$this extension wmf
$this DiagramSection::promoter $document
}
method WordDiagramSection::docType {this} {
# Type of this section is Wmf
return Wmf
}
method WordDiagramSection::updateDocDir {this} {
# convert from 'diagram' format to epsf format
if {![$this DiagramSection::updateDocDir]} {
return 0
}
return 1
}
method WordDiagramSection::print {this} {
puts "Printing not yet implemented: use print from inside Word"
}
# Do not delete this line -- regeneration end marker