使用JasperReports的Excel - 单元格不适合

时间:2018-06-12 13:09:28

标签: jasper-reports export-to-excel

我正在与Jasper创建excel报告。 问题是细胞不适合。 Jasper使细胞更大,我希望它们适合excel文件。 enter image description here

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1  -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="currentDataXLS" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="35df0d53-8207-4a17-95df-482873d23a32">
    <property name="net.sf.jasperreports.export.csv.field.delimiter" value=";"/>
    <property name="net.sf.jasperreports.export.xls.auto.fit.row" value="true"/>
    <property name="net.sf.jasperreports.export.xls.auto.fit.column" value="true"/>
    <parameter name="variableName" class="java.lang.String"/>
    <queryString>

0 个答案:

没有答案