Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: different result exporting big justify text to pdf Post Reply Post New Topic
Author Message
Ygnacio
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 3
Quote Ygnacio Replybullet Topic: different result exporting big justify text to pdf
     Posted: 30 Jul 2010 at 10:19am
Hi

I have a report in Crystal Report 10.0.0.533, to generate a legal contract.

The report has a big textbox which contains only a paragraph that may grow several pages, according to the db fields and formulas in the textbox.

The textbox is formated with Arial Font, size 11, and Justify alignment.

The report works fine in the preview window, but when it is exported to pdf, then the last line of the page lost the Justify format. For example:

pag1 last 3 lines:

xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxx

pag2 first 3 lines

xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx

Can this situation be solved?

thanks in advance for any ideas.



Edited by Ygnacio - 30 Jul 2010 at 10:20am
IP IP Logged
ntang
Newbie
Newbie
Avatar

Joined: 28 Sep 2010
Location: Canada
Online Status: Offline
Posts: 2
Quote ntang Replybullet Posted: 28 Sep 2010 at 9:17am
Hi Ygnacio,
I get the same problem. Have you figured out how to fix it or found a work around for it?
IP IP Logged
Ygnacio
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 3
Quote Ygnacio Replybullet Posted: 29 Sep 2010 at 4:21am
Hi, I couldn't find a direct solution in crystal.

The problem is in the way that crystal export the text. You can see for yourself by exporting to Word. I think the same process happen when you export to PDF: Crystal put every page in a frame, therefore in the final line the justify align is lost because Crystal see it like an end of paragraph. That would be correct for text in one page, but not for text spanning more than one page.

The solution is to use a Pdf printer like DoPdf or PrimoPDF. Then you have to tell to crystal to use this printer and you will have the same formatĀ  that you see in the crystal preview with the justify align correctly included in all pages
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum