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

vpiff

Members
  • Posts

    5
  • Joined

  • Last visited

vpiff'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. Hi, I've a report which contains a subreport wich contains itselfs recursively. Inside I've a variable named insertPageBreak I've put inside the report a text field, a break page and a static text that are shown if insertPageBreak is true. Both text element are showing correctly, the page break is always showed. I've tried to force the pagebreak condition to false and it disappears... it seems that the evalation time of the page break is not evaluated at the right time... some one can help me? Thank you!! source: <textField> <reportElement mode="Opaque" x="193" y="0" width="100" height="20" backcolor="#33FF66"> <printWhenExpression><![CDATA[$V{insertPageBreak}]]></printWhenExpression> </reportElement> <textElement/> <textFieldExpression><![CDATA[$V{insertPageBreak}]]></textFieldExpression> </textField> <break> <reportElement x="0" y="25" width="100" height="1"> <printWhenExpression><![CDATA[$V{insertPageBreak}]]></printWhenExpression> </reportElement> </break> <staticText> <reportElement mode="Opaque" x="93" y="0" width="100" height="20" backcolor="#00FFFF"> <printWhenExpression><![CDATA[$V{insertPageBreak}]]></printWhenExpression> </reportElement> <textElement/> <text><![CDATA[static text]]></text> </staticText>
  2. I saw that the new 4.6 version has been released... Does the new version contain the fix for that bug?
  3. Hi, is it possible to redirect the overflow of textfield A into the textfield B? how? thankyou vasco
  4. Hi, does anyone know how to wrap a text around anotuer element? what I like to achieve is something like that: XXXX AAAAAAAAAAAAAAAAAAAAAAAAA XXXX AAAAAAAAAAAAAAAAAAAAAAAAA XXXX AAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAA where X is an element (e.g. an image) and A is a text filed Thankyou Vasco
  5. Hi, I've a report where the distance of the text from the left side (~left margin) is different on the first page of the report. To achieve this result I put two identical text field: the first in in the position it should have in the first page and the second one with the position it should have on all the other pages. Both of them has set the printWhenExpresson in order to be printed in relation of the page. The code is attached. As you can see the band prevent to be splitted on two pages. When a band is too big to be fitted in the page is mooved to the next one. The problem is that the PAGE_NUMBER is computed before the band is moved to the next page. Is it bossible to "recalculate" the page number? or is there any other way to achieve the differen left margin on the second page? Thankyou Vasco Code:<band height="42" splitType="Prevent"> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" x="108" y="22" width="393" height="20" isPrintInFirstWholeBand="true"> <printWhenExpression><![CDATA[$V{PAGE_NUMBER}==1]]></printWhenExpression> </reportElement> <textElement><font fontName="Arial" size="11"/></textElement> <textFieldExpression><![CDATA[($F{status})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" x="0" y="22" width="501" height="20" isPrintInFirstWholeBand="true"> <printWhenExpression><![CDATA[$V{PAGE_NUMBER}>1]]></printWhenExpression> </reportElement> <textElement><font fontName="Arial" size="11"/></textElement> <textFieldExpression><![CDATA[($F{status})]]></textFieldExpression> </textField></band>
×
×
  • Create New...