Search in sources :

Example 1 with PivotTableDescription

use of io.jmix.reports.entity.pivottable.PivotTableDescription in project jmix by jmix-framework.

the class PivotTableFormatter method renderDocument.

@Override
public void renderDocument() {
    PivotTableDescription pivotTableDescription = ((ReportTemplate) reportTemplate).getPivotTableDescription();
    beanFactory.getBean(StandardSerialization.class).serialize(new PivotTableData(PivotTableDescription.toJsonString(pivotTableDescription), getEntries(pivotTableDescription)), outputStream);
}
Also used : StandardSerialization(io.jmix.core.impl.StandardSerialization) PivotTableDescription(io.jmix.reports.entity.pivottable.PivotTableDescription) PivotTableData(io.jmix.reports.entity.PivotTableData) ReportTemplate(io.jmix.reports.entity.ReportTemplate)

Aggregations

StandardSerialization (io.jmix.core.impl.StandardSerialization)1 PivotTableData (io.jmix.reports.entity.PivotTableData)1 ReportTemplate (io.jmix.reports.entity.ReportTemplate)1 PivotTableDescription (io.jmix.reports.entity.pivottable.PivotTableDescription)1