This content has been marked as final.
Show 3 replies
-
1. Re: PDF generation : horizontalAlignment does not work
gvmanjunatha Feb 1, 2008 2:16 PM (in response to matt_lc)"matt_lc" wrote:
Hi,
I try to format a table in a PDF export. The problem is that the alignment parameters are not applied when the table become a bit complex...
here is a sample of code that doesn't work :
!
I had the same problem, and I found a work around,
<p:cell horizontalAlignment="right">
<p:font ...>
<p:paragraph>
<p:text value="Your value goes here" />
</p:paragraph>
</p:font>
</p:cell> -
2. Re: PDF generation : horizontalAlignment does not work
norman.richards Feb 1, 2008 2:29 PM (in response to matt_lc)Yes, you'll often find that iText works better when your text is organized into paragraphs.
-
3. Re: PDF generation : horizontalAlignment does not work
matt_lc Feb 5, 2008 2:56 PM (in response to matt_lc)Right ! it works fine now.
thanks a lot!!