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 XPSIMPORTOPTIONS_H
8 #define XPSIMPORTOPTIONS_H
9 
10 #include <QDialog>
11 
12 namespace Ui {
13 class XpsImportOptions;
14 }
15 class XpsPlug;
16 
17 class XpsImportOptions : public QDialog
18 {
19 	Q_OBJECT
20 
21 public:
22 	explicit XpsImportOptions(QWidget* parent = nullptr);
23 	~XpsImportOptions();
24 
25 	void setUpOptions(const QString& fileName, int actPage, int numPages, bool interact);
26 	QString getPagesString();
27 
28 public slots:
29 	void createPageNumberRange();
30 
31 private:
32 	Ui::XpsImportOptions *ui { nullptr };
33 	int m_maxPage { 0 };
34 };
35 
36 #endif // PDFIMPORTOPTIONS_H
37