Jump to content
We've recently updated our Privacy Statement, available here ×

template suggestion


Recommended Posts

By: Tzanko - tsanstef

template suggestion

2003-04-17 07:27

Hi Teodor,

 

We have been using Jasper reports for several months. Thank you for that! :-)

I have more then 20 reports. For each one there is an xml file. The title and the page header of the reports are almost identical. However whenever the client has a remark about the alignement or position of an element I have to go and modify it in all the 20 reports. And sometimes this takes more then a day.

Haven't you considered introducing a template feature in JasperReports? Or is there any workaround this problem?

 

 

 

 

 

By: Teodor Danciu - teodord

RE: template suggestion

2003-04-17 11:12

 

Hi,

 

Not sure this really helps, but you can use XML entities.

Look at the "query" sample and you'll see that

the report font settings section is placed in a separate file (.ent) that you could include in multiple

other report design files if they have entire sections

in common.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Tzanko - tsanstef

RE: template suggestion

2003-04-17 15:49

10x Teodor,

 

But this only facilitates common font definition. What if the elements in the Title and Page header are the same?

I was thinking more about introducing and include element

<include fromFile="commonTitle.xml">

 

 

 

 

 

By: Teodor Danciu - teodord

RE: template suggestion

2003-04-18 00:59

 

Hi,

 

This is the "include" feature you need.

The example is based on the fonts section,

but you can include like this any portion

of your XML file.

It does not matter if it is about the title, page footer,

or even all sections. It is really about including

portions of XML.

 

Try and you'll see.

 

I hope this helps.

Teodor

 

 

 

 

 

By: Vinod Kumar Singh - vinodsingh

RE: template suggestion

2003-04-19 04:02

Hi,

 

Why dont you try sub-reports for common sections.

 

vinod

Link to comment
Share on other sites

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

Top Posters In This Topic

Top Posters In This Topic

Hi Have you found solution to this issue?  I have similar problem to this.

  1. Having more than 400 reports of same design and i'm using compiled reports.
  2. Want to change part of report header section that includes Report Header Part + Column Headers.
  3. I want to change Report Header Section such that it comes from a template report.  So that when i change 1 template it reflects in all reports.
  4. One solution is to add sub-report  but I can not open and edit all these reports to add sub-report.
  5. Another solution is to introduce styled template,  but i have to change the position and alignment of the fields being displayed in report header.  So this also is not a good approach.

Is there any other way exist to achieve this??

This is really very urgent.  can anybody reply on this?

Link to comment
Share on other sites

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