13 Commits

Author SHA1 Message Date
chanial%noos.fr
c76a54433c bug 224160: hook up Print Preview to view source.
git-svn-id: svn://10.0.0.236/trunk@148545 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 06:02:54 +00:00
chanial%noos.fr
00a6832942 - Rewrite the way we handle print preview so that it can be used in any XUL app. This is achieved by adding a new "public" method to PrintUtils:
PrintUtils.printPreview(enterPPCallback, exitPPCallback) where the optional callback functions are called just before entering and after exiting PP mode

- disable all short keys in PP mode except ctrl-W and fix bug 178485 and bug 215277. Now clicking the close window icon actually closes the window.

- global vars gPrintSettingsAreGlobal, gSavePrintSettings, gPrintSettings, gOldCloseHandler, gInPrintPreviewMode, gWebProgress are removed.

- A lot of cleanup.


git-svn-id: svn://10.0.0.236/trunk@148474 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-29 08:01:27 +00:00
chanial%noos.fr
e5e936a2f1 use toolkit routines from printUtils.js to print and show the page setup dialog.
git-svn-id: svn://10.0.0.236/trunk@148427 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:36:20 +00:00
chanial%noos.fr
1d92551092 - fix two js warnings in printPreviewBindings.xml (redeclaration of var ifreq and total)
- remove useless class toolbarbutton-icon
- rename class last-arrow to left-arrow and next-arrow to right-arrow


git-svn-id: svn://10.0.0.236/trunk@148426 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:30:55 +00:00
chanial%noos.fr
357a81f846 bug 223763: home arrow icon not displayed in print preview. printing.css has to be preprocessed.
git-svn-id: svn://10.0.0.236/trunk@148425 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:21:20 +00:00
chanial%noos.fr
19c85e8fce fix js warning: redeclaration of var str. Some cleanup, untabify
git-svn-id: svn://10.0.0.236/trunk@148424 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 03:36:59 +00:00
chanial%noos.fr
a25bd1dfdd Significantly rewrite the old printing.js:
- define an object PrintUtils that has two "public" methods: PrintUtils.print() to print the content and PrintUtils.showPageSetup() to launch the setup dialog.
- global variables gPrintSettings, gPrintSettingsAreGlobal and gSavePrintSettings are removed. These variables were not true cached variables since they were recalculated every time and only used as intermediary.


git-svn-id: svn://10.0.0.236/trunk@148411 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 20:13:55 +00:00
chanial%noos.fr
d13b02982d add printUtils.js to the toolkit (copied from printing.js)
git-svn-id: svn://10.0.0.236/trunk@148410 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 19:22:03 +00:00
chanial%noos.fr
97e1667f45 bug 223721 and 223728: fix view source and print preview bustage. patches by Steffen Wilberg <steffen.wilberg@web.de>
git-svn-id: svn://10.0.0.236/trunk@148402 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 16:10:59 +00:00
chanial%noos.fr
f79c0ce7dd move printPreviewBindings.xml to the toolkit, fork printPreview.dtd
git-svn-id: svn://10.0.0.236/trunk@148391 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 05:00:15 +00:00
chanial%noos.fr
bda3a5efc1 fork the Print Page Setup
git-svn-id: svn://10.0.0.236/trunk@148390 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 04:28:25 +00:00
chanial%noos.fr
7ea3e3e2ee fixing printing bustage
git-svn-id: svn://10.0.0.236/trunk@146179 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-19 04:01:11 +00:00
chanial%noos.fr
86201247a9 bug 213228: new toolkit independence bug, part 5.
fork printing front end.
#ifdef XP_UNIX printjoboption.js and printjoboption.xul
remove communicator dependency (dialogs.css)


git-svn-id: svn://10.0.0.236/trunk@146083 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 11:39:10 +00:00