зеркало из https://github.com/mozilla/pjs.git
use toolkit routines from printUtils.js to print and show the page setup dialog.
This commit is contained in:
Родитель
1616f2f4be
Коммит
83d8c1df6d
|
@ -37,6 +37,8 @@
|
||||||
#
|
#
|
||||||
# ***** END LICENSE BLOCK ***** -->
|
# ***** END LICENSE BLOCK ***** -->
|
||||||
|
|
||||||
|
# this file depends on printUtils.js
|
||||||
|
|
||||||
<!DOCTYPE window SYSTEM "chrome://global/locale/printPreview.dtd">
|
<!DOCTYPE window SYSTEM "chrome://global/locale/printPreview.dtd">
|
||||||
|
|
||||||
<bindings id="printPreviewBindings"
|
<bindings id="printPreviewBindings"
|
||||||
|
@ -51,10 +53,10 @@
|
||||||
|
|
||||||
<content>
|
<content>
|
||||||
<xul:button label="&print.label;" accesskey="&print.accesskey;"
|
<xul:button label="&print.label;" accesskey="&print.accesskey;"
|
||||||
oncommand="BrowserPrint();"/>
|
oncommand="PrintUtils.print();"/>
|
||||||
|
|
||||||
<xul:button label="&pageSetup.label;" accesskey="&pageSetup.accesskey;"
|
<xul:button label="&pageSetup.label;" accesskey="&pageSetup.accesskey;"
|
||||||
oncommand="doPageSetup();"/>
|
oncommand="PrintUtils.showPageSetup();"/>
|
||||||
|
|
||||||
<xul:vbox align="center" pack="center">
|
<xul:vbox align="center" pack="center">
|
||||||
<xul:label value="&page.label;"/>
|
<xul:label value="&page.label;"/>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче