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

snowch

Members
  • Posts

    41
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by snowch

  1. After finishing my outputs, I have come to the conclusion that Jasper reports is not suitable where precise pagination control is required. XSL-FO (or openoffice) would have been a much better choice for the complex document templates I have created.
  2. I am trying to produce a pdf with an embedded OpenType PS font, however, it appears that the jvm doesn't have good support for OpenType fonts: http://coding.derkeiler.com/Archive/Java/comp.lang.java.programmer/2008-01/msg01864.html I am hitting the bug (feature) Why is my text not displayed correctly in PDF?: http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html?group_id=252#FAQ25 Is my only option to replace my font with one that is better supported by the jvm? Many thanks in advance, Chris
  3. I think I've just fixed it by changing the font using the attribute fontName="Times New Roman". I'm a bit confused why this attribute affects the pdf rendering? Any feedback appreciated.. Many thanks, Chris
  4. I am trying to print out some bullet points. When rendering with jasper viewer, all is ok. However as pdf an extra line is inserted under some text elements. The attached report should work with an empty data source with 1 dummy row. I have also attached a screenshot showing the problem. Should this be reported as a bug? Many thanks, Chris
  5. Hi C-Box, Unfortunately, this displays on the last page which we don't want. Many thanks, Chris
  6. Is it possible to conditionally only print something on all pages except the last page (or first page if there is only one page)?
  7. Hi forum, How can I display [continued] on all pages except last if there is more than one page)? Many thanks, Chris
  8. Hi Forum, My report has a blank last page any ideas? Many thanks, Chris
  9. Hi Kay, Whenever I need to avoid page break I use subreports. I think there are other ways using groups, etc, but I didn't have time to get to the bottom of using groups. Using multiple subreports is messy but I'm just having to live with it! Cheers, Chris
  10. Hi Kay, I had this problem too. It sounds like bug #2982 http://jasperforge.org/tracker/index.php?func=detail&aid=2982&group_id=102&atid=612 Cheers, Chris
  11. Perhaps using pdf tags would be the way to go as they describe the structure of the pdf. Tagging could be read using iText for unit testing that the report logic is correct? Any thoughts anyone? Many thanks, Chris
  12. I would like to automate my report (pdf) unit tests. Is there a way adding meta data to the pdf that is not actually visible by a human in the pdf, but is visible by another tool? E.g. if I have a conditional section that I want to test is getting included, the conditional section adds a meta tag to the pdf. A human would be unaware of the tag, but a library like iText can checked for the existence of the meta tag. Any ideas? Many thanks, Chris
  13. For a report (insurance quote) that I am creating, I need fine control over page breaks (and avoiding page breaks). I'm currently using dummy subreports that just include other subreports. I am setting to avoid page breaks by setting the section in the dummy subreport to allow split = false. It seems from the forums that my approach is quite common to controlling page breaks (the other approach is to use groups which I need to understand in more detail)? I believe that Jasperreports would benefit from having an element: <AvoidPageBreakInside> <SubReport that should not be split/> </AvoidPageBreakInside> This would allow removing one layer of subreport where that layer is just used for controlling page breaks. I imagine that the report engine should not need to be changed to add this new element. Changes could be made to the package for parsing the jrxml. The parser could convert the AvoidPageBreakInside into subreport elements? Any thoughts? Many thanks in advance, Chris
  14. I'm immersing myself in the api for jasper, and I am a little confused why I can alter the height of a JRBaseStaticText on a JRPrint object, but I can't alter the height? Can anyone provide me with an explanation? Many thanks, Chris
  15. re-reattached example as pdf's seemed to be truncated!
  16. Hi Cbox, I am trying to create insurance documents. One of the report sections I'm having problems with is a summary of the policy (example attached). Design time, there are many text fields in the detail section, one for each label and value, but many of these text fields won't be required at fill time so I remove the line when blank. Unfortunately, the subreport won't shrink in height when fields are removed at fill time. The smallest height appears to be the design time height. This leaves a lot of white space under sections where jasper won't put a sub report's data because it doesn't think it will fit. This problem will be the same for the terms and conditions sections where there are a lot of rules at design time, but only a few T&C's will be shown at fill time. I have tried creating the tables with using a single field and grow it by filling it with html and rtf data, but couldn't get the rendering of html or rtf to work. Instead of having fixed fields at design time for each label/value pair, I have also tried creating just one label/value pair and making the datasource return the correct combination of label/values. Unfortunately, using this approach the page breaks were happening inside the boxes. The only other thing I can think of is altering the design programmatically for each report that is run, i.e. removing unwanted fields and adding a compile step before filling happens. Any ideas would be greatly appreciated! Many thanks, Chris
  17. ..has anyone else on this forum created complex documents with jasper? many thanks, Chris
  18. Am I right in thinking that at fill time, jasper will calcuate the stretched height on a subreport to calcuate if it will fill in the including report? If the above assumption is correct, then jasper should also be able to calcuate the shrunk height at fill time rather than using the design time height as the minimum height? Many thanks, Chris
  19. Hi ggalan, How complex were those cover letters (how many pages / sections / sub-sections / etc )? Were any of the sections (e.g. terms and conditions) significantly variable in height depending on the content? Many thanks, Chris
  20. I'm having a number of issues with Jasper creating pdf outputs. Jasper doesn't seem to be suited to creating letter like documents with many sections and pages? I have created the same outputs ok in Actuate erdPro, BIRT 2.3 and programatically in iText. However I am struggling with jasper. Has anyone else had experience using jasper for letter style outputs? Many thanks in advance... Chris
×
×
  • Create New...