bool ImageExport::exportInterval(ScribusDoc* doc, std::vector< int > &pageNs) { for (uint a = 0; a < pageNs.size(); ++a) { if (!exportPage(doc, pageNs[a]-1, false)) return false; } return true; }
bool ExportBitmap::exportInterval(ScribusDoc* doc, std::vector<int> &pageNs) { doc->scMW()->mainWindowProgressBar->setMaximum(pageNs.size()); for (uint a = 0; a < pageNs.size(); ++a) { doc->scMW()->mainWindowProgressBar->setValue(a); if (!exportPage(doc, pageNs[a]-1, false)) return false; } return true; }
bool ExportBitmap::exportCurrent(ScribusDoc* doc) { return exportPage(doc, doc->currentPageNumber(), true); }
bool ExportBitmap::exportCurrent(ScribusDoc* doc, bool background) { return exportPage(doc, doc->currentPageNumber(), background, true); }