[iText-questions] Unable to add Paragraph after adding PdfAnnotation to the document.

2010-08-21 Thread Denys Hryvastov
Hello - I faced with such am interesting issue: I have added PdfAnnotation to my Document. I need this for embedding Fusion Chart graph into my pdf file. The code that I use is: //-- Document document = new Document(); PdfWriter writer = PdfWriter.getInstanc

Re: [iText-questions] how we can set the entire colum background color?

2010-08-21 Thread 1T3XT info
On 16/08/2010 15:09, kalyanmsc wrote: > > Hi i create a colum by using the > > PdfContentByte cb = writer.getDirectContent(); > ColumnText ct = new ColumnText(cb); > ct.setRunDirection(1); > ct.setAlignment(Element.ALIGN_JUSTIFIED); > ct.setLeading(0, 1.5f); > ct.setSimpleColumn(document.left(), 0,

Re: [iText-questions] how to get control list as on pdf

2010-08-21 Thread 1T3XT info
On 16/08/2010 15:53, hemendra rathore wrote: > I'm taking the time to answer last week's questions that remained unanswered, but, like everybody else on the list, I have no clue what is meant with "how to get control list as on pdf". What is meant with "control list"??? -- This answer is provi

Re: [iText-questions] Pdf page scaling viewer preference does not work

2010-08-21 Thread 1T3XT info
On 20/08/2010 0:03, Lana Slisenko wrote: > Please help. I can not get the following line of code to work: > writer.setViewerPreferences(PdfWriter.PrintScalingNone); Read the book, try: writer.addViewerPreference(PdfName.PRINTSCALING, PdfName.NONE); > When the pdf file is generated and I select Fi

Re: [iText-questions] issue with hidden field

2010-08-21 Thread 1T3XT info
On 20/08/2010 6:23, thangam mani wrote: > a. Use the form created by Acrobat Pro and add a hidden field in that > form using *ITEXT* Doable. You could add an invisible Text field. > b. Invoke a script on opening the PDF which should validate the hidden > field value with a hardcoded value, if val

Re: [iText-questions] PdfPTable issue in iText

2010-08-21 Thread 1T3XT info
On 19/08/2010 23:01, Dony Thomas wrote: > Hi > > I want to create 2 tables side by side. Therefore, I first created 2 > tables and then created a third table with 2 cells. Or you could use ColumnText to add the 2 tables side by side. Then you don't have to use a third table. (See the last example

Re: [iText-questions] About the error "PDF header signature not found" while trying to open PdfReader with existing stream

2010-08-21 Thread 1T3XT info
On 20/08/2010 16:50, leparachute wrote: > Hi, > > Using the last iTextSharp library (5.0.2), I have an issue and didn’t > find on the web how to manage with this. > > What I want to do : > > - Create a pdf based on HTML That's possible, but there are other tools (some of them using iText) that are

Re: [iText-questions] Unable to add Paragraph after addingPdfAnnotation to the document.

2010-08-21 Thread 1T3XT info
On 20/08/2010 18:20, dhryvastov wrote: > > Could you please tell me, how can I attach the file? I do not see such a > possibility. You are posting the question to a mailing list using a mail client. Surely you know how to add an attachment to a mail? > I also think that this Paragraph that I try