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

infinityat0

Members
  • Posts

    5
  • Joined

  • Last visited

infinityat0's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hey Alan, Can you try putting the splitallowed attribute only for sub report and see. It might work. Remove it for master report and for subreport give the attribute value to "false"
  2. Hi, I have a problem while generating the text reports. The text field has a width of 268px. But when the content is beyond the estimated witdh the text truncates when the report generated is a TXT report. I dont face this problem with any other format. Below is the code for text field. I tried adding properties to the text field and experimenting with it but still it gives the same problem. Giving the text field 350px solves the problem but I cannot change the text field width since a tool generates this JRXML. Code:<textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement style="listgreyrowtxtleftline7" positionType="Float" stretchType="RelativeToTallestObject" x="15" y="5" width="262" height="12" isRemoveLineWhenBlank="true"> <property name="net.sf.jasperreports.print.keep.full.text" value="new Boolean(true)"/> <property name="net.sf.jasperreports.text.truncate.at.char" value="new Boolean(false)"/> <printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression> </reportElement> <textElement/> <textFieldExpression class="java.lang.String"><![CDATA[$P{REPORT_SCRIPTLET}.getTextElementValue("CustomReportsFG__REPORT_NAME_ARRAY")]]></textFieldExpression></textField>
  3. 1) When i try to generate a report in RTF format, the data gets truncated. The page height of the JRXML is 1673. Is that the problem. 2) Also, when the report contains large number of rows(more than 200) Microsoft word crashes when i try to open a report. Can anyone help.
  4. Just a query. Can we have 2 scriptlets in 1 jrxml?. iReport (3.1.x) allows me to add another scriptlet by name. But when i load the jrxml again it throws an exception.
  5. I have a small isssue while using Compile Manager of jasper 3.1.0 My code has just one line.I call compile manager "JasperCompileManager.compileReportToFile("C:/test.jrxml","C:/test.jasper");" on executing, it gives me a series of alerts saying "Applet is attempting a read operation on file C:/test.jrxml" and so on... I dont wan these alerts. Please let me know how to suppress them. I use Netbeans 6.1 with latest jave release.
×
×
  • Create New...