Jump to content
We've recently updated our Privacy Statement, available here ×

nives

Members
  • Posts

    3
  • Joined

  • Last visited

nives's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello world. my problem can be reduced to this: depending on the cases, I have to generate a single pdf page composed by partA + partB or partA + partC. Of course I could have a (partA + partB).jrxml and a (partA + partC).jrxml but I wonder if it is possible to prepare partA.jrxml, partB.jrxml and partC.jrxml and then concatenate them at runtime. Thank you in advance, Michele
  2. Hello, I had the problem posted in "from jasperreports-2.0.1 to 4.5.1 + pdf/a1b". Trying to solve it, I looked at "solved: pdf/a embedded font problem" and produced the attached code. Now the problem seems to be a valid file for the ICC profile for the instruction exporter.setParameter(JRPdfExporterParameter.PDFA_ICC_PROFILE_PATH, ?????????????); What kind of file is it? Where can I find it? I tried with several files, e.g. sRGB.pf, but always get com.lowagie.text.pdf.PdfXConformanceException: All the fonts must be embedded. This one isn't: Helvetica at com.lowagie.text.pdf.internal.PdfXConformanceImp.checkPDFXConformance(Unknown Source) at com.lowagie.text.pdf.PdfWriter.addSimple(Unknown Source) at com.lowagie.text.pdf.PdfContentByte.setFontAndSize(Unknown Source) at com.lowagie.text.pdf.PdfDocument.writeLineToContent(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at com.lowagie.text.pdf.ColumnText.go(Unknown Source) at net.sf.jasperreports.engine.export.JRPdfExporter.writePageAnchor(JRPdfExporter.java:738) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:662) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:367) Are such things connected? How can I solve this error? Thank you for any help, Michele Post Edited by javatoc at 05/18/2012 10:44
  3. Hi to everybody. I inherited a project with jasperreports version 2.0.1 which produces PDFs reports. Now, PDFs should be produced with format PDF/A1b compliant. 1. I downloaded jasperreports-4.5.1 and iText-2.1.7 but I can't manage to update this code (see attachment). Can somebody give me hints? Do I need JRBaseFiller and JRPdfExporter objects? 2. Do I need to recompile .jrxml files with new iReport 5.4.1 to produce proper .jasper files or I can still use old .jasper files produced with old iReport 2.0.1 ? Thanks in advance, jt Post Edited by javatoc at 05/17/2012 08:57
×
×
  • Create New...