![]() |
Scribus
Open source desktop publishing at your fingertips
|
#include <pdflib.h>
Public Member Functions | |
PDFlib (ScribusDoc &docu) | |
bool | doExport (const QString &fn, const QString &nam, int Components, const std::vector< int > &pageNs, const QMap< int, QPixmap > &thumbs) |
const QString & | errorMessage (void) |
bool | exportAborted (void) |
PDFLib provides an interface to the core PDF export functionality of scribus. This class does not directly implement export; it's purpose is to isolate implementation details from the rest of the codebase.
The real implementation is in pdflib_core.cpp .
|
explicit |
Instantiate a new PDFLib that will operate on `docu'.
docu | Document to use in export process |
bool PDFlib::doExport | ( | const QString & | fn, |
const QString & | nam, | ||
int | Components, | ||
const std::vector< int > & | pageNs, | ||
const QMap< int, QPixmap > & | thumbs | ||
) |
Perform an export.
fn | Output file name |
nam | ?? |
Components | ?? |
pageNs | List of pages from document to be exported as sequential PDF pages |
thumbs | A mapping of input (document) page numbers to pre-rendered thumbnails. |
const QString & PDFlib::errorMessage | ( | void | ) |
Return an error message in case export has failed.
bool PDFlib::exportAborted | ( | void | ) |
Return if export has been aborted