Commit Graph

8 Commits

Author SHA1 Message Date
rods@netscape.com
89fe1f4414 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
rods@netscape.com
74a3e8a1ed Removing unwanted part of patch 2002-10-03 11:28:48 +00:00
rods@netscape.com
623e0f0509 Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
rods@netscape.com
3d9ae8f7f7 Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
rods@netscape.com
068dcd207f Make sure the Print Data is cleaned up when exiting PP
Bug 164384 r=pete sr=kin a=asa
2002-09-10 01:57:09 +00:00
rods@netscape.com
2b5415cf71 Checked in from wrong tree. 2002-09-03 23:25:17 +00:00
rods@netscape.com
900a497693 Bug 164250 Instrument the PrintEngine for print testing
r=dcone sr=kin
2002-09-03 23:21:15 +00:00
rods@netscape.com
8ce93fb318 Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
2002-08-21 12:01:05 +00:00