File: pdflib.cpp

package info (click to toggle)
scribus 1.4.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 244,532 kB
  • sloc: cpp: 274,439; xml: 12,534; python: 3,448; ansic: 3,438; makefile: 1,201; perl: 95; sh: 41
file content (30 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "pdflib.h"

#include "pdflib_core.h"

PDFlib::PDFlib(ScribusDoc & docu)
    : impl( new PDFLibCore(docu) )
{
    Q_ASSERT(impl);
}

PDFlib::~PDFlib()
{
    delete static_cast<PDFLibCore*>(impl);
}

bool PDFlib::doExport(const QString& fn, const QString& nam, int Components,
			  const std::vector<int> & pageNs, const QMap<int,QPixmap> & thumbs)
{
    return static_cast<PDFLibCore*>(impl)->doExport(fn, nam, Components, pageNs, thumbs);
}

const QString& PDFlib::errorMessage(void)
{
	return static_cast<PDFLibCore*>(impl)->errorMessage();
}

bool PDFlib::exportAborted(void)
{
	return static_cast<PDFLibCore*>(impl)->exportAborted();
}