home *** CD-ROM | disk | FTP | other *** search
/ PC World 1997 November / PCWorld_1997-11_cd.bin / software / programy / komix / DATA.Z / wd97docedi.tcl < prev    next >
Text File  |  1997-05-23  |  1KB  |  52 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #      (c)     Cayenne Software Inc.    1997
  4. #
  5. #      File:           @(#)wd97docedi.tcl    /main/hindenburg/1
  6. #      Author:         <generated>
  7. #      Description:
  8. #---------------------------------------------------------------------------
  9. # SccsId = @(#)wd97docedi.tcl    /main/hindenburg/1   23 May 1997 Copyright 1997 Cayenne Software Inc.
  10.  
  11. # Start user added include file section
  12. # End user added include file section
  13.  
  14. require "wddocedito.tcl"
  15.  
  16. Class Wd97DocEditor : {WdDocEditor} {
  17.     constructor
  18.     method destructor
  19.     method connect
  20.     method disconnect
  21.     attribute app
  22. }
  23.  
  24. constructor Wd97DocEditor {class this name_1} {
  25.     set this [WdDocEditor::constructor $class $this $name_1]
  26.     # Start constructor user section
  27.     # End constructor user section
  28.     $this printsIncluded y
  29.     $this name Wd97
  30.     $this version 80
  31.     return $this
  32. }
  33.  
  34. method Wd97DocEditor::destructor {this} {
  35.     # Start destructor user section
  36.     # End destructor user section
  37.     $this WdDocEditor::destructor
  38. }
  39.  
  40. method Wd97DocEditor::connect {this} {
  41.     uplevel #0 require wd97automa.tcl
  42.     $this app [Wd97AutomationObject new]
  43. }
  44.  
  45. method Wd97DocEditor::disconnect {this} {
  46.     [$this app] Quit
  47.     [$this app] delete
  48. }
  49.  
  50. # Do not delete this line -- regeneration end marker
  51.  
  52.