20 #include <QStringList>
22 #include "scribusapi.h"
24 QPixmap SCRIBUS_API LoadPDF(QString fn,
int Page,
int Size,
int *w,
int *h);
41 int SCRIBUS_API callGS(
const QStringList& args_in,
const QString device=
"",
const QString fileStdErr =
"",
const QString fileStdOut =
"");
42 int SCRIBUS_API callGS(
const QString& args_in,
const QString device=
"");
43 int SCRIBUS_API convertPS2PS(QString in, QString out,
const QStringList& opts,
int level);
44 int SCRIBUS_API convertPS2PDF(QString in, QString out,
const QStringList& opts);
45 bool SCRIBUS_API testGSAvailability(
void );
46 bool SCRIBUS_API testGSAvailability(
const QString& gsPath );
47 bool SCRIBUS_API testGSDeviceAvailability(
const QString& device );
51 QString SCRIBUS_API getGSVersion();
52 bool SCRIBUS_API getNumericGSVersion(
int & major,
int & minor);
53 bool SCRIBUS_API getNumericGSVersion(
const QString& ver,
int&major,
int& minor);
54 QString SCRIBUS_API getGSDefaultExeName(
void);
55 QMap<int, QString> SCRIBUS_API getGSExePaths(
const QString& regKey,
bool alternateView =
false);