Marc-Christian Schröer - Klute-Thiemann Informationstechnologie GmbH & Co. KG 
schrieb:

> Hello all,

Hello to myself and the list,

> Though I explicitly set word wrap to true when adding cells, the content
> of the second column is never wrapped at all resulting in very ugly
> rows if the text is too long to fit the cell.

after some digging and hours of trial and error I found out the problem
was not in iText at all, but me adding text to the PdfContentByte while
a ColumnText object had already been added. Not using saveState() and
restoreState() this resulted a strange behavior.

The problem is fixed now and I really learned a lot about iText - even
if it was the hard way.

Kind regards,
   Marc


-- 
________________________________________________________________________

  Dipl.-Inform. Marc-Christian Schröer       mailto:[EMAIL PROTECTED]
  Geschäftsführer / CEO
  ----------------------------------------------------------------------
  Klute-Thiemann
  Informationstechnologie GmbH & Co. KG           Tel. +49.231.9742.6600
  Emil-Figge-Strasse 76-80                        Fax. +49.231.9742.6601
  D-44227 Dortmund                          http://www.klute-thiemann.de

  Registergericht: Amtsgericht Dortmund, HRA 13 914
  Gesellschafter : Thomas Klute, Marc-Christian Schröer
________________________________________________________________________

Diese Nachricht ist vertraulich.  Sie ist ausschliesslich  fuer  den im
Adressfeld  ausgewiesenen  Adressaten bestimmt.  Sollten Sie  nicht der
vorgesehene  Empfaenger  sein,  so bitten wir  um eine kurze Nachricht.
Jede   unbefugte   Weiterleitung   oder  Fertigung   einer  Kopie   ist
unzulaessig. Wenn Sie diese Nachricht fälschlicherweise  erhalten haben
informieren Sie uns bitte unverzüglich  indem Sie die Originalnachricht
an den Absender zurücksenden.

The   information  contained  in   this  e-mail  is  intended  for  the
named recipient(s)  only.  It may contain  privileged and  confidential
information, and if you are not the addressee or the person responsible
for delivering this  to  the  addressee, you  may  not copy, distribute
or take action in reliance on it. If you  have received  this e-mail in
error, please  notify us immediately by  returning the original message
to the sender by e-mail.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
  • ... Marc-Christian Schröer - Klute-Thiemann Informationstechnologie GmbH & Co. KG
    • ... Marc-Christian Schröer - Klute-Thiemann Informationstechnologie GmbH & Co. KG

Reply via email to