Jump to content
JasperReports Library 7.0 is now available ×

relatively positioning elements


2004 IR Help

Recommended Posts

By: bobby - tubbymanatee

relatively positioning elements

2005-09-07 16:14

Suppose I am making a mostly static design which has a line between each field:

 

|--------------------------------|

| Name: $P{Name} |

|--------------------------------|

| Address: $P{Address} |

|--------------------------------|

| Phone: $P{Phone} |

|--------------------------------|

 

Sometimes the address will be two lines, and sometimes the address will be three lines long. I need a way to dynamically position the elements below address to move up or down depending on how many lines the address field was. Is this possible with Jasper Reports?

 

Any help provided would be much appreciated as I've been working on this for hours!!

 

Thanks,

Bobby

 

 

 

 

By: mlaw93 - mlawson93

RE: relatively positioning elements

2005-09-16 13:33

Generally I've found that making such a "complex" element as your Address into its own subreport works. Phone can reposition itself below the subreport element.

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