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

primozp

Members
  • Posts

    13
  • Joined

  • Last visited

primozp's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Finally I think that I found out what is the problem. I tried to use different fonts in iReport (see 4 included PDF file which are printed from iReport to PDF printer - I did not use PDF export in iReport). I just change font of *$F{clinicalNoteContent}* field on the bottom of the page, so don’t bother around other fields in report. As you can see original font (Segoe UI Light) and Sans serif doesn't work. Text after "Lorem ipsum" (that is "dolor sit amet, consectetur adipiscing elit. Nulla congue semper quam, eu") is lost "in page break". On the other side Serif and Tahoma fonts works fine. But if you check font of this field in all PDF files, is it all time the same. Only fine spacing between characters is a little different. That font is obviously Tahoma which is defined in HTML. I think that the problem is that JasperReport uses font (fonts) from HTML for rendering HTML and the font defined in text field (this is property that I’ve changed) for calculating some other parameters. And that is why sometimes (depends on the font) whole line is missing. I will try to use same font inside HTML markup text and in text field property and hope that will work in all cases. But I think that in case of HTML markup text field, font property of text field should be ignored and only font (or fonts) defined in HTML should be used for rendering and other calculations. In my case this is not the problem because I use just one font inside HTML, but what if I use more than one font inside in HTML and define some other in field property. Thank you again for your help and quick response. Regards, Primoz.
  2. You are not helping me at all. ;) On your side everything works, here I have problems. Now, the only difference left is the font. We have one special font (Lucina Unicode), you probably use one standard ones (Arial...). I going to change font and see if that is the problem. Thank you very much for now. Regards, Primoz.
  3. Can you try to make value of field *$F{clinicalShowHeaderFooter}* true? I see that upper part of report is not printed in your case because this value is false. Or clear *Print when expression* in sections *Detail 1*, *Detail 2*, *Detail 3* and *Detail 4*. Thank you for now! Primoz.
  4. You can use attached Excel file (see post where I attach 4 files) as Datasource and it includes whole HTML text too. I also think that there is something wrong with HTML rendering, but what!?!? Post Edited by primozp at 09/13/2010 12:32
  5. Here are my sample files. I include following files: - JasperReport file (NotWorking.jrxml) - Excel data file (NotWorkingData.xls) - PDF printer file - I used iReport for printing (NotWorking - PDF Printer.pdf) - PDF export file - I used iReport to save PDF file (NotWorking - iReport Export.pdf) Whole paragraph around page break shoud be like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla congue semper quam, eu pharetra velit cursus ac. Pellentesque volutpat tellus adipiscing risus mollis non adipiscing erat faucibus. Donec a tellus dui. Nunc a tellus vel nisi vehicula venenatis in a orci. Quisque tellus tortor, molestie sed cursus non, imperdiet sit amet ipsum. Donec sit amet leo at augue molestie venenatis. Aenean eget lacus tortor. Quisque condimentum placerat leo ornare ultrices. Integer rhoncus pulvinar velit ut consequat. Sed ac lorem aliquam lectus ultricies ullamcorper ut ut quam. If you look PDF-s you can se that there are some words missing from end of first and beggining of second sentence of paragraph. There is little difference between both PDF-s (that is way I included both) but in both cases some words are missing. Please help! ;)
  6. I have a report which has few "normal" text fields and as last field on page (placed around center of the first page) I added text field with HTML markup. I used this field to print text entered in JTextPane. This HTML text is normally more than one page long. And there sometimes is a problem. If paragraph does not fit on page (page is broke in the middle of paragraph), one line of paragraph is simply missing. It is not printed on this page, neither on next. I read about similar problems with justification of last line of such a paragraph, but nothing about missing whole line of text. Can anybody help me, please? It is urgent... I'm using last version of JasperReports (3.7.4).
  7. Currently I'm running application under BEA which has its own parser... I will try to change this... Caused by: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1203) at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135) at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152) at org.apache.commons.digester.Digester.parse(Digester.java:1745) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:239) Regards, Primoz Prislan.
  8. In my case that is just not true. Unfortunatelly... I create report xml (jrxml) file dynamically in java application and that compile it. I also declare DTD in my jrxml file. I was using 3.0.1 version and it works fine, but with new 3.1.2 version it does not work anymore. I always get an exception: net.sf.jasperreports.engine.JRException: org.xml.sax.SAXException: http://java.sun.com/xml/jaxp/properties/schemaSource at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168) I also tried to remove DTD and add XSD schema tags, but it just does not help! So I have to move back to 3.0.1 version. I hope somebody will find the reason and help me to strat using new 3.1.2 version. Best regards, Primoz. Post Edited by Primoz Prislan at 11/07/08 10:25
×
×
  • Create New...