PrintFileInterface
PrintFileInterface
- Superclass
- ApplicationModel
- Subclasses
- none
- Referenced By
- CompositeWrapper, ApplicationModel, CatModelWrapper, OldCatModelWrapper,
- PrintFileInterface, TBUPnlInterface, TBUReportTable
This class provides a user interface for selecting print options. It then calls the
PrintFile Class to print the requested object.
Example of use:
" PrintFileInterface
openOn: self
header: builder window label
footerString: footerString
disclaimer: nil
date: #date
pageOrientation: #landscape"
Instance Variables:
model <ApplicationModel> Contains an instance of the model attempting to print.
footerTxt <ValueHolder on: String> Contains the string to be printed as the footer.
title <ValueHolder on: String> Contains the string to be printed as the title.
reportDate <ValueHolder on: Symbol> Indicates the format of the print date. Valid values:
#none (do not print the date on the printout)
#date (print the date in the format DD-Mon-YYYY)
#timestamp (print the date and time in the format DD-Mon-YYYY HH:MM:SS am/pm)
fileName <ValueHolder on: String> Contains the file specification to write to when printMedium is #file.
pageOrientation <ValueHolder on: Symbol> Indicates the orientation of the report. Valid values:
#portrait
#landscape.
printMedium <ValueHolder on: Symbol> Indicates the medium to print on. Valid values:
#file (write to file and do not print)
#printer (write to temporary file, print, and delete temporary file)
disclaimer <Boolean> Indicates whether to print a disclaimer on the report.
disclaimerTxt <String> Contains the disclaimer string to be displayed on the report.
Note: footerTxt, title, and disclaimerTxt can force a carriage return by placing a
backslash (\) at the point in the string where the carriage return should be placed.
Developed By: Joseph W. Yoder (yoder@cs.uiuc.edu) and Cathy Roling (rolinca@cat.com)