0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-24 16:18:04 +03:00

printToAllPrinters flag has been added to printReport method

This commit is contained in:
Arin Alexander
2019-02-09 23:57:19 +03:00
parent 362c7217f3
commit a43368751c
4 changed files with 20 additions and 13 deletions

View File

@@ -124,7 +124,7 @@ class ReportEnginePrivate : public QObject,
public:
static void printReport(ItemsReaderIntf::Ptr reader, QPrinter &printer);
static void printReport(ReportPages pages, QPrinter &printer);
static void printReport(ReportPages pages, QMap<QString,QPrinter*>printers);
static void printReport(ReportPages pages, QMap<QString,QPrinter*>printers, bool printToAllPrinters = false);
Q_INVOKABLE QStringList aviableReportTranslations();
Q_INVOKABLE void setReportTranslation(const QString& languageName);
public:
@@ -148,7 +148,7 @@ public:
void clearReport();
bool printReport(QPrinter *printer=0);
bool printReport(QMap<QString, QPrinter*>printers);
bool printReport(QMap<QString, QPrinter*>printers, bool printToAllPrinters);
bool printPages(ReportPages pages, QPrinter *printer);
void printToFile(const QString& fileName);
bool printToPDF(const QString& fileName);