Back to index

scribus-ng  1.3.4.dfsg+svn20071115
pdfoptions.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 #ifndef PDFOPTIONS_H
00008 #define PDFOPTIONS_H
00009 
00017 #include "qstring.h"
00018 #include "qmap.h"
00019 #include "qvaluelist.h"
00020 #include "scribusapi.h"
00021 #include "scribusstructs.h"
00022 
00033 class SCRIBUS_API PDFOptions
00034 {
00035 public:
00036 
00037        enum VerifyResults
00038        {
00039               Verify_NoError = 0,
00040               Verify_OptionConflict,
00041               Verify_OptionOutOfRange,
00042               Verify_OtherError
00043        };
00044 
00045        enum PDFVersion
00046        {
00047               PDFVersion_13 = 13,
00048               PDFVersion_14 = 14,
00049               PDFVersion_15 = 15,
00050               PDFVersion_X3 = 12,
00051        };
00052 
00053        enum PDFPageLayout
00054        {
00055               SinglePage = 0,
00056               OneColumn,
00057               TwoColumnLeft,
00058               TwoColumnRight
00059        };
00060 
00081        PDFOptions::VerifyResults verify(QString* problemDescription);
00082        PDFOptions::VerifyResults verify();
00083 
00084        bool firstUse;
00085        bool Thumbnails;
00086        bool Articles;
00087        bool useLayers;
00088        bool Compress;
00089        int CompressMethod;
00090        int Quality;
00091        bool RecalcPic;
00092        bool Bookmarks;
00093        int PicRes;
00094        PDFVersion Version;
00095        int Resolution;
00096        int Binding;
00097        QValueList<QString> EmbedList;
00098        QValueList<QString> SubsetList;
00099        bool MirrorH;
00100        bool MirrorV;
00101        bool doClip;
00102        int RotateDeg;
00103        bool PresentMode;
00104        QValueList<PDFPresentationData> PresentVals;
00105        QString Datei;
00106        bool isGrayscale;
00107        bool UseRGB;
00108        bool UseProfiles;
00109        bool UseProfiles2;
00110        bool UseLPI;
00111        bool UseSpotColors;
00112        bool doOverprint;
00113        bool doMultiFile;
00114        QMap<QString,LPIData> LPISettings;
00115        QString SolidProf;
00116        int SComp;
00117        QString ImageProf;
00118        bool EmbeddedI;
00119        int Intent2;
00120        QString PrintProf;
00121        QString Info;
00122        int Intent;
00123        MarginStruct bleeds;
00124        bool Encrypt;
00125        QString PassOwner;
00126        QString PassUser;
00127        int Permissions;
00128        int PageLayout;
00129        bool displayBookmarks;
00130        bool displayThumbs;
00131        bool displayLayers;
00132        bool displayFullscreen;
00133        bool hideToolBar;
00134        bool hideMenuBar;
00135        bool fitWindow;
00136        bool cropMarks;
00137        bool bleedMarks;
00138        bool registrationMarks;
00139        bool colorMarks;
00140        bool docInfoMarks;
00141        bool useDocBleeds;
00142        double markOffset;
00143        QString openAction;
00144 };
00145 
00146 #endif