1 #ifndef EXPORTXHTMLDIALOG_H
2 #define EXPORTXHTMLDIALOG_H
4 #include "ui_exportxhtmldialog.h"
6 /*! \brief Dialog to export a map as XHTML document
8 This is an overloaded QDialog with various settings needed to call
9 convert the vym.xml to a XHTML document.
10 The conversion itself is done by calling xsltproc.
13 class ExportXHTMLDialog:public QDialog
17 ExportXHTMLDialog(QWidget* parent = 0);
19 virtual QString getDir();
20 virtual bool warnings();
21 virtual bool hasChanged();
24 virtual void readSettings();
25 virtual void setDir (const QString&);
26 virtual void dirChanged();
27 virtual void browseDirectoryPressed();
28 virtual void imageButtonPressed( bool b );
29 virtual void textcolorButtonPressed( bool b );
30 virtual void saveSettingsInMapButtonPressed( bool b );
31 virtual void warningsButtonPressed( bool b );
32 virtual void outputButtonPressed( bool b );
33 virtual void cssChanged();
34 virtual void browseCSSPressed();
35 virtual void xslChanged();
36 virtual void prescriptChanged();
37 virtual void browseXSLPressed();
38 virtual void postscriptChanged();
39 virtual void browsePreExportButtonPressed();
40 virtual void browsePostExportButtonPressed();
41 virtual void doExport( const QString & mapname );
42 virtual void setFilePath( const QString & s );
43 virtual void setMapName( const QString & s );
58 bool saveSettingsInMap;
63 Ui::ExportXHTMLDialog ui;
66 void runScript( QString spath, QString fpath );
70 #endif // EXPORTXHTMLDIALOG_H