Re: [iText-questions] Build PDF from Scratch with Rich Text

2008-04-23 Thread 1T3XT info
1T3XT info wrote: > Matthew Abercrombie wrote: >> I am new to iText, that's obvious. > > It's also obvious that you are new to the concept 'mailing list'; > DO NOT reply to somebody's personal address, ALWAYS reply to the list. > >> But I did not create the PDF syntax >> listing that I provided

Re: [iText-questions] rename FormFields

2008-04-23 Thread 1T3XT info
Dieter Landolt wrote: > I hope i can get a tip witch helps me a step forward. Instead of error prone meddling with the AcroForm tree structure at the lowest level, I think you'd better 1. read the fields and get the information (coordinates, names,...), 2. flatten the original file (throw away the

Re: [iText-questions] Trouble Embedding dynamic PDF within a specified area of a JSP

2008-04-23 Thread 1T3XT info
Paul Bundick wrote: > I'm having trouble embedding dynamic PDF within a specified area of a JSP > using the tag. I'm not sure if I understood the question, but if you want an HTML page with a PDF objects as well as other HTML content, why don't you try the tag? See for instance: http://itext.uge

[iText-questions] Trouble Embedding dynamic PDF within a specified area of a JSP

2008-04-23 Thread Paul Bundick
I'm having trouble embedding dynamic PDF within a specified area of a JSP using the tag. My JSP code resembles the following: When the JSP loads, this code fires off a request to the controller servlet which uses an action class to build a very basic (at the moment) pdf stream. A snippet of th

[iText-questions] Memory usage vs. performance

2008-04-23 Thread Karol Bryd
Hello I have two questions to iText developers: 1. I am working on improving memory usage and processing speed of my watermarking application and I have noticed that when I use following constructor: result = new PdfReader(new RandomAccessFileOrArray(fileName), null); t

[iText-questions] PdfPTable from Table used in Header/Footer of PDF document

2008-04-23 Thread Lawrence Tsosie
Good day. I'm having trouble with the Table object within the Header/Footer of a document and updating Cells within a table. I prefer using the Table object so that I can produce both RTF and PDF files. The PDF generation is giving me the problem with updating text data. The reason for doing thi

Re: [iText-questions] Submit pdf form outside of pdf?

2008-04-23 Thread m_cannon
Thank you Bruno! The app that we are working on is a intranet app so I only have to support IE6+ and FF2+. Your example works fine in both so I should be ok. The messageHandler is the piece that I was missing. FYI there is a good article on Cross-scripting PDF content that Adobe appears to hav

Re: [iText-questions] RTF and iTextSharp

2008-04-23 Thread Howard Shank
I don't think your code below will ever work.Line 1.. Missing a closing ) at the end of the line to close GetInstanceLine 3 uses lobjDocument2.Open();and on line 3 and 4 you are adding content to lobjDocument and closing lobjDocument.You never opened lobjDocument you opened lobjDocument2!Howard Sha

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-23 Thread Leonard Rosenthol
Bitmap fonts aren't supported by iText and only "off hand" with PDF, using Type 3 fonts (which will require an entire recoding of the bitmap font). Leonard On Apr 22, 2008, at 5:22 PM, GeroChaman wrote: > > ok i've been working for a while with itext and it has helped me a > lot until > no

Re: [iText-questions] Get byte count during pdf generation?

2008-04-23 Thread GAMBELLI Raffaele
Thanks Elmarbut my problem persists, that is, I am able too to extends FileOutputStream and counting bytes after writing them, ok. But now my problem is in RTF, in fact I've noticed that in it, the real bytes are written to stream, after document.close() method, and I'm not understanding why

Re: [iText-questions] Get byte count during pdf generation?

2008-04-23 Thread Schalück , Elmar
>Date: Wed, 23 Apr 2008 10:53:37 +0200 >From: "GAMBELLI Raffaele" <[EMAIL PROTECTED]> >Subject: [iText-questions] Get byte count during pdf generation? >To: >Message-ID: > <[EMAIL PROTECTED]> >Content-Type: text/plain; charset="iso-8859-1" > >Hi all, >is there a way to retrieve bytes co

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of 1T3XT info > Sent: Wednesday, April 23, 2008 7:36 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] create a BaseFont object with > a .FON file > > GeroChaman wr

Re: [iText-questions] Get byte count during pdf generation?

2008-04-23 Thread GAMBELLI Raffaele
Arrrggghhh I thinked to find that method in RtfWriter2 too, but I can't find it. So, my new question: How count bytes in Rtf ? Sorry for the confusion... Thanks Raffaele -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of GAMBELLI Raffaele Sent: mercoledì

Re: [iText-questions] Get byte count during pdf generation?

2008-04-23 Thread GAMBELLI Raffaele
Ok, resovled...I didn't see m_pdfWriter.getCurrentDocumentSize() Regards Raffaele -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of GAMBELLI Raffaele Sent: mercoledì 23 aprile 2008 10.54 To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Get

[iText-questions] Get byte count during pdf generation?

2008-04-23 Thread GAMBELLI Raffaele
Hi all, is there a way to retrieve bytes count while pdf is generated? For example, inside a loop where I add a table to Document, I would like to know how many bytes are written to the stream. I tried getting Channell from FileOutPutStream and asked him for its size, but it says always 0. Any

Re: [iText-questions] rename FormFields

2008-04-23 Thread Dieter Landolt
Hi Thanks for you last answer from 2008-04-16. Sorry a cant't replay to this Thread, so i have to make this new one. You wrote : > You have two problems: > 1. You don't understand section 15.3.1 of the book. > 2. You're talking about a form generated with Designer, > not with Acrobat. > To make a

Re: [iText-questions] PDF trailer /ID

2008-04-23 Thread kan
I cannot use Acrobat, because I'm using the library from my application, say to generate attachment. So, I'm not sure should I attach again or old attachment could be fine. Or if I generate some some documentation from source code and need to decide - should I commit generated file in VCS or not.