Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
svgexport.h
Go to the documentation of this file.
1 
8 #ifndef SVGEXPORT_H_
9 #define SVGEXPORT_H_
10 
11 // Includes
12 #include "export/export.h"
13 
14 // Forward declarations
15 class CATypesetCtl;
16 
17 // SVG Export class doing lilypond export internally
18 // !! exportDocument does not support threading !!
19 class CASVGExport : public CAExport {
20 #ifndef SWIG
21  Q_OBJECT
22 #endif
23 
24 public:
25  CASVGExport( QTextStream *stream=0 );
26  ~CASVGExport();
27 
28  QString getTempFilePath();
29 
30 #ifndef SWIG
31 signals:
32  void svgIsFinished( int iExitCode );
33 
34 protected slots:
35  void outputTypsetterOutput( const QByteArray &roOutput );
36  void svgFinished( int iExitCode );
37 
38 private:
39  void startExport();
40  void finishExport();
41  void exportDocumentImpl(CADocument *doc);
42 
43 protected:
45 #endif
46 };
47 
48 #endif // SVGEXPORT_H_
49