use toolkit routines from printUtils.js to print and show the page setup dialog.

This commit is contained in:
chanial%noos.fr 2003-10-27 04:36:20 +00:00
Родитель 1616f2f4be
Коммит 83d8c1df6d
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -37,6 +37,8 @@
#
# ***** END LICENSE BLOCK ***** -->
# this file depends on printUtils.js
<!DOCTYPE window SYSTEM "chrome://global/locale/printPreview.dtd">
<bindings id="printPreviewBindings"
@ -51,10 +53,10 @@
<content>
<xul:button label="&print.label;" accesskey="&print.accesskey;"
oncommand="BrowserPrint();"/>
oncommand="PrintUtils.print();"/>
<xul:button label="&pageSetup.label;" accesskey="&pageSetup.accesskey;"
oncommand="doPageSetup();"/>
oncommand="PrintUtils.showPageSetup();"/>
<xul:vbox align="center" pack="center">
<xul:label value="&page.label;"/>