Commit b97663c5 authored by Oleg Korshul's avatar Oleg Korshul

save to pdf (only first page support)

parent e31de797
...@@ -3269,6 +3269,8 @@ var editor; ...@@ -3269,6 +3269,8 @@ var editor;
var _adjustPrint = window.AscDesktopEditor_PrintData || new Asc.asc_CAdjustPrint(); var _adjustPrint = window.AscDesktopEditor_PrintData || new Asc.asc_CAdjustPrint();
window.AscDesktopEditor_PrintData = undefined; window.AscDesktopEditor_PrintData = undefined;
var isOnePage = ((_param & 0x0100) == 0x0100);
_param &= 0xFF;
if (1 == _param) { if (1 == _param) {
_adjustPrint.asc_setPrintType(Asc.c_oAscPrintType.EntireWorkbook); _adjustPrint.asc_setPrintType(Asc.c_oAscPrintType.EntireWorkbook);
var pageSetup; var pageSetup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment