• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with RTF Document generation using IText  RSS feed

Anirvan Majumdar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am writing to you with regards the creation of tables in an RTF document using IText. We need to create a table in an RTF document; however, we also need to set the widths of the cells. The RTFCell class does contain the methods for setting the widths of the cell but these methods are protected. So we have written a wrapper class for accessing that functions. The setCellWidth Function takes an integer as input and when we try to use that function nothing is getting reflected in the output. When we tried to get the cell width using getCellWidth function some 6 digit numbers are returned.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!