Rev 14736 | Rev 14745 | 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: |
||
23 | Prefs_PDFExport(QWidget* parent=0); |
||
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; |
29 | |||
14736 | cbradney | 30 | signals: |
31 | void noInfo(); |
||
32 | void hasInfo(); |
||
33 | |||
14448 | cbradney | 34 | public slots: |
35 | void languageChange(); |
||
14451 | cbradney | 36 | void unitChange(int); |
37 | |||
38 | protected slots: |
||
39 | void enableRangeControls(bool); |
||
40 | void enableSecurityControls(bool); |
||
41 | void createPageNumberRange(); |
||
14736 | cbradney | 42 | void setMaximumResolution(); |
43 | void enableProfiles(int); |
||
44 | void enableLPI(int); |
||
45 | void enablePG(); |
||
46 | void enablePGI(); |
||
47 | void enablePGI2(); |
||
48 | void enablePDFX(int); |
||
14451 | cbradney | 49 | |
50 | protected: |
||
14736 | cbradney | 51 | void setCustomRenderingWidgetsShown(bool); |
52 | void setSolidsImagesWidgetsShown(bool); |
||
14737 | cbradney | 53 | void enableCustomRenderingWidgets(bool); |
54 | void enableSolidsImagesWidgets(bool); |
||
55 | void enablePDFXWidgets(bool); |
||
14451 | cbradney | 56 | bool cmsEnabled; |
57 | ScribusDoc* m_doc; |
||
14736 | cbradney | 58 | QString defaultSolidColorRGBProfile; |
14737 | cbradney | 59 | QString defaultPrinterProfile; |
14736 | cbradney | 60 | PDFOptions Opts; |
13761 | cbradney | 61 | }; |
62 | |||
63 | #endif // PREFS_PDFEXPORT_H |