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

sravyts

Members
  • Posts

    31
  • Joined

  • Last visited

sravyts's Achievements

Contributor

Contributor (5/14)

  • Collaborator Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Hello, I would like to have the reportElement foreColor tag overrule the markup's forecolor. Is this possible? It is because we have rtf text which we want to display in a report, but in our application, the background of the textpanes showing the rtf is black (and foreground white). In the reports we want to have a background white and foreground black of course). If I could set the textelement's forecolor to black in the design, and it would use this forecolor to overrule the rtf's forecolor, I would have a solution. Wkr, Sofie
  2. We have a setup where designs are created on the client, and rendering is done on the server. In the designs we add a custom queryString, and on the server I register the queryExecuterFactory for that language in the properties. But when I try to add this string on the client (where this class is not accessible) by calling jasperDesign.setQuery(xxx), I get a JRException saying that the property needs to be filled in.And when I add this property with the serverclass filled in, ofcourse I get an exception saying the class cannot be found. Is there a way of adding this string to the design on the client without having this exception? It is only at filling-time that this is really used, so why is this validation done at the moment the queryString is added?
  3. We have a setup where designs are created on the client, and rendering is done on the server. In the designs we add a custom queryString, and on the server I register the queryExecuterFactory for that language in the properties. But when I try to add this string on the client (where this class is not accessible) by calling jasperDesign.setQuery(xxx), I get a JRException saying that the property needs to be filled in.And when I add this property with the serverclass filled in, ofcourse I get an exception saying the class cannot be found. Is there a way of adding this string to the design on the client without having this exception? It is only at filling-time that this is really used, so why is this validation done at the moment the queryString is added?
  4. ceck out the demoexamples folder in the jasper reports download!
  5. ceck out the demoexamples folder in the jasper reports download!
  6. ceck out the demoexamples folder in the jasper reports download!
  7. sravyts

    Printing

    FYI: exporting to pdf works fine! So I don't think there is a problem with the url to the image?
  8. sravyts

    Printing

    I get the following exception when trying to print a report: "java.awt.print.PrinterException; Image read failed". I cannot find any suggestions on what is causing this. Can anyone help me with this one?
  9. Hey, I'm struggling a bit with pdf rendering and fonts. I have created a very basic template with some styled text (bold and italic included). There are no fonts referenced in the design, but still the bold does not come up in the pdf file. I understand this is because I need to add a mapping for the fonts used. But since I didn't specify a special font, i presume a default font is used by Jasper (is this Arial?)? And why is the mapping for this default font not automatically set? Or am I missing something? Wkr, Sofie
  10. Is it possible it doesn't work with JDT 3.2.0 as well? Do we have to use JDT 3.1.1? Wkr, Sofie
  11. Is it an option to stretch cell contents over multiple pages or is this not possible?
  12. I have a crosstab with a cell with a very long text shown in a dynamic textfield. But my rendering process seems to go into an infinite loop. When Ctrl-Break is pressed I see the stacktrace pasted at the bottom. Can this infinite loop throw an exception like the (infinite loop due to column header overflow etc...) if it is due to a bad design, or is this a bug? at java.text.RuleBasedBreakIterator.handlePrevious(RuleBasedBreakIterator.java:960) at java.text.RuleBasedBreakIterator.previous(RuleBasedBreakIterator.java:626) at java.text.RuleBasedBreakIterator.preceding(RuleBasedBreakIterator.java:774) at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:363) at java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:422) at java.awt.font.LineBreakMeasurer.nextLayout(LineBreakMeasurer.java:395) at net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(TextMeasurer.java:294) at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:249) at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:535) at net.sf.jasperreports.engine.fill.JRFillTextField.prepare(JRFillTextField.java:529) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:343) at net.sf.jasperreports.engine.fill.JRFillCellContents.prepare(JRFillCellContents.java:357) at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.prepareDataCell(JRFillCrosstab.java:1515) at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.prepareRow(JRFillCrosstab.java:1439) at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.fillRows(JRFillCrosstab.java:1351) at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.fillVerticalCrosstab(JRFillCrosstab.java:916) at net.sf.jasperreports.engine.fill.JRFillCrosstab$CrosstabFiller.fill(JRFillCrosstab.java:863) at net.sf.jasperreports.engine.fill.JRFillCrosstab.prepare(JRFillCrosstab.java:495) at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:343)
  13. I created a feature request a while ago (after the previous post in this topic), but there doesn't seem to have been any development for this. Are we the only ones trying to embed rtf (or html) in reports? Are there workarounds?
  14. The pdf with stationary [file name=TestReport_withstationary.pdf size=1564]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/TestReport_withstationary.pdf[/file]
  15. The pdf without stationary [file name=TestReport_withoutstationary.pdf size=1364]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/TestReport_withoutstationary.pdf[/file]
×
×
  • Create New...