Граф коммитов

13 Коммитов

Автор SHA1 Сообщение Дата
chanial%noos.fr f6b4f327b5 fix savePrintSettngs caller in showPrintProgress 2003-11-06 01:54:46 +00:00
chanial%noos.fr 6fc9457f79 fix typo 2003-11-06 00:47:32 +00:00
chanial%noos.fr f748371c20 keep the initial _onExitCallback when the PP page is reflown. 2003-11-05 21:46:45 +00:00
chanial%noos.fr 754baff03e PRINTPROMPTSVC.showPageSetup() isn't clever enough to return a boolean. 2003-11-05 21:08:04 +00:00
chanial%noos.fr d71b4593b8 bug 224453: Alt-F4 and close button should return to normal mode (IE behavior) 2003-11-04 04:18:57 +00:00
chanial%noos.fr ba1d4a66d7 fix js warning (redeclaration of var printPreviewTB) 2003-11-02 02:22:19 +00:00
chanial%noos.fr cbad500c59 add "public" method savePrintSettings that saves the print settings to the prefs. 2003-11-02 01:46:53 +00:00
chanial%noos.fr 80ce23d405 remove prefs print.use_global_printsettings and print.save_print_settings (not used in the backend). They offer few if any interest. Their default behavior is kept: a print action and Page Setup change will be saved and windows share the same print settings. 2003-11-02 01:21:46 +00:00
chanial%noos.fr 4ebb2ee454 on going work on the printing component: rename PRINTSVC to PSSVC, getValuesFromPS to updateSettings, remove duplicate getWebBrowserPrint and start removing the duplicated code in printUtils.js and printPreviewBindings.xml that lays the print preview. 2003-11-02 00:15:04 +00:00
chanial%noos.fr 4a76aee800 bug 224160: hook up Print Preview to view source. 2003-10-30 06:02:54 +00:00
chanial%noos.fr 940d9e626c - 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.
2003-10-29 08:01:27 +00:00
chanial%noos.fr a0c6277d25 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.
2003-10-26 20:13:55 +00:00
chanial%noos.fr 925c57bae4 add printUtils.js to the toolkit (copied from printing.js) 2003-10-26 19:22:03 +00:00