This commit is contained in:
Sergey Popovichev
2016-02-17 10:19:50 +03:00
parent 81d855f52c
commit 0a16bed249
55 changed files with 906 additions and 193 deletions

View File

@@ -37,13 +37,11 @@
#include "lrglobal.h"
#include "lrdatasourcemanagerintf.h"
#include "lrscriptenginemanagerintf.h"
//#include "lrreportrender.h"
class QPrinter;
namespace LimeReport {
class PrintRange{
public:
int fromPage() const { return m_fromPage;}
@@ -61,7 +59,6 @@ private:
class DataSourceManager;
class ReportEnginePrivate;
//class PageDesignIntf;
class LIMEREPORT_EXPORT ReportEngine : public QObject{
Q_OBJECT
@@ -71,9 +68,8 @@ public:
explicit ReportEngine(QObject *parent = 0);
~ReportEngine();
bool printReport(QPrinter *printer=0);
//void printReport(ReportPages pages, QPrinter &printer);
void printToFile(const QString& fileName);
//PageDesignIntf *createPreviewScene(QObject *parent = 0);
bool printToPDF(const QString& fileName);
void previewReport();
void designReport();
void setShowProgressDialog(bool value);