Jump to content
JasperReports Library 7.0 is now available ×

help: newbie question - JRBaseBand to JRDesigBand


hugo.lima

Recommended Posts

hi there,

 

there is my problem:

 

i´m build an JasperDesign atribute with differents bands from separate files and i´m trying to change some properties or add new fields.

 

like:

 

#this.aJasperDesign.setTitle(this.getReportTitle().getTitle());

#this.aJasperDesign.setLastPageFooter(this.getReportLastPageFooter().getPageFooter());

 

the Band "this.getReportTitle().getTitle()" is from an jrxml different than the band from jrxml that contain "this.getReportLastPageFooter().getPageFooter()".

 

all this bands are objects type JRBaseBand.

 

my question: is there a way to convert this objects JRBaseBand to JRDesignBand so i could add some text fields in it for example? If not there are some sort of ways to get the elements from a JRBaseBand and add them in an JRDesignBand?

in the API i couldn´t solve my problem so if someone with more experience can i´ll really appreciate.

 

sorry for the bad English.

Link to comment
Share on other sites

  • 5 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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