mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 16:38:06 +03:00
xlsx exporter has been added
This commit is contained in:
@@ -258,6 +258,16 @@ void PreviewReportWidget::print()
|
||||
|
||||
}
|
||||
|
||||
void PreviewReportWidget::printToExcel()
|
||||
{
|
||||
if (!d_ptr->m_reportPages.isEmpty()){
|
||||
exportReport("XLSX");
|
||||
foreach(PageItemDesignIntf::Ptr pageItem, d_ptr->m_reportPages){
|
||||
d_ptr->m_previewPage->reactivatePageItem(pageItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PreviewReportWidget::printToPDF()
|
||||
{
|
||||
if (!d_ptr->m_reportPages.isEmpty()){
|
||||
|
||||
Reference in New Issue
Block a user