Jump to content
Changes to the Jaspersoft community edition download ×

Another issue with static text


Recommended Posts

By: Ulrich Eckhardt - ueckhardt

Another issue with static text

2002-04-12 06:37

Hi,

 

i have some larger static text. Since the text is

somewhat larger i have linebreaks within the xml

source:

 

<reportFont name="Helvetica" isDefault="true" fontName="Helvetica" size="12" [snip]

 

<staticText>

<reportElement ... />

<textElement TextAlignment="Left"/>

<text>

First line with longer text

Second line with longer text

</text>

</staticText>

 

The design view displays this text correctly.

The viewer displays the first line correctly.

The second line is attached directly to the

first line without a space and displayed

with a slightly different font.

 

If i print this report, the first line is printed,

the rest is ignored.

 

As a workaround i have put all my text i a single

now very long line.

 

Uli

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...