Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

util_ghostscript.h

Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 
00014 #ifndef _GSUTIL_H
00015 #define _GSUTIL_H
00016 
00017 #include <QMap>
00018 #include <QPixmap>
00019 #include <QString>
00020 #include <QStringList>
00021 
00022 #include "scribusapi.h"
00023 
00024 QPixmap SCRIBUS_API LoadPDF(QString fn, int Page, int Size, int *w, int *h);
00041 int     SCRIBUS_API callGS(const QStringList& args_in, const QString device="");
00042 int     SCRIBUS_API callGS(const QString& args_in, const QString device="");
00043 int     SCRIBUS_API convertPS2PS(QString in, QString out, const QStringList& opts, int level);
00044 bool    SCRIBUS_API testGSAvailability( void );
00045 bool    SCRIBUS_API testGSAvailability( const QString& gsPath );
00046 bool    SCRIBUS_API testGSDeviceAvailability( const QString& device );
00050 QString SCRIBUS_API getGSVersion();
00051 bool    SCRIBUS_API getNumericGSVersion(int & major, int & minor);
00052 bool    SCRIBUS_API getNumericGSVersion(const QString& ver, int&major, int& minor);
00053 QString SCRIBUS_API getGSDefaultExeName(void);
00054 QMap<int, QString> SCRIBUS_API getGSExePaths(const QString& regKey);
00055 #endif
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.