r3n4n Posted October 29, 2010 Share Posted October 29, 2010 How to set PROPERTY_USE_TEMP_FILE in JExcelApiExporter ? Link to comment Share on other sites More sharing options...
r3n4n Posted October 29, 2010 Author Share Posted October 29, 2010 The change in my jrxml below is correct?Code:<?xml version="1.0" encoding="UTF-8"?><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="consistenciaDado" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20"> ... <property name="net.sf.jasperreports.export.jxl.use.temp.file" value="true"/> ...</jasperReport> Link to comment Share on other sites More sharing options...
teodord Posted November 2, 2010 Share Posted November 2, 2010 Hi, Yes, this is one way to do it. Have you tried it?In any case, we made this property because it was requested by a community user. But we are not very confident about its effect in JExcelApi, if that is what you complain about. Thanks,Teodor Link to comment Share on other sites More sharing options...
r3n4n Posted November 2, 2010 Author Share Posted November 2, 2010 Yes, I tried that. But did not work. At no time was created temporary files in the execution of my report. Link to comment Share on other sites More sharing options...
r3n4n Posted November 3, 2010 Author Share Posted November 3, 2010 I also tried to enable this option as follows (no success):Code:...jasperReport = JasperCompileManager.compileReport(sourceFileName);jasperReport.setProperty(JExcelApiExporter.PROPERTY_USE_TEMP_FILE, "true");jasperPrint = JasperFillManager.fillReport(jasperReport, paramMap, ds);... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now