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

AidanDiffey

Members
  • Posts

    3
  • Joined

  • Last visited

AidanDiffey's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Thanks for the reply. If there is no conversion tool, then how am I supposed to print rtf that is stored in a databse to a PDF file using JasperReports? Cheers
  2. Hello All. Is there a list of tags that are suported by styled text in JasperReports? Also, is there any way to stop the net.sf.jasperreports.engine.fill.JRFillTextElement erroring when it throws a org.xml.sax.SAXException? I get the following: 2006-12-11 15:45:54,679 WARN [net.sf.jasperreports.engine.fill.JRFillTextElement] Invalid styled text. org.xml.sax.SAXException: Tag <a> is not a valid styled text tag. at net.sf.jasperreports.engine.util.JRStyledTextParser.parseStyle(JRStyledTextParser.java:493) at net.sf.jasperreports.engine.util.JRStyledTextParser.parseStyle(JRStyledTextParser.java:457) at net.sf.jasperreports.engine.util.JRStyledTextParser.parse(JRStyledTextParser.java:140) at net.sf.jasperreports.engine.fill.JRFillTextElement.getStyledText(JRFillTextElement.java:453) at net.sf.jasperreports.engine.fill.JRFillTextElement.getText(JRFillTextElement.java:479) at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:484) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:343) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:311) at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:275) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1302) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:631) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:228) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:128) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:730) at net.sf.jasperreports.engine.fill.JRFillSubreport.run(JRFillSubreport.java:477) at java.lang.Thread.run(Thread.java:534) And then the styled text is displayed as raw html looking text. Cheers
  3. Hello. We have an application that uses RTF stored in a database. We want to display the RTF on a Jasper Report, and have implemented a RTF to Styled Text converter. This converter has been proven to be buggy, and we have got an issue is <a></a> tags. Does a newer version of Jasper Reports support RTF, and if not, is there an open source converter to convert RTF to Styled Text (and hopefully HTML). Cheers
×
×
  • Create New...