Rev 15072 | Rev 15082 | 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" |
15065 | cbradney | 13 | #include "scfonts.h" |
13761 | cbradney | 14 | #include "scribusapi.h" |
15 | |||
14736 | cbradney | 16 | #include "pdfoptions.h" |
14451 | cbradney | 17 | class ScribusDoc; |
18 | |||
14448 | cbradney | 19 | class SCRIBUS_API Prefs_PDFExport : public Prefs_Pane, Ui::Prefs_PDFExport |
13761 | cbradney | 20 | { |
21 | Q_OBJECT |
||
22 | |||
23 | public: |
||
15021 | cbradney | 24 | Prefs_PDFExport(QWidget* parent, ScribusDoc* doc=NULL); |
13761 | cbradney | 25 | ~Prefs_PDFExport(); |
14448 | cbradney | 26 | virtual void restoreDefaults(struct ApplicationPrefs *prefsData); |
15065 | cbradney | 27 | virtual void restoreDefaults(struct ApplicationPrefs *prefsData, const ProfilesL & PDFXProfiles, |
28 | bool exporting=false); |
||
14448 | cbradney | 29 | virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const; |
14745 | cbradney | 30 | void enableCMS(bool); |
14448 | cbradney | 31 | |
14736 | cbradney | 32 | signals: |
33 | void noInfo(); |
||
34 | void hasInfo(); |
||
35 | |||
14448 | cbradney | 36 | public slots: |
37 | void languageChange(); |
||
14451 | cbradney | 38 | void unitChange(int); |
39 | |||
40 | protected slots: |
||
41 | void enableRangeControls(bool); |
||
42 | void enableSecurityControls(bool); |
||
15065 | cbradney | 43 | void enablePDFExportTabs(bool); |
14451 | cbradney | 44 | void createPageNumberRange(); |
14736 | cbradney | 45 | void setMaximumResolution(); |
46 | void enableProfiles(int); |
||
47 | void enableLPI(int); |
||
15081 | cbradney | 48 | void enableLPI2(); |
14736 | cbradney | 49 | void enablePG(); |
50 | void enablePGI(); |
||
51 | void enablePGI2(); |
||
52 | void enablePDFX(int); |
||
15081 | cbradney | 53 | void SelLPIcol(int); |
54 | void EmbedAll(); |
||
55 | void OutlineAll(); |
||
56 | void doDocBleeds(); |
||
57 | void SetEffOpts(int nr); |
||
14451 | cbradney | 58 | |
59 | protected: |
||
14736 | cbradney | 60 | void setCustomRenderingWidgetsShown(bool); |
61 | void setSolidsImagesWidgetsShown(bool); |
||
14737 | cbradney | 62 | void enableCustomRenderingWidgets(bool); |
63 | void enableSolidsImagesWidgets(bool); |
||
64 | void enablePDFXWidgets(bool); |
||
14745 | cbradney | 65 | void addPDFVersions(bool); |
15065 | cbradney | 66 | void enableEffects(bool); |
14451 | cbradney | 67 | bool cmsEnabled; |
14752 | cbradney | 68 | double unitRatio; |
14451 | cbradney | 69 | ScribusDoc* m_doc; |
14736 | cbradney | 70 | QString defaultSolidColorRGBProfile; |
14737 | cbradney | 71 | QString defaultPrinterProfile; |
14736 | cbradney | 72 | PDFOptions Opts; |
15065 | cbradney | 73 | QMap<QString, QString> AnnotationFonts; |
74 | |||
75 | QList<PDFPresentationData> EffVal; |
||
76 | QList<QString> FontsToEmbed; |
||
77 | QList<QString> FontsToOutline; |
||
78 | int PgSel; |
||
79 | SCFonts AllFonts; |
||
80 | bool exportingPDF; |
||
15081 | cbradney | 81 | QString SelLPIcolor; |
13761 | cbradney | 82 | }; |
83 | |||
84 | #endif // PREFS_PDFEXPORT_H |