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
This commit is contained in:
rods%netscape.com 2006-05-17 02:32:31 +00:00
Родитель cc4892470e
Коммит 29e223f4ed
2 изменённых файлов: 24 добавлений и 5 удалений

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

@ -30,7 +30,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["nglayoutDebugWindow",
var _elementIDs = ["nglayoutDebugWindow", "nglayoutUseNativePrintDialog", "printUseGlobalPrintSettings",
"debugXULBoxes", "browserDOMWindowDumpEnabled",
"javascriptOptionsStrict", "nglayoutDebugUseXBLForms",
"nglayoutDebugEnableXPCOMRefcntLog", "showAboutAsStupidModalWindow",
@ -40,10 +40,27 @@
<groupbox align="start">
<caption label="&widgetRendering.label;"/>
<checkbox id="nglayoutDebugWindow" label="&debugWindow.label;"
prefstring="nglayout.widget.debugWindow"/>
<checkbox id="debugXULBoxes" label="&debugXULBox.label;"
prefstring="xul.debug.box"/>
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center">
<checkbox id="nglayoutDebugWindow" label="&debugWindow.label;"
prefstring="nglayout.widget.debugWindow"/>
<checkbox id="nglayoutUseNativePrintDialog" label="&useNativePrintDialog.label;"
prefstring="print.use_native_print_dialog"/>
</row>
<row align="center">
<checkbox id="debugXULBoxes" label="&debugXULBox.label;"
prefstring="xul.debug.box"/>
<checkbox id="printUseGlobalPrintSettings" label="&printUseGlobalPrintSettings.label;"
prefstring="print.use_global_printsettings"/>
</row>
</rows>
</grid>
</groupbox>
<!-- nothing on this page has accesskeys because this is a temporary debug

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

@ -17,6 +17,8 @@
<!ENTITY widgetRendering.label "Rendering">
<!ENTITY debugWindow.label "debug window">
<!ENTITY debugXULBox.label "debug XUL boxes">
<!ENTITY useNativePrintDialog.label "Use Native Print Dialog (where supported)">
<!ENTITY printUseGlobalPrintSettings.label "Use Global Print Settings">
<!-- Accelerator Key -->
<!ENTITY accelerators.label "Keyboard accelerators">