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

The different of "\r\n" and "\n" in report


Recommended Posts

By: tissues tempro - tissues

The different of "rn" and "n" in report

2002-11-05 23:03

<textFieldExpression class="java.lang.String">

"This is the first line.rnThis is the secound line."

</textFieldExpression>

-----------------------------------------------------------------------

 

For above example, the result will be

============================

This is the first line.

 

This is the second line.

============================

 

There is a space line between them which is not what i want. Will there any setting can be done to skip the space line.

 

 

Furthermore, I found that the space line can be skip on following case.

<textFieldExpression class="java.lang.String">

"This is the first line.nThis is the secound line."

</textFieldExpression>

 

The "rn" is stored on the database field, should i write java function to chop the "r" char on every XML report?

 

Many thanks to you advice.

 

Regards,

Tissues

 

 

By: Paulo Soares - psoares33

RE: The different of "rn" and "n" in report

2002-11-06 09:07

That bug was fixed in iText 0.93.

 

 

By: tissues tempro - tissues

RE: The different of "rn" and "n" in report

2002-11-07 06:35

Done! Thanks a lot.

Link to comment
Share on other sites

  • Replies 0
  • 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...