Scribus
Open source desktop publishing at your fingertips
pdfexportdialog.h
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 #ifndef PDF_OPTS_H
8 #define PDF_OPTS_H
9 
10 #include <QDialog>
11 #include <QList>
12 class QHBoxLayout;
13 class QGridLayout;
14 class QVBoxLayout;
15 class QGroupBox;
16 class QLineEdit;
17 class QToolButton;
18 class QCheckBox;
19 class QPushButton;
20 
21 #include "scribusapi.h"
22 #include "scribusstructs.h"
23 #include "ui/tabpdfoptions.h"
24 class ScribusView;
25 
31 class PDFOptions;
32 class ScribusDoc;
33 
40 class SCRIBUS_API PDFExportDialog : public QDialog
41 {
42  Q_OBJECT
43 
44 public:
45  PDFExportDialog( QWidget* parent, const QString & docFileName,
46  const QMap<QString, int > & DocFonts,
47  ScribusView * currView, PDFOptions & pdfOptions,
48  const ProfilesL & PDFXProfiles, const SCFonts & AllFonts,
49  const ProfilesL & printerProfiles);
50  ~PDFExportDialog() {};
51 
52  void updateDocOptions();
53  const QString cmsDescriptor();
54  const int colorSpaceComponents();
55  const QString getPagesString();
56 
57 protected slots:
58  void DoExport();
59  void ChangeFile();
60  void fileNameChanged();
61  void enableSave();
62  void disableSave();
63 
64 protected:
65  // Widgets
66  QVBoxLayout* PDFExportLayout;
67  QGridLayout* NameLayout;
68  QHBoxLayout* Layout7;
69  QGroupBox* Name;
70  QCheckBox* multiFile;
71  QCheckBox* openAfterExportCheckBox;
72  QPushButton* changeButton;
73  QPushButton* okButton;
74  QPushButton* cancelButton;
75  QLineEdit* fileNameLineEdit;
76  TabPDFOptions* Options;
77 
78  // Other members
79  ScribusDoc* m_doc;
80  QList<PDFPresentationData> m_presEffects;
81  PDFOptions & m_opts;
82  double m_unitRatio;
83  QString m_cmsDescriptor;
84  int m_components;
85  const ProfilesL & m_printerProfiles;
86 };
87 
88 #endif // PDF_OPTS_H
the Document Class
Definition: scribusdoc.h:90
Definition: tabpdfoptions.h:40
PDF Options struture. Capable of verifying its self, but otherwise largely a dumb struct...
Definition: pdfoptions.h:37
PDF export dialog.
Definition: pdfexportdialog.h:40
Definition: scribusview.h:87
Main class SCFonts. Subclass of QDict. This class replaces the previous SCFonts typedef...
Definition: scfonts.h:36