Home » Archived » BIRT » Some Questions
Some Questions [message #878906] |
Wed, 30 May 2012 03:09  |
Eclipse User |
|
|
|
Hi,
I've got some questions regarding BIRT and the BIRT Web Viewer.
1. Is there any possibility to delete some of the "Export Formats" in the Dialog "Erport Report" of the Web Viewer? For example I don't want the choice of Open Document Formats.
2. If I want to Export a Report to the PDF-Format, the output file doesn't contain the chart I see in the Web Viewer. Before I used the batik-JARs, but they caused problems with some logging-classes, which should be loaded twice. Then I tried to use the birt-PDF-jars. I copied the following JAR-Files to the lib folder (because on the Server there is no plugins-folder, and the batik-JARs were in this folder, too)
org.eclipse.birt.report.engine.emitter.pdf.config_2.5.1.v20090917.jar
org.eclipse.birt.report.engine.emitter.pdf_2.5.1.v20090821.jar
org.eclipse.birt.chart.device.pdf_2.5.2.v20091022.jar
3. Is there any possibility to customize the look of the Web Viewer?
4. In some other Tools, which show charts, you can select an area inside the chart with your mouse and then the selected area will be shown in more detail (Some kind of zooming into the chart). Has BIRT perhaps any options to do this, too?
5. Is it possible only to generate a report (in PDF-Format for example) automatically, without showing it in the browser?
Regards Dnns
[Updated on: Wed, 30 May 2012 09:33] by Moderator
|
|
|
Re: Some Questions [message #879077 is a reply to message #878906] |
Wed, 30 May 2012 09:34   |
Eclipse User |
|
|
|
Hi,
I've got some questions regarding BIRT and the BIRT Web Viewer.
1. Is there any possibility to delete some of the "Export Formats" in the Dialog "Erport Report" of the Web Viewer? For example I don't want the choice of Open Document Formats.
2. If I want to Export a Report to the PDF-Format, the output file doesn't contain the chart I see in the Web Viewer. Before I used the batik-JARs, but they caused problems with some logging-classes, which should be loaded twice. Then I tried to use the birt-PDF-jars. I copied the following JAR-Files to the lib folder (because on the Server there is no plugins-folder, and the batik-JARs were in this folder, too)
org.eclipse.birt.report.engine.emitter.pdf.config_2.5.1.v20090917.jar
org.eclipse.birt.report.engine.emitter.pdf_2.5.1.v20090821.jar
org.eclipse.birt.chart.device.pdf_2.5.2.v20091022.jar
3. Is there any possibility to customize the look of the Web Viewer?
4. In some other Tools, which show charts, you can select an area inside the chart with your mouse and then the selected area will be shown in more detail (Some kind of zooming into the chart). Has BIRT perhaps any options to do this, too?
5. Is it possible only to generate a report (in PDF-Format for example) automatically, without showing it in the browser?
Regards Dnns
I'm Sorry but it seems, that there is an error. My first Message isn't shown.
|
|
|
Re: Some Questions [message #879079 is a reply to message #878906] |
Wed, 30 May 2012 09:34   |
Eclipse User |
|
|
|
Hi,
I've got some questions regarding BIRT and the BIRT Web Viewer.
1. Is there any possibility to delete some of the "Export Formats" in the Dialog "Erport Report" of the Web Viewer? For example I don't want the choice of Open Document Formats.
2. If I want to Export a Report to the PDF-Format, the output file doesn't contain the chart I see in the Web Viewer. Before I used the batik-JARs, but they caused problems with some logging-classes, which should be loaded twice. Then I tried to use the birt-PDF-jars. I copied the following JAR-Files to the lib folder (because on the Server there is no plugins-folder, and the batik-JARs were in this folder, too)
org.eclipse.birt.report.engine.emitter.pdf.config_2.5.1.v20090917.jar
org.eclipse.birt.report.engine.emitter.pdf_2.5.1.v20090821.jar
org.eclipse.birt.chart.device.pdf_2.5.2.v20091022.jar
3. Is there any possibility to customize the look of the Web Viewer?
4. In some other Tools, which show charts, you can select an area inside the chart with your mouse and then the selected area will be shown in more detail (Some kind of zooming into the chart). Has BIRT perhaps any options to do this, too?
5. Is it possible only to generate a report (in PDF-Format for example) automatically, without showing it in the browser?
Regards Dnns
|
|
|
Re: Some Questions [message #879081 is a reply to message #878906] |
Wed, 30 May 2012 09:35   |
Eclipse User |
|
|
|
Hi,
I've got some questions regarding BIRT and the BIRT Web Viewer.
1. Is there any possibility to delete some of the "Export Formats" in the Dialog "Erport Report" of the Web Viewer? For example I don't want the choice of Open Document Formats.
2. If I want to Export a Report to the PDF-Format, the output file doesn't contain the chart I see in the Web Viewer. Before I used the batik-JARs, but they caused problems with some logging-classes, which should be loaded twice. Then I tried to use the birt-PDF-jars. I copied the following JAR-Files to the lib folder (because on the Server there is no plugins-folder, and the batik-JARs were in this folder, too)
org.eclipse.birt.report.engine.emitter.pdf.config_2.5.1.v20090917.jar
org.eclipse.birt.report.engine.emitter.pdf_2.5.1.v20090821.jar
org.eclipse.birt.chart.device.pdf_2.5.2.v20091022.jar
3. Is there any possibility to customize the look of the Web Viewer?
4. In some other Tools, which show charts, you can select an area inside the chart with your mouse and then the selected area will be shown in more detail (Some kind of zooming into the chart). Has BIRT perhaps any options to do this, too?
5. Is it possible only to generate a report (in PDF-Format for example) automatically, without showing it in the browser?
Regards Dnns
Sorry, but my first message isn't shown
|
|
|
Re: Some Questions [message #879286 is a reply to message #879081] |
Wed, 30 May 2012 19:14   |
Eclipse User |
|
|
|
1 - You can do this by removing the emitter from the plugin.xml in the
runtime jar. eg remove
<extension name="OpenDocument Spreadsheet Emitters"
point="org.eclipse.birt.report.engine.emitters">
<emitter
class="org.eclipse.birt.report.engine.emitter.ods.OdsEmitter"
format="ods" icon="resource/ODS.gif"
id="org.eclipse.birt.report.engine.emitter.prototype.ods"
mimeType="application/vnd.oasis.opendocument.spreadsheet"
pagination="no-pagination"/>
</extension>
from the runtime jar if you are using the pojo viewer.
Or remove the odp/ods/odt plugins from the plugins folder if you are
using the OSGI runtime.
Or modify the jsp/javascript files in the web content folder to exclude
them.
2 - I am a bit confused here. What server are you using?
3 - Modify the jsp/javascript/css files in the webcontent folder of the
WebViewer.
4 - If your browsers has an SVG viewer you can output your charts as SVG
and use its zoom capabilites. You can also use report parameters to set
the scale of the chart and then using chart interactivity re-run the
report with different parameters.
5 - Sure, you can use the engine api or the genreport shell/bat script
to do this.
Jason
On 5/30/2012 9:35 AM, Dnns . wrote:
> Hi,
>
> I've got some questions regarding BIRT and the BIRT Web Viewer.
>
> 1. Is there any possibility to delete some of the "Export Formats" in
> the Dialog "Erport Report" of the Web Viewer? For example I don't want
> the choice of Open Document Formats.
>
> 2. If I want to Export a Report to the PDF-Format, the output file
> doesn't contain the chart I see in the Web Viewer. Before I used the
> batik-JARs, but they caused problems with some logging-classes, which
> should be loaded twice. Then I tried to use the birt-PDF-jars. I copied
> the following JAR-Files to the lib folder (because on the Server there
> is no plugins-folder, and the batik-JARs were in this folder, too)
>
>
> org.eclipse.birt.report.engine.emitter.pdf.config_2.5.1.v20090917.jar
> org.eclipse.birt.report.engine.emitter.pdf_2.5.1.v20090821.jar
> org.eclipse.birt.chart.device.pdf_2.5.2.v20091022.jar
>
>
> 3. Is there any possibility to customize the look of the Web Viewer?
>
> 4. In some other Tools, which show charts, you can select an area inside
> the chart with your mouse and then the selected area will be shown in
> more detail (Some kind of zooming into the chart). Has BIRT perhaps any
> options to do this, too?
>
> 5. Is it possible only to generate a report (in PDF-Format for example)
> automatically, without showing it in the browser?
>
> Regards Dnns
>
> Sorry, but my first message isn't shown
|
|
| | |
Re: Some Questions [message #880123 is a reply to message #879786] |
Fri, 01 June 2012 09:21   |
Eclipse User |
|
|
|
Hi,
I tried zu do what you mentioned. But it doesn't work like it should.
I tried the "Mouse Click" Event in the Preview, and it worked. then I tried the "Mouse Down" event, and it doesn't work. After this I tried the report in the BIRT Webviewer. Here no event works. Neither thie Mouse Down event nor the Mouse Click event (which works very fine in the Preview). Do you have an idea, why? Is ther perhaps a setting, which deactivates the Mouse events?
I just tried the WebViewer in eclipse. Here the Mouse Click Event works. I also recognized that the event in BIRT Web Viewer (not in eclipse, on the server) should be active, but it seems that the Viewer on server doesn't call the function "ShowEventData();" which is used in your link, or if this function is called, the alert function is not called.
Dnns
[Updated on: Fri, 01 June 2012 09:31] by Moderator
|
|
| | | |
Re: Some Questions [message #884944 is a reply to message #884679] |
Tue, 12 June 2012 02:38   |
Eclipse User |
|
|
|
Hey,
I checked the version, and found out, that in my eclipse, there was BIRT 2.5.x installed. I was a little bit confused, due to the fact that i used the update function in eclipse. So i thought I have the latest version. Now, if i click on the label in your example there appears a message box with the value of the label, i clicked on. I will try to use this for my purpose. Thank you for your help. If I have any further questions, I will write here.
Dnns
Edit: Ok, I tried it. The MouseClick Event works now on Firefox, too. But my Problem is the MouseDown Event. I would think, that MouseDown means that i press the Button, isn't it? Or what do I have to do to emit the MouseDown Event? In my planing I need a posibility to notice when the Mousebutton is pressed.
[Updated on: Wed, 13 June 2012 05:51] by Moderator
|
|
|
Re: Some Questions [message #886231 is a reply to message #884944] |
Thu, 14 June 2012 09:43   |
Eclipse User |
|
|
|
Hey,
I checked the version, and found out, that in my eclipse, there was BIRT 2.5.x installed. I was a little bit confused, due to the fact that i used the update function in eclipse. So i thought I have the latest version. Now, if i click on the label in your example there appears a message box with the value of the label, i clicked on. I will try to use this for my purpose. Thank you for your help. If I have any further questions, I will write here.
Dnns
Edit: Ok, I tried it. The MouseClick Event works now on Firefox, too. But my Problem is the MouseDown Event. I would think, that MouseDown means that i press the Button, isn't it? Or what do I have to do to emit the MouseDown Event? In my planing I need a posibility to notice when the Mousebutton is pressed.
Ooh sorry
[Updated on: Thu, 14 June 2012 09:43] by Moderator
|
|
|
Re: Some Questions [message #886342 is a reply to message #886231] |
Thu, 14 June 2012 14:57   |
Eclipse User |
|
|
|
Great question. The mouse down event only works for SVG charts. Check
you window->preferences->Report Design->Preview options and you will see
a check box for enabling svg charts. On IE this will require an SVG
plugin. I believe FF already has one.
Jason
On 6/14/2012 9:43 AM, Dnns . wrote:
> Hey,
>
> I checked the version, and found out, that in my eclipse, there was BIRT
> 2.5.x installed. I was a little bit confused, due to the fact that i
> used the update function in eclipse. So i thought I have the latest
> version. Now, if i click on the label in your example there appears a
> message box with the value of the label, i clicked on. I will try to use
> this for my purpose. Thank you for your help. If I have any further
> questions, I will write here.
>
> Dnns
>
> Edit: Ok, I tried it. The MouseClick Event works now on Firefox, too.
> But my Problem is the MouseDown Event. I would think, that MouseDown
> means that i press the Button, isn't it? Or what do I have to do to emit
> the MouseDown Event? In my planing I need a posibility to notice when
> the Mousebutton is pressed.
|
|
| | | | | | | | |
Re: Some Questions [message #890048 is a reply to message #889841] |
Wed, 20 June 2012 15:42  |
Eclipse User |
|
|
|
I just wanted to write this here, but I didn't know the jar file. Tomorrow I will check it.
Edit: So the JBoss Version is 4.0, and the classes are located in the serializer.jar (lib/endorsed)
[Updated on: Thu, 21 June 2012 07:46] by Moderator
|
|
|
Goto Forum:
Current Time: Wed Jul 23 00:17:38 EDT 2025
Powered by FUDForum. Page generated in 0.11134 seconds
|