karnaze@netscape.com
9a3780e93f
bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
2002-03-17 21:35:08 +00:00
rods@netscape.com
0be50496e4
The problem is that on windows widget can only be positioned to a y coord of
...
32767. This ends up being about 32 pages. The nsPageFrame's view creates a
widget for clipping absolutely positioned content and plugins.
This fix will allow a document to have up to 32 pages of clipping after that it
stops creating the widget. The down side is that any absolutely positioned
content or plugins beyond page 32 will not be clippe din print preview.
Also, fixed a leaked widget
Bug 127263 r=dcone sr=attinasi a=asa
2002-03-10 15:40:51 +00:00
rods@netscape.com
5e5ea952d6
Get the rect of the PageContentFrame and using it. Also, painting BG
...
after the container and only when we are suppose to be painting the BG
Bug 126824 r=dcone sr=attinasi a=dbaron
2002-02-22 01:45:05 +00:00
dcone@netscape.com
9938bc4eee
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
2002-02-15 14:48:12 +00:00
rods@netscape.com
cdd9aa81a9
1) It moves the BeginDocument to a earlier place in the call change
...
2) Fixes the negitive page range display problem
3) Improves performance by reducing the delay on pages not in the page range, i.e. before if you printed the 30th page out of 31 you had to wait 15 secs to get to the 30th page to print it.
4) Added AbortDocument, so now when Print jobs are cancelled we call AbortDocument and remove them from the print spooler
5) Fixed a couple of minor issue with Canceling and cancelling mail printings
6) selection was not printing correctly. The problem with selection was that the clip was not being set corrctly.
Bug 115227 & 123181 r=dcone,sspitzer sr=attainasi
2002-02-12 13:33:39 +00:00
rods@netscape.com
cd7099615a
enable a margin like gap specification for printing on unix
...
make it settable via the joboptions dialog
Bug 102596 r=roland sr=kin
2002-02-01 15:31:15 +00:00
rods@netscape.com
941a6b7f6c
Clipping wasn't being set correctly in the PageContentFrame when the reflow was smaller than a page
...
Bug 122434 r=dcone sr=hyatt
2002-01-31 14:24:06 +00:00
rods@netscape.com
5f9c45f5f9
Adding new Frame to clip content area of page for Printing and PrintPreview
...
Bug 112698 r=dcone sr=waterson
2002-01-25 14:30:14 +00:00
rods@netscape.com
d67a214d0d
Gets title and url from PrintService instead of PrintSettings
...
Bug 117894 r=dcone sr=attinasi
2002-01-12 12:32:32 +00:00
dbaron@fas.harvard.edu
edc54e6926
Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
2002-01-07 23:46:07 +00:00
rods@netscape.com
1c6b4a35ee
Switch public interfaces from nsIPrintOptions to nsIPrintSettings
...
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
waterson@netscape.com
d05e65aea2
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
jaggernaut@netscape.com
0467433db5
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
karnaze@netscape.com
3c367a5d13
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
dcone@netscape.com
48e9c9a28b
bug=96870 r=rods sr=attinasi. This add abilty to print and print preview background images and color.
2001-12-04 22:46:41 +00:00
rods@netscape.com
18ca5d10c5
Enabling the specifying of the gap around the page for Print Preview
...
and an offset from the edge of the page for headers and footers (used in PP and Printing)
Bug 102596 r=dcone sr=attinasi
2001-11-28 15:19:47 +00:00
rods@netscape.com
176c7473c1
Temporary fix for problem with nsStrin.ReplaceSubString
...
We need to make sure the sure we are subst for isn't in the subst string.
Bug 110284 r=dcone sr=attinasi
2001-11-16 13:41:12 +00:00
karnaze@netscape.com
a3ac20fe84
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky@mit.edu
aa00eb2f47
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
rods@netscape.com
8b85321bf6
Minor fix up to my PrintPreview Checkin
...
Bug 107562
2001-11-06 14:34:00 +00:00
rods@netscape.com
ec84f6df1b
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
rbs@maths.uq.edu.au
08974c4b75
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
2001-10-30 22:58:00 +00:00
karnaze@netscape.com
63f46f0ed2
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
bzbarsky@mit.edu
8914424d09
Move the zero-check to before we divide by the number. Fixes crash when
...
all 3 header or all 3 footer print prefs are empty strings. Bug 102257,
r=rods, sr=shaver
2001-10-01 23:57:57 +00:00
jaggernaut@netscape.com
a29a08f141
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +00:00
gerv@gerv.net
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
rods@netscape.com
abb8ae4430
Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
...
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt
2001-09-26 14:01:26 +00:00
karnaze@netscape.com
5b7e018561
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
jaggernaut@netscape.com
c2bcad0b73
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
2001-07-25 07:54:28 +00:00
dcone@netscape.com
3fca5c863c
b=91321 r=peterl sr=attinasi. Moved margins in by .25 inches.
2001-07-24 13:53:52 +00:00
dcone@netscape.com
bc128d0383
Fixed the time in footer for printing. b=83655. r=rods sr=attinasi a=asa
2001-06-13 20:20:43 +00:00
dcone@netscape.com
5a19a4e251
b=71976 r=rods sr=attinasi. Don't compare the url with title, especially since its been destroyed.
2001-05-17 20:54:05 +00:00
rods@netscape.com
41b006b7e1
Implements Print FrameAsIs and other frame printing options
...
Bug 7201 r=dcone sr=attinasi
2001-04-12 13:04:29 +00:00
rods@netscape.com
1eae1e82e7
Added UI for printing selectd frame
...
Bug 66783 r=kmcclusk,ben,dcone sr=buster
2001-02-02 08:42:53 +00:00
rods@netscape.com
a1ed5b3a4f
This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
...
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
rods@netscape.com
526976891e
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
hyatt@netscape.com
9a7a1b27f7
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
troy@netscape.com
3b67f2f17c
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose@mozilla.org
796280940b
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
troy@netscape.com
bf2283fba6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy@netscape.com
5e5f240649
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com
68aa9f7c60
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
troy@netscape.com
45651f1d07
Fixed it so that for incremental reflow commands the correct value is
...
passed for the available height
1999-03-09 05:01:59 +00:00
kipp@netscape.com
2fedb931b4
use new nsHTMLReflowState ctors; made pages support IsPercentageBase
1999-03-05 04:28:07 +00:00
troy@netscape.com
ca28eafb7d
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy@netscape.com
7f63268a34
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy@netscape.com
b2d859edbe
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
troy@netscape.com
c8775cfae2
Added CreateContinuingFrame() function to frame construction code
1999-02-24 04:03:50 +00:00