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.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-------------------------------------------------------
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