mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win-linux] ceditortools: debug after merge
This commit is contained in:
@ -128,6 +128,7 @@ namespace CEditorTools
|
||||
printer->setFromTo(1, pagesCount);
|
||||
printer->printEngine()->setProperty(QPrintEngine::PPK_DocumentName, documentName);
|
||||
printer->setDuplex(AscAppManager::printData().duplexMode());
|
||||
printer->setColorMode(AscAppManager::printData().colorMode() ? QPrinter::Color : QPrinter::GrayScale);
|
||||
if ( printer->supportsMultipleCopies() ) {
|
||||
printer->setCopyCount(AscAppManager::printData().copiesCount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user