Rev 14752 | Rev 15065 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13761 | cbradney | 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 PREFS_PDFEXPORT_H |
||
9 | #define PREFS_PDFEXPORT_H |
||
10 | |||
11 | #include "ui_prefs_pdfexportbase.h" |
||
14448 | cbradney | 12 | #include "prefs_pane.h" |
13761 | cbradney | 13 | #include "scribusapi.h" |
14 | |||
14736 | cbradney | 15 | #include "pdfoptions.h" |
14451 | cbradney | 16 | class ScribusDoc; |
17 | |||
14448 | cbradney | 18 | class SCRIBUS_API Prefs_PDFExport : public Prefs_Pane, Ui::Prefs_PDFExport |
13761 | cbradney | 19 | { |
20 | Q_OBJECT |
||
21 | |||
22 | public: |
||
15021 | cbradney | 23 | Prefs_PDFExport(QWidget* parent, ScribusDoc* doc=NULL); |
13761 | cbradney | 24 | ~Prefs_PDFExport(); |
14448 | cbradney | 25 | virtual void restoreDefaults(struct ApplicationPrefs *prefsData); |
14737 | cbradney | 26 | virtual void restoreDefaults(struct ApplicationPrefs *prefsData, ScribusDoc* doc, const ProfilesL & PDFXProfiles, |
27 | const QMap<QString, int> & DocFonts); |
||
14448 | cbradney | 28 | virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const; |
14745 | cbradney | 29 | void enableCMS(bool); |
14448 | cbradney | 30 | |
14736 | cbradney | 31 | signals: |
32 | void noInfo(); |
||
33 | void hasInfo(); |
||
34 | |||
14448 | cbradney | 35 | public slots: |
36 | void languageChange(); |
||
14451 | cbradney | 37 | void unitChange(int); |
38 | |||
39 | protected slots: |
||
40 | void enableRangeControls(bool); |
||
41 | void enableSecurityControls(bool); |
||
42 | void createPageNumberRange(); |
||
14736 | cbradney | 43 | void setMaximumResolution(); |
44 | void enableProfiles(int); |
||
45 | void enableLPI(int); |
||
46 | void enablePG(); |
||
47 | void enablePGI(); |
||
48 | void enablePGI2(); |
||
49 | void enablePDFX(int); |
||
14451 | cbradney | 50 | |
51 | protected: |
||
14736 | cbradney | 52 | void setCustomRenderingWidgetsShown(bool); |
53 | void setSolidsImagesWidgetsShown(bool); |
||
14737 | cbradney | 54 | void enableCustomRenderingWidgets(bool); |
55 | void enableSolidsImagesWidgets(bool); |
||
56 | void enablePDFXWidgets(bool); |
||
14745 | cbradney | 57 | void addPDFVersions(bool); |
14451 | cbradney | 58 | bool cmsEnabled; |
14752 | cbradney | 59 | double unitRatio; |
14451 | cbradney | 60 | ScribusDoc* m_doc; |
14736 | cbradney | 61 | QString defaultSolidColorRGBProfile; |
14737 | cbradney | 62 | QString defaultPrinterProfile; |
14736 | cbradney | 63 | PDFOptions Opts; |
13761 | cbradney | 64 | }; |
65 | |||
66 | #endif // PREFS_PDFEXPORT_H |