Skip to main content



      Home
Home » Archived » BIRT » Design question
Design question [message #159320] Tue, 09 May 2006 03:43 Go to next message
Eclipse UserFriend
Hi,

i have the following situation:
I have my Java application which will generate data for BIRT.
Which data is generated is selected by the user.
I will use the BIRT runtime to generate the reports.
The pages should be in the size DIN A4 and divided as described below:

First Page:
data from two scripted data source.

Second Page:
this page is optional,
data from a scripted data source will be displayed in a table.

Third Page and more:
these pages are optional,
there can be a selection of 1-4 charts of 10
different charts.Each chart should be on one page.

I wonder if is possible to design single reports for the
First, second, third etc. pages and depending on the user
selection to execute these and merge them after running
all reports.

All scripted data sources will be created at runtime in my
Java application and delivered to the reports via the method
addScriptableJavaObject to BIRT runtime.


Thanks in advance,
Oliver
Re: Design question [message #159426 is a reply to message #159320] Tue, 09 May 2006 05:32 Go to previous messageGo to next message
Eclipse UserFriend
Oliver,

If your output is going to be html this is can be done by using

HTMLRenderOption options = new HTMLRenderOption();
options.setEmbeddable(true);

This will strip the html and body tags and then you can use standard io to
create the combination of output files.

Jason

"Oliver Krohne" <okrohne@versant.com> wrote in message
news:e3ph7q$f5c$1@utils.eclipse.org...
> Hi,
>
> i have the following situation:
> I have my Java application which will generate data for BIRT.
> Which data is generated is selected by the user.
> I will use the BIRT runtime to generate the reports.
> The pages should be in the size DIN A4 and divided as described below:
>
> First Page:
> data from two scripted data source.
>
> Second Page:
> this page is optional,
> data from a scripted data source will be displayed in a table.
>
> Third Page and more:
> these pages are optional,
> there can be a selection of 1-4 charts of 10
> different charts.Each chart should be on one page.
>
> I wonder if is possible to design single reports for the
> First, second, third etc. pages and depending on the user
> selection to execute these and merge them after running
> all reports.
>
> All scripted data sources will be created at runtime in my
> Java application and delivered to the reports via the method
> addScriptableJavaObject to BIRT runtime.
>
>
> Thanks in advance,
> Oliver
Re: Design question [message #159456 is a reply to message #159426] Tue, 09 May 2006 05:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jason,

i would like to keep the output as flexible as possible.
So, HTML, PDF and WebViewer are desired.

Maybe it is only possible if I generate the report design
at runtime?

Thanks,
Oliver



Jason Weathersby schrieb:
> Oliver,
>
> If your output is going to be html this is can be done by using
>
> HTMLRenderOption options = new HTMLRenderOption();
> options.setEmbeddable(true);
>
> This will strip the html and body tags and then you can use standard io to
> create the combination of output files.
>
> Jason
>
> "Oliver Krohne" <okrohne@versant.com> wrote in message
> news:e3ph7q$f5c$1@utils.eclipse.org...
>> Hi,
>>
>> i have the following situation:
>> I have my Java application which will generate data for BIRT.
>> Which data is generated is selected by the user.
>> I will use the BIRT runtime to generate the reports.
>> The pages should be in the size DIN A4 and divided as described below:
>>
>> First Page:
>> data from two scripted data source.
>>
>> Second Page:
>> this page is optional,
>> data from a scripted data source will be displayed in a table.
>>
>> Third Page and more:
>> these pages are optional,
>> there can be a selection of 1-4 charts of 10
>> different charts.Each chart should be on one page.
>>
>> I wonder if is possible to design single reports for the
>> First, second, third etc. pages and depending on the user
>> selection to execute these and merge them after running
>> all reports.
>>
>> All scripted data sources will be created at runtime in my
>> Java application and delivered to the reports via the method
>> addScriptableJavaObject to BIRT runtime.
>>
>>
>> Thanks in advance,
>> Oliver
>
>
Re: Design question [message #159487 is a reply to message #159456] Tue, 09 May 2006 06:28 Go to previous message
Eclipse UserFriend
Oliver,

I think that may be the only possiblity. You could use the visibilty
feature, but if the queries would still run for output you are not going to
display.

Jason
"Oliver Krohne" <okrohne@versant.com> wrote in message
news:e3pob7$98l$1@utils.eclipse.org...
> Hi Jason,
>
> i would like to keep the output as flexible as possible.
> So, HTML, PDF and WebViewer are desired.
>
> Maybe it is only possible if I generate the report design
> at runtime?
>
> Thanks,
> Oliver
>
>
>
> Jason Weathersby schrieb:
>> Oliver,
>>
>> If your output is going to be html this is can be done by using
>>
>> HTMLRenderOption options = new HTMLRenderOption();
>> options.setEmbeddable(true);
>>
>> This will strip the html and body tags and then you can use standard io
>> to create the combination of output files.
>>
>> Jason
>>
>> "Oliver Krohne" <okrohne@versant.com> wrote in message
>> news:e3ph7q$f5c$1@utils.eclipse.org...
>>> Hi,
>>>
>>> i have the following situation:
>>> I have my Java application which will generate data for BIRT.
>>> Which data is generated is selected by the user.
>>> I will use the BIRT runtime to generate the reports.
>>> The pages should be in the size DIN A4 and divided as described below:
>>>
>>> First Page:
>>> data from two scripted data source.
>>>
>>> Second Page:
>>> this page is optional,
>>> data from a scripted data source will be displayed in a table.
>>>
>>> Third Page and more:
>>> these pages are optional,
>>> there can be a selection of 1-4 charts of 10
>>> different charts.Each chart should be on one page.
>>>
>>> I wonder if is possible to design single reports for the
>>> First, second, third etc. pages and depending on the user
>>> selection to execute these and merge them after running
>>> all reports.
>>>
>>> All scripted data sources will be created at runtime in my
>>> Java application and delivered to the reports via the method
>>> addScriptableJavaObject to BIRT runtime.
>>>
>>>
>>> Thanks in advance,
>>> Oliver
>>
Previous Topic:localized text in the header
Next Topic:runtime problem in web application!!
Goto Forum:
  


Current Time: Sun May 11 16:23:28 EDT 2025

Powered by FUDForum. Page generated in 0.03385 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top