pratapkumar.martha Posted November 6, 2015 Share Posted November 6, 2015 Hi, I created a .rtf file with below content.cell 1lots of text in cell twocell 3When I exported rtf file into jasper report using Markup as rtf ,I got only text (below data)cell 1lots of text in cell twocell 3I am using TIBCO Jaspersoft Studio-6.1.1.final version jasper.How I can get same data(means table ) in report same as showing in rtf ? Thanks in Advance. Link to comment Share on other sites More sharing options...
pratapkumar.martha Posted November 16, 2015 Author Share Posted November 16, 2015 Hi,Still I am facing the same issue. Anyone have any update on this question.Below I am adding JRXML file . Please have a look.<?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 --><!-- 2015-11-16T12:10:05 --><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_RTF" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e4e612e9-7787-4540-a6b9-b2d362a29f32"> <property name="com.jaspersoft.studio.data.sql.tables" value=""/> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="Sample DB"/> <queryString> <![CDATA[select '{rtf1ansideff0trowdclbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrscellx1000clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrscellx2000clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrscellx3000cell 1intblcelllots of text in cell twointblcellcell 3intblcellrow}' rtf_simple from dual]]> </queryString> <field name="RTF_SIMPLE" class="java.lang.String"/> <background> <band splitType="Stretch"/> </background> <detail> <band height="125" splitType="Stretch"> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="110" y="30" width="410" height="30" uuid="43e8a2fb-5db5-4290-8db7-51c93c330f22"/> <textElement markup="rtf"/> <textFieldExpression><![CDATA[$F{RTF_SIMPLE}]]></textFieldExpression> </textField> </band> </detail></jasperReport> Here I added rtf text code into select statement using dual. If I am adding same text into rtf file .I am getting text with border, but when I am adding it into jasper report I am getting text only.Its very urgent . Thanks in advance. 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