Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

itext paragraph spacing  RSS feed

 
Chris Voyles
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My goal is to take a report file 133 char wide, 60 lines downloaded from a mainframe, and split it by site, putting the pages for each site into a separate pdf file.

I was able to accomplish this using itext. My only problem is that there appears to be a blank line between each line of text. The result is that every page on the original report has 2 pages in the pdf file. I queried to get spacingBefore and spacingAfter on the paragraph, and they are set at 0.0. Does anyone know if I can adjust the spacing to remove the blank line?



 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!