pratapkumar.martha Posted May 6, 2016 Share Posted May 6, 2016 I am using TIBCO Jaspersoft Studio-6.2.0.final.I want to print .wmf image file in word. I am giving Scale Image : Retain shape . When export into word, image is not printing properly.Is there any issue with jasper report image element setting or issue or bug with JasperReports.Please find below my jrxml code.<queryString> <![CDATA[sELECT 1 FROM Dual]]></queryString><field name="1" class="java.math.BigDecimal"/><detail> <band height="391" splitType="Stretch"> <image onErrorType="Blank"> <reportElement positionType="Float" x="20" y="20" width="140" height="130" uuid="ffb33e72-cac1-4e69-ae2a-264b03f7e883"/> <imageExpression><![CDATA["test_image.wmf"]]></imageExpression> </image> </band></detail>[/code] Link to comment Share on other sites More sharing options...
ghudson_1 Posted May 11, 2016 Share Posted May 11, 2016 The layers of JRS performing image related actions are all java, so I suspect you'll have problems with .wmf files which are windows-OS oriented. https://en.wikipedia.org/wiki/Windows_MetafileTo use them, you'll need to convert that image to SVG, or hyperlink to them instead of embedding them in the actual report. Link to comment Share on other sites More sharing options...
pratapkumar.martha Posted June 7, 2016 Author Share Posted June 7, 2016 wmf image printing properly in pdf but not coming in .docx word export. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now