Commit Graph

269 Commits

Author SHA1 Message Date
caillon@returnzero.com
fed5411798 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
peterv@netscape.com
fd22bd13c9 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
rods@netscape.com
a9069c466d Instead of at the end of of the PO it needs to be in the middel of reflow
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
2002-11-22 13:06:58 +00:00
rods@netscape.com
32d7db460f The search for the selected frames was not looking in all the child lisst for each frame
Bug 181228 r=dcone sr=jst
2002-11-22 13:02:05 +00:00
timeless@mozdev.org
26d661bf38 Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
rods@netscape.com
178e91fe44 change STF threshold to 60%
Bug 175316 r=dcone sr=alecf a=dbaron
2002-10-24 09:31:52 +00:00
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
seawood@netscape.com
5710d27a26 Fixing static build bustage caused by checkin for bug 158110. 2002-10-04 00:27:14 +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
651a78c453 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin
2002-09-26 11:25:04 +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
2422adcded IFrames need their own calculation for placement, different from Frameset frames
Bug 167775 r=dcone sr=kin
2002-09-12 13:20:38 +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
dougt@netscape.com
d033b574fe Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +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
263705ed03 Bug 165122 rearrange initializer r=rods sr=bz 2002-09-03 14:40:53 +00:00
rods@netscape.com
34bcf20607 checks visibility on IFrames so it knows whether it needs to print/dislpay them
Bug 158195 sr=jst r=dcone
2002-08-26 14:37:59 +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