pratapkumar.martha
Members-
Posts
38 -
Joined
-
Last visited
pratapkumar.martha's Achievements
-
DOCX generation problems: Overlapping elements
pratapkumar.martha replied to diegoqueres's topic in Products
You need to set the item Layouts to "Free Layout" and Position Type to "Float". So that all item will flow based on the componet height. -
Scale image issue with .wmf image file in jasper report
pratapkumar.martha replied to pratapkumar.martha's topic in Products
wmf image printing properly in pdf but not coming in .docx word export. -
I am using TIBCO Jaspersoft Studio-6.2.0.final for generating report . I am able to generate report in word (.docx). I added some sample text. In export word sample text shown inside a frame. But when I am trying to update or add any extra text into that report in word, its hiding inside the frame. When I expand that frame, then it showing. How I can generate report in word without any frame like normal word? So that I can add any text, so it will show normally. Below I added jrxml code. <queryString> <![CDATA[sELECT 1 FROM DUal]]></queryString><field name="1" class="java.math.BigDecimal"/><detail> <band height="20" splitType="Stretch"> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement x="0" y="1" width="510" height="19" uuid="68ec5b9f-416e-45d6-b2aa-4d1f31a08250"> <property name="com.jaspersoft.studio.unit.x" value="pixel"/> <property name="com.jaspersoft.studio.unit.y" value="pixel"/> </reportElement> <textElement> <font fontName="Arial" size="11"/> </textElement> <textFieldExpression><![CDATA["This is the sample text for testing.To test in word"]]></textFieldExpression> </textField> </band></detail>[/code]
-
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]
-
How can I generate table of contents ?
pratapkumar.martha replied to pratapkumar.martha's topic in Products
I am able to generate table of content dynamically using report booK template -
I created a .rtf file with below content. cell 1 lots of text in cell two cell 3 When I exported rtf file into jasper report using Markup as rtf ,I got only text (below data) cell 1lots of text in cell twocell 3 I am using TIBCO Jaspersoft Studio-6.1.1.final version jasper. 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 '{rtf1ansideff0 trowd clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx1000 clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx2000 clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx3000 cell 1intblcell lots of text in cell twointblcell cell 3intblcell row }' 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. [updated] Please update...
-
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 '{rtf1ansideff0 trowd clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx1000 clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx2000 clbrdrtbrdrsclbrdrlbrdrsclbrdrbbrdrsclbrdrrbrdrs cellx3000 cell 1intblcell lots of text in cell twointblcell cell 3intblcell row }' 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.
-
Inserting a word document into jasper iReport
pratapkumar.martha replied to Andy.Robertson's topic in Products
Hi, If we are able to docx word document as a source in by using docx4j to parse. Is that posiable if word document content image, table and text ? If yes, can you please guide me how to do by using docx4j . Thanks -
Hi, I created a .rtf file with below content. cell 1 lots of text in cell two cell 3 When I exported rtf file into jasper report using Markup as rtf ,I got only text (below data) cell 1lots of text in cell twocell 3 I 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.
-
Hi, I printing some Image file from share drive which I have the access from my local machine in Jaspersoft. There is no issue while I am running .jrxml file from my local machine. But while deployed .jrxml file in remote Jasperserver, it is asking for permission error is showing. In this case which user need access to share drive ? Thanks in Advance.
-
How to fill a Text Field with RTF content/style
pratapkumar.martha replied to fibrecrm's topic in Products
Hi All, I use below process <textField isStretchWithOverflow="true" isBlankWhenNull="false"> <reportElement x="18" y="12" width="518" height="20" isPrintWhenDetailOverflows="true"/> <textElement markup="rtf"/> <textFieldExpression><![CDATA[$P{parameter1}]]></textFieldExpression> But I got only text, How I can export graphics content (Image, Table) with text ? Thanks,