home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Westmount Technology 1994
- #
- # File: @(#)pssection.tcl 1.8
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)pssection.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 PsSection : {LocalSection} {
- constructor
- method destructor
- method promoter
- method print
- method preview
- }
-
- constructor PsSection {class this name document} {
- set this [LocalSection::constructor $class $this $name $document]
- # Start constructor user section
- # End constructor user section
- return $this
- }
-
- method PsSection::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this LocalSection::destructor
- }
-
- method PsSection::promoter {this document} {
- $this LocalSection::promoter $document
-
- $this uiType PS
- }
-
- method PsSection::print {this} {
-
- set cmd [list \
- "[m4_var get M4_ps_printer] [$this docLocation]" \
- [$this uiName] \
- ]
- $this execute "$cmd"
- }
-
- method PsSection::preview {this} {
-
- set cmd [list \
- "previewer PsSection" \
- [$this docLocation] \
- [$this uiName] \
- ]
- $this execute "$cmd" m4
- }
-
- # Do not delete this line -- regeneration end marker
-
-