mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 08:34:38 +03:00
Printing prepared pages has been added
This commit is contained in:
parent
cff2b379d4
commit
b3d19d3a67
@ -206,6 +206,7 @@ public:
|
|||||||
IPreparedPages* preparedPages();
|
IPreparedPages* preparedPages();
|
||||||
bool showPreparedPages(PreviewHints hints = PreviewBarsUserSetting);
|
bool showPreparedPages(PreviewHints hints = PreviewBarsUserSetting);
|
||||||
bool prepareReportPages();
|
bool prepareReportPages();
|
||||||
|
bool printPreparedPages();
|
||||||
signals:
|
signals:
|
||||||
void cleared();
|
void cleared();
|
||||||
void renderStarted();
|
void renderStarted();
|
||||||
|
@ -996,6 +996,11 @@ bool ReportEnginePrivate::prepareReportPages()
|
|||||||
return !m_preparedPages.isEmpty();
|
return !m_preparedPages.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ReportEnginePrivate::printPreparedPages()
|
||||||
|
{
|
||||||
|
return printPages(m_preparedPages, 0);
|
||||||
|
}
|
||||||
|
|
||||||
Qt::LayoutDirection ReportEnginePrivate::previewLayoutDirection()
|
Qt::LayoutDirection ReportEnginePrivate::previewLayoutDirection()
|
||||||
{
|
{
|
||||||
return m_previewLayoutDirection;
|
return m_previewLayoutDirection;
|
||||||
@ -1633,6 +1638,12 @@ bool ReportEngine::prepareReportPages()
|
|||||||
return d->prepareReportPages();
|
return d->prepareReportPages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ReportEngine::printPreparedPages()
|
||||||
|
{
|
||||||
|
Q_D(ReportEngine);
|
||||||
|
return d->printPreparedPages();
|
||||||
|
}
|
||||||
|
|
||||||
void ReportEngine::setShowProgressDialog(bool value)
|
void ReportEngine::setShowProgressDialog(bool value)
|
||||||
{
|
{
|
||||||
Q_D(ReportEngine);
|
Q_D(ReportEngine);
|
||||||
|
@ -206,6 +206,7 @@ public:
|
|||||||
IPreparedPages* preparedPages();
|
IPreparedPages* preparedPages();
|
||||||
bool showPreparedPages(PreviewHints hints = PreviewBarsUserSetting);
|
bool showPreparedPages(PreviewHints hints = PreviewBarsUserSetting);
|
||||||
bool prepareReportPages();
|
bool prepareReportPages();
|
||||||
|
bool printPreparedPages();
|
||||||
signals:
|
signals:
|
||||||
void cleared();
|
void cleared();
|
||||||
void renderStarted();
|
void renderStarted();
|
||||||
|
@ -247,6 +247,7 @@ public:
|
|||||||
IPreparedPages* preparedPages();
|
IPreparedPages* preparedPages();
|
||||||
bool showPreparedPages(PreviewHints hints);
|
bool showPreparedPages(PreviewHints hints);
|
||||||
bool prepareReportPages();
|
bool prepareReportPages();
|
||||||
|
bool printPreparedPages();
|
||||||
signals:
|
signals:
|
||||||
void pagesLoadFinished();
|
void pagesLoadFinished();
|
||||||
void datasourceCollectionLoadFinished(const QString& collectionName);
|
void datasourceCollectionLoadFinished(const QString& collectionName);
|
||||||
|
Loading…
Reference in New Issue
Block a user