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