How can i display image in excel using BIRT
#2
Posted 18 April 2012 - 05:57 AM
#4
Posted 18 April 2012 - 06:05 AM
mwilliams, on 18 April 2012 - 05:57 AM, said:
Hi Jim,
Thanks for the info. I am able to get the image using spudsoft and native excel emitter.
Regards,
Ashish
#5
Posted 18 April 2012 - 06:15 AM
abhijitKol - Are you sure you got the plug-ins for the other two installed correctly, because both of the ones you're saying don't work, definitely support images.
#6
Posted 18 April 2012 - 10:50 AM
mwilliams, on 18 April 2012 - 07:15 AM, said:
abhijitKol - Are you sure you got the plug-ins for the other two installed correctly, because both of the ones you're saying don't work, definitely support images.
mwilliams - Next time someone thanks me I'll get them to pass it on to you to even things out
abhijitKol - If you're still having problems getting images from the SpudSoft emitter please let me know, either here or on BitBucket.
Jim
#7
Posted 19 April 2012 - 01:43 AM
Yaytay, on 18 April 2012 - 10:50 AM, said:
abhijitKol - If you're still having problems getting images from the SpudSoft emitter please let me know, either here or on BitBucket.
Jim
Hi,
I have used the native excel emitter.
I have followed the following steps:
1) Remove the following jars from the eclipse\plugin folder
• org.eclipse.birt.report.engine.emitter.excel.config_2.6.2.r262_v20110127.jar
• org.eclipse.birt.report.engine.emitter.prototype.excel_2.6.2.r262_v20110215.jar
2) Copy org.eclipse.birt.report.engine.emitter.nativexls_1.0.0.201110122114 into eclipse\plugin folder
Now if i click on "View Report as XLS" option from eclipse,then I am able to see the image but when i call the report from a java page then image is not coming.
Could anyone please help me. I need to deliver it to client.
#8
Posted 19 April 2012 - 01:46 AM
abhijitKol, on 19 April 2012 - 01:43 AM, said:
I have used the native excel emitter.
I have followed the following steps:
1) Remove the following jars from the eclipse\plugin folder
• org.eclipse.birt.report.engine.emitter.excel.config_2.6.2.r262_v20110127.jar
• org.eclipse.birt.report.engine.emitter.prototype.excel_2.6.2.r262_v20110215.jar
2) Copy org.eclipse.birt.report.engine.emitter.nativexls_1.0.0.201110122114 into eclipse\plugin folder
Now if i click on "View Report as XLS" option from eclipse,then I am able to see the image but when i call the report from a java page then image is not coming.
Could anyone please help me. I need to deliver it to client.
Hi Jim,
I have tried using SpudSoft emitter also.Buto not able to reproduce it when I call the report file from java environment. Could you please tell me the steps in detail..
I am using Birt 3.7
#9
Posted 19 April 2012 - 04:00 AM
abhijitKol, on 19 April 2012 - 02:46 AM, said:
I have tried using SpudSoft emitter also.Buto not able to reproduce it when I call the report file from java environment. Could you please tell me the steps in detail..
I am using Birt 3.7
Are you able to get to your image using any emitter from your Java application (i.e. try the PDF emitter)?
Are you using the POJO engine (if you are using 3.7.0 or 3.7.1 you have to use the POJO engine, but 3.7.2 has the OSGi engine as an option (which you shouldn't choose unless you've got a good reason to)).
I'm guessing that you don't have a correctly functioning ResourceLocator - getting that right is often neglected when setting up a BIRT engine application.
There are built in ResourceLocators, but if you don't specify one at all you get something pretty useless (if I remember correctly).
If you do have a ResourceLocator, can you check (either by debugging or logging) that it's finding the right image file?
Jim
#10
Posted 19 April 2012 - 08:08 AM
abhijitKol, on 19 April 2012 - 01:46 AM, said:
I have tried using SpudSoft emitter also.Buto not able to reproduce it when I call the report file from java environment. Could you please tell me the steps in detail..
I am using Birt 3.7
I can see the Image if I export it in pdf format.But not in excel.if i click on "View Report as XLS" option from eclipse,then I am able to see the image but when i call the report from a java page then image is not coming.I don't know how to check ResourceLocator/POJO Engine. Could you please mention me the steps.
#11
Posted 19 April 2012 - 08:32 AM
abhijitKol, on 19 April 2012 - 09:08 AM, said:
If it works in PDF then it's probably not the ResourceLocator.
So, another thought: what format is the image in?
Try using a JPG file and see if that works.
From memory (so might be wrong): JPG works in XLS and JPG and PNG work in XLSX.
Jim
#12
Posted 19 April 2012 - 09:02 AM
Yaytay, on 19 April 2012 - 08:32 AM, said:
So, another thought: what format is the image in?
Try using a JPG file and see if that works.
From memory (so might be wrong): JPG works in XLS and JPG and PNG work in XLSX.
Jim
I am using jpeg file.I think JPEG and JPG file are same.
#13
Posted 19 April 2012 - 09:25 AM
abhijitKol, on 19 April 2012 - 09:02 AM, said:
Hi,
When i call the report from a java page,then the image is getting displayed in the BIRT report viewer but if I export it as excel from the BIRT report viewer window, then image is not getting exported in the excel file.
#14
Posted 19 April 2012 - 09:27 AM
abhijitKol, on 19 April 2012 - 10:02 AM, said:
I think so too.
Time to get serious, can you post:
- A simple report that doesn't work for you (it needs to use either a scripted data set or the sample datasource so that I can run it)
- The image that the report references
- The output that you are getting from your Java environment
#16
Posted 29 January 2013 - 10:28 AM
Amanke, on 29 January 2013 - 11:09 AM, said:
Can you post your XLS file?
Or can you say whether you get the warning about file type and extension from Excel when you open the file?
Jim
#18
Posted 30 January 2013 - 02:20 AM
Amanke, on 30 January 2013 - 09:51 AM, said:
Are you able to create a simple report design and output Excel file that demonstrate the problem that you can post for us to take a look at?
What kind of image is it (is it a resource or a chart, and if it's a resource is it embedded or external)?
What file type is the image (jpg, png, etc)?
How are you running the report (in Eclipse or in a report server, and what report server are you using)?
Jim
#19
Posted 30 January 2013 - 02:31 AM
Yaytay, on 30 January 2013 - 02:20 AM, said:
What kind of image is it (is it a resource or a chart, and if it's a resource is it embedded or external)?
What file type is the image (jpg, png, etc)?
How are you running the report (in Eclipse or in a report server, and what report server are you using)?
Jim
Actually I am running report from the Firefox as I have integrated the reports with struts2.0.My file type is png and image is embedded
#20
Posted 14 February 2013 - 11:24 AM
Amanke, on 30 January 2013 - 10:31 AM, said:
Are you able to create a simple report design and output Excel file that demonstrate the problem that you can post for us to take a look at?
Jim







MultiQuote










