mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
0fca7169d3
except those placed in 3rdparty directories.
29 lines
719 B
C++
29 lines
719 B
C++
#ifndef LRPDFEXPORTER_H
|
|
#define LRPDFEXPORTER_H
|
|
|
|
#include "lrexporterintf.h"
|
|
|
|
#include <QObject>
|
|
|
|
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>& params);
|
|
QString exporterName() { return "PDF"; }
|
|
QString exporterFileExt() { return "pdf"; }
|
|
QString hint() { return tr("Export to PDF"); }
|
|
|
|
private:
|
|
ReportEnginePrivate* m_reportEngine;
|
|
};
|
|
|
|
} // namespace LimeReport
|
|
|
|
#endif // LRPDFEXPORTER_H
|