Scribus
Open source desktop publishing at your fingertips
pdflib.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 
8 #ifndef PDFLIB_H
9 #define PDFLIB_H
10 
11 #include "scconfig.h"
12 #include "scribusapi.h"
13 
14 #include <QObject>
15 #include <QMap>
16 #include <QPixmap>
17 #include <vector>
18 
19 class ScribusDoc;
20 
28 class SCRIBUS_API PDFlib : public QObject
29 {
30  Q_OBJECT
31 
32 public:
41  explicit PDFlib(ScribusDoc & docu);
42 
43  ~PDFlib();
44 
54  bool doExport(const QString& fn, const QString& nam, int Components,
55  const std::vector<int> & pageNs, const QMap<int,QPixmap> & thumbs);
56 
60  const QString& errorMessage(void);
64  bool exportAborted(void);
65 
66 private:
68  void* impl;
69 };
70 
71 #endif
Definition: pdflib.h:28
the Document Class
Definition: scribusdoc.h:90