Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!tank.news.pipex.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!inka.de!janus.inka.de!usenet
From: ralph.schmieder@janus.inka.de (Ralph Schmieder)
Subject: VW20 - Printing a TableView
X-Newsreader: Forte Free Agent 1.0.82
Sender: usenet@janus.inka.de (news)
Nntp-Posting-Host: pandora.inka.de
Organization: ralph's private linux site
Message-ID: <1995Aug14.203747.1264@janus.inka.de>
Date: Mon, 14 Aug 1995 20:37:41 GMT
Lines: 30

Hi there.

I'm trying to print out a TableView on a printer. This should also
work for tables which are wider than the available space on the paper.
Over-wide columns should print on separate pages so that one gets a
real table-printout by "cutting and pasting" the sheets of paper.
Therefore, a simple hardcopy didn't solve the problem. The row and
column headers should be printed too, of course.

Any suggestions on that? I'm experimenting by extracting the three
GeneralTableViews (one for the content and one for the row and column
headers, respectively) of a TableDecorator, using their displayOn:
method to print them on a PrinterDeviceContext.

Using the displayOn: method of class TableDecorator prints the
decorations of a  BorderedWrapper and a pair of scrollbars which I
don't want.

Helpful hints would be appreciated. Thanks in advance.




regards
ralph

--

ralph schmieder @ karlsruhe

