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 dirChanged();
26 virtual void browseDirectoryPressed();
27 virtual void imageButtonPressed( bool b );
28 virtual void textcolorButtonPressed( bool b );
29 virtual void saveSettingsInMapButtonPressed( bool b );
30 virtual void warningsButtonPressed( bool b );
31 virtual void outputButtonPressed( bool b );
32 virtual void cssChanged();
33 virtual void browseCSSPressed();
34 virtual void xslChanged();
35 virtual void prescriptChanged();
36 virtual void browseXSLPressed();
37 virtual void postscriptChanged();
38 virtual void browsePreExportButtonPressed();
39 virtual void browsePostExportButtonPressed();
40 virtual void doExport( const QString & mapname );
41 virtual void setFilePath( const QString & s );
42 virtual void setMapName( const QString & s );
57 bool saveSettingsInMap;
62 Ui::ExportXHTMLDialog ui;
65 void runScript( QString spath, QString fpath );
69 #endif // EXPORTXHTMLDIALOG_H