mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 13:04:38 +03:00
c549035c76
Qt4 still have one remaining compiler error
36 lines
743 B
C++
36 lines
743 B
C++
#ifndef LRPDFEXPORTER_H
|
|
#define LRPDFEXPORTER_H
|
|
|
|
#include <QObject>
|
|
#include "lrexporterintf.h"
|
|
|
|
namespace LimeReport{
|
|
class ReportEnginePrivate;
|
|
|
|
class PDFExporter : public QObject, public ReportExporterInterface
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit PDFExporter(ReportEnginePrivate *parent = NULL);
|
|
// ReportExporterInterface interface
|
|
bool exportPages(ReportPages pages, const QString &fileName, const QMap<QString, QVariant> ¶ms);
|
|
QString exporterName()
|
|
{
|
|
return "PDF";
|
|
}
|
|
QString exporterFileExt()
|
|
{
|
|
return "pdf";
|
|
}
|
|
QString hint()
|
|
{
|
|
return tr("Export to PDF");
|
|
}
|
|
private:
|
|
ReportEnginePrivate* m_reportEngine;
|
|
};
|
|
|
|
} //namespace LimeReport
|
|
|
|
#endif // LRPDFEXPORTER_H
|