Hi Everyone.I have a problem, with text alignment, I want it to be aligned to the right side of the table cell. How I can achieve that ? Is there any way to do it programatically in java ? I've found solution to deal with it by editing XML, but I am not familliar with it.

I'm generating document in my application, and during the creation i want to set alignments in cells, is that possible ? I have found nothing particularly useful about this in "Getting Started " document, or in the links submitted at main page.