yogarajkhanal Posted July 30, 2009 Share Posted July 30, 2009 Hi,I tried newly released DOCX exporter and genenated report.Eeverything went well but i see grid coming in the document.Anything I am doing worng?1)pleaces JR 3.5.3 jar on classpath2)JSF/Jsp <ice:outputResource resource="#{blaCommunicationBackingBean.downloadRtfForBla}" label="Generate Template" styleClass="squarebutton" fileName="ccmtemplateforbla.docx" mimeType="application/docx" /> 3)Backing bean JRDocxExporter exporter = new JRDocxExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos); exporter.exportReport(); Link to comment Share on other sites More sharing options...
yogarajkhanal Posted July 30, 2009 Author Share Posted July 30, 2009 Please find the attached generated DOCX document for reference.Also the corresponding jrxml.Yogaraj Link to comment Share on other sites More sharing options...
yogarajkhanal Posted July 30, 2009 Author Share Posted July 30, 2009 Any one have used JRDocxExporter and faced the issue so far? I am running out of the ideas what might be wrong here? From my side or Jasper Reports side. I am waiting for the feedback. Yogaraj Khanal Link to comment Share on other sites More sharing options...
teodord Posted July 30, 2009 Share Posted July 30, 2009 Hi, The new DOCX exporter is a grid exporter. It arranges everything in a table, just like the HTML or the XLS one do.When we created the RTF exporter years ago, using floating text boxes, not tables, everybody asked us why.Now we expect everybody to ask us why we do tables and not text boxes.:-) The document you attached looks fine. If you don't want to see the grid lines, go to the Layout/Table tab and click View Gridlines toggle button. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
yogarajkhanal Posted September 10, 2009 Author Share Posted September 10, 2009 Teodor,Any ideas for my problem listed below.http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=63599Thanks a lot for your earlier guidance and help.Regards,Yogaraj Link to comment Share on other sites More sharing options...
afser2000 Posted August 4, 2011 Share Posted August 4, 2011 The gird appears when the docx is viewed in MS Word 2003 or earlier. 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