Hi

1) I am using  iText.jar in my project.

I don't know which version it is.Is there any way to find which version of
iText.jar is using Please Let me know.




2 ) This project is printing the pdf file that contain many pages range from 5
-20.

Here I am using  LANDSCAPE and  PROTRAT both page types.


 In  3rd  page  I am using PROTRAT. when it comes to 4 page it has to display
in LANDSCAPE.   

Actual Problem is.
 It is not printing correctly sometimes in page 4.

i.e    The Number of lines in  the  last paragraph is 5 lines in page 3. Then
it is not printing correctly.

Other than it is printing fine.

Can You Please advice me what was the actual problem and what has to modify.

Please find the attachment in which the probem has been shown.




I have changed the code


if (strIndicator != null && strIndicator.equals("R"))//Dont print the Header
as it is already printed in a diff loop
                    {
                                                
                        strParaText =
ServiceContractUtil.replaceString(strParaText,
ServiceContractConstants.NEW_LINE_FORWARD, ServiceContractConstants.NEW_LINE);
                        strParaText =
ServiceContractUtil.replaceString(strParaText,
ServiceContractConstants.TAB_FORWARD, ServiceContractConstants.TAB);
                        Phrase phraseParatext1 = getTokenized(strParaText,
strHash, "TIMES_NEW_ROMAN11");

               para = new Paragraph(phraseParatext1);
                                                
                        //para.setLeading(14)
                        //Line modified by Surya on 28 May 2005 for corrupt
pdf fix
                // para.setLeading(14.5f);

                        para.setLeading(14);
                        document.add(para);
                        strParaText = "";
                        flagNewPage = "NEWPAGE";//this is a flag which gets a
new page only when its not landscape and 6.1
                        /***
                        }




when i changed from     para.setLeading(14.5f)  to para.setLeading(14)   then
it is working fine.


Insted of changing this length each time  is there any perminent solution to
solve this problem.


Please mail me with possible solution.


I have used the latest version of   iText.jar also then it is giving some of
the Fonts are not in new version.

I have used the latest version of jdk1.4 then no use.



In my application I am using jdk.1.3





Regards
P.Surya Prakash Rao
SC-SUPPORT
P&O Nedlloyd
Pune.















------------------------------------------------------------------------------
The contents of this e-mail are confidential to the ordinary user of the
e-mail address to which it was addressed and may also be privileged. If you
are not the addressee of this e-mail you should not copy, forward, disclose or
otherwise use it or any part of it in any form whatsoever. If you have
received this e-mail in error please notify us by telephone or e-mail the
sender by replying to this message, and then delete the e-mail and other
copies of it from your computer system. Thank you.

We believe this email to be virus free but do not warrant that this is the
case and we will not accept liability for any losses arising from any virus
being transmitted unintentionally by us.

We reserve the right to monitor all E-mail communications through our network


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to