Phrase containing Chunks/Phrase with multiple Run Directio 2007-12-04 - By Paulo Soares
I think that what you require are different alignments in the same line.
It's possible to achieve that with a PdfPTable with two columns without
borders, one left aligned and the other right aligned, both with no wrap
> -- --Original Message-- --
> From: itext-questions-bounces@(protected)
> [mailto:itext-questions-bounces@(protected)] On
> Behalf Of dayvidpow
> Sent: Monday, December 03, 2007 6:31 PM
> To: itext-questions@(protected)
> Subject: [iText-questions] Phrase containing Chunks/Phrase
> with multiple Run Directions
> Currently, in iText I can create a new Phrase object with a
> main font and
> then within the Phrase I can have additional Chunks or Phrases with
> different fonts. Therefore, likewise would it be possible to create a
> Phrase with a main run direction and then add additional
> Chunks or Phrases
> to it with different run directions ?
> I know that iText does not currently support thism, but I am
> just looking at
> how i can possibly extend the Phrase class to meet a special
> need, Which is
> to output some text in left-to-right and right-to-left
> language on the same
> line using ColumnText.go() method, instead of
> (which requires absolute positioning).
> Can the Phrase class be extended in this way ?
Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa?
?o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem
n?o significa a perca de confidencialidade. Se esta mensagem for recebida por
engano, por favor envie-a de volta para o remetente e apague-a do seu sistema
de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar,
revelar ou distribuir qualquer parte desta mensagem.
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
iText-questions mailing list
Buy the iText book: http://itext.ugent.be/itext-in-action/