0

Is there any way to align 2 or 3 pictures to right of the page and have a text around it (if the paragraph has space in the right side it should make use of the full length before wrapping to the next line)?

I also need to add to right side a table below the image.

The page should look something like this:

First example:

text text text  ------------
text text text  |   image  |
text text text  ------------
text text text  ------------
text text text  |   image  |
text text text  ------------
text text text text text text

Second example:

text text text  ------------
text text text  |   image  |
text text text  ------------
text text text  ------------
text text text  |   table  |
text text text  ------------
text text text text text text

Thanks for any help!

Alexis Pigeon
  • 7,423
  • 11
  • 39
  • 44
Emanuel
  • 6,622
  • 20
  • 58
  • 78
  • possible duplicate of [Image in between a paragraph Using iText](http://stackoverflow.com/questions/13030250/image-in-between-a-paragraph-using-itext) – Alexis Pigeon Sep 30 '14 at 11:15
  • In my case I need to position the image to the right, and I have to add more than one and a table at the end. – Emanuel Sep 30 '14 at 11:47
  • I think the only way that you're going to be able to accomplish this is to use the second option that Bruno mentioned in @AlexisPigeon's link, irregular columns and `ColumnText`. You'll need to measure the height of the table, [see this post](http://stackoverflow.com/a/7601244/231316) for some code for doing that. – Chris Haas Oct 01 '14 at 13:37

0 Answers0