|
Canorus
0.7
|
00001 00008 #ifndef PDFEXPORT_H_ 00009 #define PDFEXPORT_H_ 00010 00011 // Includes 00012 #include "export/export.h" 00013 00014 // Forward declarations 00015 class CATypesetCtl; 00016 00017 // PDF Export class doing lilypond export internally 00018 // !! exportDocument does not support threading !! 00019 class CAPDFExport : public CAExport { 00020 #ifndef SWIG 00021 Q_OBJECT 00022 #endif 00023 00024 public: 00025 CAPDFExport( QTextStream *stream=0 ); 00026 ~CAPDFExport(); 00027 00028 QString getTempFilePath(); 00029 #ifndef SWIG 00030 signals: 00031 void pdfIsFinished( int iExitCode ); 00032 00033 protected slots: 00034 void outputTypsetterOutput( const QByteArray &roOutput ); 00035 void pdfFinished( int iExitCode ); 00036 00037 private: 00038 void startExport(); 00039 void finishExport(); 00040 void exportDocumentImpl(CADocument *doc); 00041 00042 protected: 00043 CATypesetCtl *_poTypesetCtl; 00044 #endif 00045 }; 00046 00047 #endif // PDFEXPORT_H_ 00048
1.8.0