Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:19:20+00:00 2026-06-10T12:19:20+00:00

I am using Itext for writing pdf file. I am reading a file and

  • 0

I am using Itext for writing pdf file.

I am reading a file and writing its content to a pdf file.

The problem is that when the file have more then one page the resulting pdf only write one page and a lot of text is not being printed.

I use:

ColumnText.addElement(Paragraph)

I guass its happaning beacause the ColumnText is defined in a certain size, but my use of ColumnText is needed for the reason that i am writing the text from right to left and using Hebrew letters, Paragraph dont give support for this (from what i know).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:19:21+00:00Added an answer on June 10, 2026 at 12:19 pm

    When you use ColumnText, you need to provide a mechanism that checks when a new page is needed. This is explained in great detail in chapter 3 of “iText in Action”. See the examples ColumnMovies and MovieColumns: http://itextpdf.com/book/chapter.php?id=3

    An alternative could be using a PdfPTable. PdfPCell also supports RTL writing. You could create a border-less PdfPTable with one column and one row for each paragraph. When you add this table to the Document, new pages will be added automatically (you may want to change the setSplitLate settings to avoid having too much blank space).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using PDF documents for various purposes using iText library. Its like one
Using iText, I am wanting to open a PDF file, add some more pages
I am generating a pdf using itext. So when the content of a page
I have been using ITEXT functions to read simple text from the pdf file
I am getting problem to read pdf files using iText in java. I can
I want to remove a blank page from a PDF generated using the iText
I am outputting images to a PDF file using iText. The images always appear
How to add images and design header, footer to pdf using itext? I have
I am generating pdf using java and itext. When I add image that we
I have a Java desktop application that is using iText to generate PDFs from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.