1119,7 → 1119,7 |
ScCore->primaryMainWindow()->doc->pdfOptions().UseLPI = self->uselpi; |
ScCore->primaryMainWindow()->doc->pdfOptions().UseSpotColors = self->usespot; |
ScCore->primaryMainWindow()->doc->pdfOptions().doMultiFile = self->domulti; |
self->version = minmaxi(self->version, 12, 14); |
self->version = minmaxi(self->version, 10, 14); |
// FIXME: Sanity check version |
ScCore->primaryMainWindow()->doc->pdfOptions().Version = (PDFOptions::PDFVersion)self->version; |
if (self->encrypt) |
1160,7 → 1160,9 |
ScCore->primaryMainWindow()->doc->pdfOptions().SolidProf = PyString_AsString(self->solidpr); |
ScCore->primaryMainWindow()->doc->pdfOptions().ImageProf = PyString_AsString(self->imagepr); |
ScCore->primaryMainWindow()->doc->pdfOptions().PrintProf = PyString_AsString(self->printprofc); |
if (ScCore->primaryMainWindow()->doc->pdfOptions().Version == PDFOptions::PDFVersion_X3) |
if (ScCore->primaryMainWindow()->doc->pdfOptions().Version == PDFOptions::PDFVersion_X1a || |
ScCore->primaryMainWindow()->doc->pdfOptions().Version == PDFOptions::PDFVersion_X3 || |
ScCore->primaryMainWindow()->doc->pdfOptions().Version == PDFOptions::PDFVersion_X4) |
{ |
ScColorProfile profile; |
profile = ScCore->defaultEngine.openProfileFromFile(ScCore->PrinterProfiles[ScCore->primaryMainWindow()->doc->pdfOptions().PrintProf]); |
1189,7 → 1191,6 |
ScCore->primaryMainWindow()->doc->pdfOptions().UseProfiles = false; |
ScCore->primaryMainWindow()->doc->pdfOptions().UseProfiles2 = false; |
} |
|
} |
QMap<int,QPixmap> thumbs; |
for (uint ap = 0; ap < pageNs.size(); ++ap) |