Canorus  0.0
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  void exportSheetImpl(CASheet *poSheet);
43  void runTypesetter();
44 
45 protected:
47 #endif
48 };
49 
50 #endif // SVGEXPORT_H_
51 
Represents a single sheet of paper in the document.
Definition: sheet.h:22
QString getTempFilePath()
Definition: svgexport.cpp:180
void svgFinished(int iExitCode)
Definition: svgexport.cpp:147
CATypesetCtl * _poTypesetCtl
Definition: svgexport.h:46
QTextStream * stream()
Definition: file.h:36
SVG export filter This class is used to export the document or parts of the document to SVG format....
Definition: svgexport.h:19
Class which represents the current document.
Definition: document.h:19
void startExport()
Definition: svgexport.cpp:49
Base class for export filters.
Definition: export.h:22
void svgIsFinished(int iExitCode)
void exportDocumentImpl(CADocument *doc)
Definition: svgexport.cpp:81
void exportSheetImpl(CASheet *poSheet)
Definition: svgexport.cpp:101
void runTypesetter()
Definition: svgexport.cpp:116
~CASVGExport()
Definition: svgexport.cpp:40
CASVGExport(QTextStream *stream=0)
Definition: svgexport.cpp:33
void outputTypsetterOutput(const QByteArray &roOutput)
Definition: svgexport.cpp:138
Interface to start a typesetter in the background.
Definition: typesetctl.h:24
void finishExport()
Definition: svgexport.cpp:65