groberts2001 Posted December 5, 2011 Share Posted December 5, 2011 Hi,I need to print a long letter, filling in some names and other details from the database. Its working fine but the client then needs to edit the resulting Word Document.It looks like all Jasper generated content goes into a table and this has proved difficult for them to edit. For instance, the contents of TextFields go into table cells outside the normal flow of the document, so adding content to the cell pushes existing content out of view.Is there a way to just send text to the document without wrapping it in a table ?Thanks,Guy.Code:<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="test" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <queryString language="xPath"> <![CDATA[]]> </queryString> <field name="para1" class="java.lang.String"> <fieldDescription><![CDATA[/study/para1]]></fieldDescription> </field> <field name="para2" class="java.lang.String"> <fieldDescription><![CDATA[/study/para2]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <detail> <band height="532" splitType="Stretch"> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" x="5" y="57" width="532" height="104"/> <textElement/> <textFieldExpression><![CDATA[$F{para1}]]></textFieldExpression> </textField> </band> </detail> <summary> <band splitType="Stretch"/> </summary></jasperReport> Link to comment Share on other sites More sharing options...
dreis Posted November 26, 2012 Share Posted November 26, 2012 Did anyone ever find an answer to this issue? I am having the same problem. I generate reports that the client wants to be able to edit in Word and the table formatting makes it very difficult to edit. Is there an option to generate text areas instead of tables in the Word Exporter?Thanks.-Deb Link to comment Share on other sites More sharing options...
foodmore738 Posted August 28, 2013 Share Posted August 28, 2013 for me, i have been generating reports by using a third party tool, so after making, i edit it easily in the word, annotate crop delete convert. here are two links you can refer to . http://www.rasteredge.com/how-to/csharp-imaging/word-processing/ http://www.rasteredge.com/how-to/csharp-imaging/word-creating/ sorry if i can't be more helpful. Link to comment Share on other sites More sharing options...
natalynanda Posted February 12, 2015 Share Posted February 12, 2015 Hi to all, I have the same problem I'm using Jaspersoft iReport Designer 5.0.0 , I need edit the word file after export, but the tables cannot permit to me easily, exist some for generate the document without tables? Link to comment Share on other sites More sharing options...
arjunsinggogineni Posted December 11, 2019 Share Posted December 11, 2019 Hi all, I have the same problem I'm using Jaspersoft iReport Designer 5.6.0, I need to edit the word file after export, but the tables or text boxes cannot permit to me easily, exist some for generating the document without tables?I was wondering whether there's any way of exporting the text to a word type document that enables a subsequent user to easily edit the text etc. 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