Jump to content
JasperReports Library 7.0 is now available ×

Problem: justify the the last paragraph line


Recommended Posts

By: kardec13 - kardec13

Problem: justify the the last paragraph line

2005-08-23 10:44

I'm doing a report wich contains four subreports

and when I try to generate it in PDF format, the last line of almost all pages don't appear justified. And when one record, from de datasource, is larger than one page, sometimes some words or piece of words disappear. Please help me.

 

Thanks

 

Allan Kardec

 

Ps.: I think that one of changes in itext-paulo-126

could help me, but I don't know how to use it.

 

"Changes in itext-paulo-126 (2003-09-29) added ALIGN_JUSTIFIED_ALL to justify the text including the last paragraph line. Use the attribute JustifyAll in XML."

 

 

 

By: C-Box - c-box

RE: Problem: justify the the last paragraph l

2005-08-24 06:35

What JasperReport version do you use!?!?

 

C-Box

 

 

By: kardec13 - kardec13

RE: Problem: justify the the last paragraph line

2005-08-24 08:05

I'm using jasperreports 0.6.7 version.

 

 

By: C-Box - c-box

RE: Problem: justify the the last paragraph l

2005-08-24 08:21

Ok, that's it.... just upgrade to 1.0 ... in 0.6.7 were some bugs concerning SubReports missing records and Teodor changed also the textmeasure-methods and digester (leading spaces). I posted the bug with the missing lines at the end of a page ...so I know your problem quite well! :-))

 

hth

C-Box

 

 

By: kardec13 - kardec13

RE: Problem: justify the the last paragraph line

2005-08-24 12:52

I try to use jasperreports 1.0 but the problem continues. I think that the problem are in iText because it is responsible for generating the PDF. I was looking at source code and I understood that the last paragraph line is not justified because iText understand that the last paragraph line is always the end of a paragraph. What do you think?

 

Thanks

 

Allan Kardec

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