[iText-questions] Merry Christmas all

2006-12-22 Thread David Thielen
- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/

Re: [iText-questions] Problem with PdfPCell and addElement

2006-12-22 Thread Bruno Lowagie
GAMBELLI Raffaele wrote: > I believe that a PdfPCell cannot accept directly a Paragraph as Element...in > fact if you see its constructors you will notice that there isn't a > constructor which takes a Parapgraph as arguments... That's not the problem. Paragraph extends Phrase; the Paragraph wil

Re: [iText-questions] Text File conversion in-memory through Servlets

2006-12-22 Thread Bruno Lowagie
Paulo Soares wrote: > Our sale reps are ready to take your call. But we don't accept collect calls ;-) *LOL* No honestly, anyone that does a minimum of research on iText knows that iText is Free / Open Source Software and that we don't sell anything and don't have a Sales/Customer Rep. As for t

Re: [iText-questions] Text File conversion in-memory through Servlets

2006-12-22 Thread Paulo Soares
iText can do all that you need to do. Our sale reps are ready to take your call. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, December 22, 2006 4:56 PM Subject: [iText-questions] Text File conversion in-memory throu

Re: [iText-questions] Text File conversion in-memory through Servlets

2006-12-22 Thread Bill Ensley
iText is definetely capable of outputing such files to a browser, you however need to "read" the .txt file and decide how it should be rendered. -Bill Ensley Bear Printing _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 22, 2006

[iText-questions] Text File conversion in-memory through Servlets

2006-12-22 Thread rm22
Dear Sales/Customer Rep, We have '.txt' files which are imported into AIX/Solaris directories on daily basis. Earlier, we were using 'C' source library (obtained from www.fastio.com) embedded into our CGI application code and it was generating, using these .txt files as input and outputting PD

Re: [iText-questions] Problem with PdfPCell and addElement

2006-12-22 Thread GAMBELLI Raffaele
I believe that a PdfPCell cannot accept directly a Paragraph as Element...in fact if you see its constructors you will notice that there isn't a constructor which takes a Parapgraph as arguments... Try using a Chunck: PdfPCell pdfPCell = new PdfPCell(new Phrase(chunk)); A paragraph can be compo

[iText-questions] Problem with PdfPCell and addElement

2006-12-22 Thread Eric Summkeller
I would like to create a header. For this I create a PdfPTable with one PdfPCell and add some Pararaphs into the PdfPCell with the addElement method. My Problem is that the Document is empty. Any ideas? Code: Rectangle page = document.getPageSize(); PdfPTable table = new PdfPTable(1); PdfPCell

Re: [iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Bruno Lowagie (iText)
Sawant, Ramdas (IT) wrote: > Sorry Bruno, but can you list down the steps again. FIRST 1. create a PdfReader reader1 with the original document and select all pages lower than or equal to the page that needs duplication (use selectPages). 2. create a PdfReader reader2 with the original do

Re: [iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Sawant, Ramdas (IT)
Sorry Bruno, but can you list down the steps again. I am totally confused :( Didn't get you (u talking about possibility first or second). Please bear with me... Waiting for your reply. Thanks Regards, Ramdas Sawant Associate

Re: [iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Bruno Lowagie (iText)
Sawant, Ramdas (IT) wrote: > Thanks Bruno for the instant reply. Regarding possibility second. How to > use PdfCopyFields to stitch pages from both readers. I want to insert > the page in between the original pdf (not append it at last). OK, I was in a hurry. Replace step 4 like this: 4a. create

Re: [iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Sawant, Ramdas (IT)
Thanks Bruno for the instant reply. Regarding possibility second. How to use PdfCopyFields to stitch pages from both readers. I want to insert the page in between the original pdf (not append it at last). addDocument() method of PdfCopyFields helps to keep only selected pages from the pdf(correct m

Re: [iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Bruno Lowagie (iText)
Ramdas Sawant wrote: > Can any one suggest how can do this. There are two ways to do it. POSSIBILITY 1 1. create a PdfReader object 2. create a PdfStamper object 3. insert a page 4 a. read the page you want to replicate 4 b. read the fields you want to replicate 5. recreate fields with the same

[iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Ramdas Sawant
Hi all, I have a pdf containing text fields. While filling the data in the pdf, I want to replicate a particular page on certain condition. Can any one suggest how can do this. Following is the requirement 1.identify the page to replicate. E.g page no 10. 2.create the duplicate of t

[iText-questions] IText cyrillic table of contents (TOC) in RTF format problem

2006-12-22 Thread Nenko Ivanov
Hi all, I have problem when I generate Table of Contents for RTF Document, and when the text is with Cyrillic characters. The text I get looks like this B1CfC8D1DaCa CdC0 D3D7C0D1D2CdC8D6C8D2C5... 1 <#_Toc152578037> Can anyo

[iText-questions] Replicate a page containing form fields in PDF using itext lib

2006-12-22 Thread Sawant, Ramdas (IT)
Please note that while replying/answering to this mail make sure [EMAIL PROTECTED] is in the address bar. :-) Hi all, I have a pdf containing text fields. While filling the data in the pdf, I want to replicate a particular page on certain condition. Can any one sugg

Re: [iText-questions] PdfPTable tableToPdfPTable(Table table)

2006-12-22 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > Thank you, > > but is there an official list of the elements not supported by PdfPTable? It's explained in the book (chapter 6). > I imagine the isConvert2pdfptable() tells if a Table can be converted or not > before doing the real conversion? No, it just returns the

Re: [iText-questions] PdfPTable tableToPdfPTable(Table table)

2006-12-22 Thread Bruno Lowagie (iText)
GAMBELLI Raffaele wrote: > I'm continuing to receive the > com.lowagie.text.BadElementException: No error, just an old style table OK, I finally found the time to test this. I have written this functionality a long time ago. As it turns out, you need to set the convert2pdfptable parameter first:

Re: [iText-questions] Is there any way to protect PDF print for second time?

2006-12-22 Thread Bruno Lowagie (iText)
nahid mahbub wrote: > Hello, > For business requirement I need to protect PDF print for second time. > Is it possible? Not with Adobe Acrobat, not with iText. > I need to print money receipt which should not print second time. > I need to lock my PDF file also so that none can change the money am