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

rulate

Members
  • Posts

    7
  • 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 rulate

  1. I'm yet another one requesting this code if it's not too much ask could you send it to me too? (maybe upload it somewhere) RicardoUlate@fico.com
  2. shrije Wrote: You mention that you need an arbritatry number of subreports. How do you decide the no of subreports ? My company requires a reporting tool that is very simple to use. Every setting that can will have a default. The page size will default to the letter page size (for easy printing) when selecting PDF, or will default to ignorePaginationWhen when selecting html. A user will be able to add Report Components through a simple add method: report = new Report ("output.pdf"); report.addImage("image.jpeg"); report.addTable("file.csv"); report.addTable("file2.csv"); report.generate(); The report components will be position one beneth the other. As you can see, the number of tables in a report can vary according to the user's selection (each table is a sub report). Most of this is implemented already and working correctly, but when a table is added, it overlaps with whatever comes after. When using other report componets that grow in size (like crosstabs), the setPositionType Float works fine.
  3. Hi, I haven't heard back from anyone for a while with this issue. Clearly, the setPositionType as Float property isn't working for me. Would this be a bug? (if so, may I ask for a work around or a fix in a subsequent release?) or is this something I'm doing wrong? Regards, Ricardo
  4. Setting the height to 1 of the sub reports did not work, but thanks for your suggestion.
  5. Thanks for your quick response, I direction fill value is vertical. I'm ataching all the .jrxmls that generated this report (in case you want to check any additional information) and also highlighting in the code section below the relevant parts of these files to save you some time: testME.jrxml = parent t0.jrxml = child t1.jrxml = child Regards, Ricardo Ulate Code:==================================================Relevant code from testME.jrxml:==================================================...<jasperReport name="testME" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">... <detail> <band height="2"> <subreport> ... </subreport> <subreport> ... </subreport> </band> </detail>...</jasperReport>==================================================Relevant code from t0.jrxml:==================================================...<jasperReport name="t0" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" isFloatColumnFooter="true"> <property name="adjustPageHeight" value="true"/> <property name="adjustPageWidth" value="true"/> ... <columnHeader> <band> <frame> <reportElement positionType="Float" x="0" y="0" width="1026" height="0"/> ... </frame> </band> </columnHeader> <detail> <band height="11"> <frame> <reportElement positionType="Float" x="0" y="0" width="1026" height="11"/> ... </frame> </band> </detail>...</jasperReport>==================================================Relevant code from t1.jrxml:==================================================...<jasperReport name="t1" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" isFloatColumnFooter="true"> <property name="adjustPageHeight" value="true"/> <property name="adjustPageWidth" value="true"/> ... <columnHeader> <band> <frame> <reportElement positionType="Float" x="0" y="0" width="240" height="0"/> ... </frame> </band> </columnHeader> <detail> <band height="11"> <frame> <reportElement positionType="Float" x="0" y="0" width="240" height="11"/> ... </frame> </band> </detail>...</jasperReport>
  6. p.s. I forgot to mention, I know I can put the reports in different sections (e.g.: have one on the summary section). The example provided is a simple example, I plan to incorporate an arbitrary number of subreports into the report. Please try to keep the subreports in the same section when providing help or indicating if this is possible. Thanks once again!
  7. Hi, I encountered the same problem (overlapping subreport tables), but turning on the "positionType = float" didn't work. I have copied the relevant code from my JRXML, and attached an example of the PDF that it's getting generated with the overlapping tables. Are there other flags I should be checking to prevent the overlap? or am I making some obvious mistake? FYI: I'm using JR version 3.0.0 Thanks in advance, Ricardo Ulate Code:... <detail> <band height="2"> <subreport> <reportElement positionType="Float" x="0" y="0" width="0" height="0"/> ... </subreport> <subreport> <reportElement positionType="Float" x="0" y="1" width="0" height="0"/> ... </subreport> </band> </detail>...
×
×
  • Create New...