Jump to content
Changes to the Jaspersoft community edition download ×

Output Text file has extra blank lines.


vinay63

Recommended Posts

I am posting my detail Section, which has only 1 field. When an output file is created every line has an extra blank line... The content of field 'tranLine' are shorter than the width. 

    <detail>
        <band height="20" isSplitAllowed="false">
            <textField isBlankWhenNull="true">
                <reportElement x="0" y="0" width="1250" height="20" isRemoveLineWhenBlank="true"/>
                <textElement>
                    <font size="14"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{tranLine}]]></textFieldExpression>
            </textField>
        </band>
    </detail>
Here is my output... 

TEST171018TESTTEST000300      TXT DATA      USD           1,000,000.00     RXMXRXS - ,20171024:00590                              
                                                                                                                                  
TEXT171020TEXTTEXT002700      TXT DATA      USD              20,000.00     RXMXRXS - ,20171024:00470                              
 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...