Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
MS Word report
manoj.raghavendra
<p>Hi all,</p><p> </p><p>I am trying to create a MS word document/report with images, from a XML data source with png, and I keep encountering error.</p><p> </p><p>But if I use the same XML without image content, then MS Word document is generated nicely.
So I have two queries/issues -
1. Can we generate the MS Word document, using the BIRT 4.3 or BIRT 4.2, from XML, which has got png/jpg content ?
2. The MS Word document generated without image content always opens in Web Layout, but not in Print Layout. How to resolve this issue ?
will really appreciate your responses,
thanks a lot</p><p>Manoj</p>
Find more posts tagged with
Comments
kclark
<p>1. Doing a quick test using both the word and DOCX emitters in 4.3.2 with a sample PNG image it seems to export fine.</p><p> </p><p>2. You're wanting to export to word and have it auto opened in Words print layout, correct? I don't know of a way to do that off the top of my head but there might be a way to add a flag to the docx emitter to force word to open in the print layout.</p><p> </p><p>Let me know if this helps, I'll let you know if I come across a way to open a report in the print layout.</p>
manoj.raghavendra
<p>thanks a lot <span style="font-size:14px;">Kristopher, I was really waiting for the reply...</span></p><p><span style="font-size:14px;">I really appreciate the help..</span></p><p> </p><p>I am trying out with Birt 4.3.1</p><p> </p><p>and for the Print Layout I will try it out as suggested by you.</p><p>will update you too.</p><p> </p><p>thanks again</p>
manoj.raghavendra
<p>Hi <span style="font-size:14px;">Kristopher, </span></p><p> </p><p><span style="font-size:14px;">Can you please share the Java code where the image file (as byte array) is added to the MS-Word document bytearray ?</span>
</p><p>thanks a lot</p>