Re: [iText-questions] onParagraph event in ColumnTest.composite mode

2011-01-14 Thread Nurettin DAG
I believe onParagraph is only triggered when content is added via document.add(). You can dig deeper to find out. As a workaround, you can try wrapping your paragraph in a table which allows you to set background color and border on. Good luck Nurettin On Fri, Jan 14, 2011 at 10:31 AM, bluepin w

[iText-questions] onParagraph event in ColumnTest.composite mode

2011-01-14 Thread bluepin
Hi, [ itext 2.1.7 ], Objective: add background color or border to paragraphs added through ColumnText.addElement it seems that no onParagraph event is triggered in ColumnText.composite mode. I also doubt it in text mode(well, text mode is not an option). How could I reach my objective? Would be

Re: [iText-questions] Problem in setting up height

2011-01-14 Thread Nurettin DAG
The only way to avoid content overflowing is that you reserve enough space in the header for the content. For image you might scale it any width and height using methods defined on itext Image object, pretty straightforward! Doing the work onStart or onEnd does not make any difference in terms of

Re: [iText-questions] Saving PDF file generated by Servlet with a different name.

2011-01-14 Thread Nurettin DAG
This seems to create the temp file on the server. Whereas the file name issue we were trying to solve occurs on the client side. I would be surprised if this works but am curious to know if it does. Nurettin On Thu, Jan 13, 2011 at 10:55 AM, Ed M wrote: > > If you are using a FileOutputStream

[iText-questions] Quotes around keywords

2011-01-14 Thread Brian Linsner
Hi, I am using vb.net with itextsharp to insert metadata into PDFs. It is working well but when I insert keywords the resulting PDF has quotes around the keywords. Am I doing something wrong? Is there anyway to remove the quotes? Here is the code: Imports System.IO Imports iTextSharp.text Impor