Jaspersoft / jasperreports-pdf-lib7

GNU Affero General Public License v3.0
8 stars 8 forks source link

Installation Instructions don't work / unclear #3

Open ghost opened 3 years ago

ghost commented 3 years ago

I followed the instructions given in README.md. I tried setting the classpath via both window->preferences->Java->Build Path->class variables and the CLASSPATH envvar.

I set the property

net.sf.jasperreports.export.pdf.producer.factory=com.jaspersoft.jasperreports.export.pdf.modern.ModernPdfProducerFactory

in

C:\Program Files\TIBCO\Jaspersoft Studio Professional-7.9.0\jrio\jrio\WEB-INF\classes\jasperreports.properties

(As well as any other jasperreports.properties file I could find.) The pdf exported by Jaspersoft studio was still produced pdf via iText2.7.1 as evident in the pdf:

<</ModDate(D:20211129184429+01'00')/Creator(JasperReports Library version 6.16.0-48579d909b7943b64690c65c71e07e0b80981928)/CreationDate(D:20211129184429+01'00')/Producer(iText 2.1.7 by 1T3XT)>>
ghost commented 3 years ago

Update: File -> Properties -> configure Workspace settings -> add appears to be working.