diff -r 000000000000 -r 310f1d82cf89 exportxhtmldialog.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/exportxhtmldialog.h Mon Mar 05 23:22:51 2007 +0000
@@ -0,0 +1,62 @@
+#ifndef EXPORTXHTMLDIALOG_H
+#define EXPORTXHTMLDIALOG_H
+
+#include "ui_exportxhtmldialog.h"
+
+class ExportXHTMLDialog:public QDialog
+{
+ Q_OBJECT
+public:
+ ExportXHTMLDialog(QWidget* parent = 0);
+
+ virtual QString getDir();
+ virtual bool warnings();
+ virtual bool hasChanged();
+
+public slots:
+ virtual void readSettings();
+ virtual void dirChanged();
+ virtual void browseDirectoryPressed();
+ virtual void imageButtonPressed( bool b );
+ virtual void textcolorButtonPressed( bool b );
+ virtual void saveSettingsInMapButtonPressed( bool b );
+ virtual void warningsButtonPressed( bool b );
+ virtual void outputButtonPressed( bool b );
+ virtual void cssChanged();
+ virtual void browseCSSPressed();
+ virtual void xslChanged();
+ virtual void prescriptChanged();
+ virtual void browseXSLPressed();
+ virtual void postscriptChanged();
+ virtual void browsePreExportButtonPressed();
+ virtual void browsePostExportButtonPressed();
+ virtual void doExport( const QString & mapname );
+ virtual void setFilePath( const QString & s );
+ virtual void setMapName( const QString & s );
+
+protected:
+ bool useTextColor;
+ bool showWarnings;
+ QString xsl;
+ QString css;
+ bool useImage;
+ bool showOutput;
+ QString dir;
+ QString filepath;
+ QString prescript;
+ QString postscript;
+ bool settingsChanged;
+ QString mapname;
+ bool saveSettingsInMap;
+ XSLTProc p;
+ Process *scriptProc;
+
+private:
+ Ui::ExportXHTMLDialog ui;
+ void init();
+ void destroy();
+ void runScript( QString spath, QString fpath );
+
+};
+
+#endif // EXPORTXHTMLDIALOG_H