Jump to content
Changes to the Jaspersoft community edition download ×

isRemoveWhenBlank doesn't collapse PageHeader

Recommended Posts

By: Milen Dimitrov - milend

isRemoveWhenBlank doesn't collapse PageHeader

2003-04-15 09:02



I'm using isRemoveLineWhenBlank = "true"

but my PageHeader doesn't colapse when the

line is blank.

What am I missing here?


Here is a piece of my XML file bellow.

I expect to see on my Page No 2 the text


On the other pages PageHeader height should be

smaller (PageHeader suppose colapse) but this does not happen.

The desired text appears only on the second page but the PageHeader keeps the same size on

all pages.


Is it bug or not?

I'm using JasperReports 0.4.0.

Any help will be greatly appreciated!

Thanks in advance!


<textField isBlankWhenNull="true">

<reportElement isRemoveLineWhenBlank = "true" positionType="Float" mode="Transparent" x="0" y="80" width="721" height="40" />

<textElement textAlignment="Center" >

<font fontName="sansserif" size="20" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false" />


<textFieldExpression class="java.lang.String">($V{PAGE_NUMBER}.intValue()==2)?("THIS IS PAGE 2"):""</textFieldExpression>









By: Mark - sparkynine

RE: isRemoveWhenBlank doesn't collapse PageHe

2003-04-15 12:39

I have the same problem....






Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...