Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Static Text in Jasper Reports

 
Vijayanand Jayaraj
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello EveryBody,
I am new to jasper reports and using it for creating reports. I wonder that how could I create Static Text and include in the report UI. Whenever I create the UI and save the report as .jrxml file I cannot see the static text in the xml file. What should I do to include the static text in the xml file.

Thanks,
Vijayanand
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use a tool like iReport, just select the Static Text object and place it on the report.

If you are writing the XML by hand, add something like:

 
Vijayanand Jayaraj
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Joel.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic