Jump to content
We've recently updated our Privacy Statement, available here ×

pratapkumar.martha

Members
  • Posts

    38
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by pratapkumar.martha

  1. 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]

     

  2. 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]

     

  3. 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...

     

  4. 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.

  5. 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,

×
×
  • Create New...