Re: [iText-questions] Blank PDF after it is transfered through SMTP

2010-05-25 Thread Jiangang Song
Thank you for pointing out "shave bytes". In fact, this time it is "inflated bytes". Comparing the pdf file generated directly and the one transferred through SMTP using "content-transfer-encoding: quoted-printable", all 0A is inflated to 0D 0A and all 0D is also inflated to 0D 0A. There is no

Re: [iText-questions] How to set the pdf's name dynamically when using servlet

2010-05-25 Thread 1T3XT info
Zhu, Yunpu wrote: > I wanna decide pdf's name dynamically when I generate the pdf file using > a servlet and Jsp. The pdf is shown in browser. When I click save as, > the pop-up name is different during the different scenario. That's not an iText question. The name of the file is defined in the

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread 1T3XT info
Brandon Kaminsky wrote: > Based on your response, I’m guessing that we’d capture the data from the > form submission and use it to populate a pre-built PDF using itext? Is > that how it would function? Thank you. I think that would be the best future-proof solution. Suppose you create the PDF f

Re: [iText-questions] table in header and page number on footer

2010-05-25 Thread 1T3XT info
Michelle Zhang wrote: > Anybody knows how to do that? > I spent a lot of time on that but could not figure out... > > I know how to create a table but do not know how to put it into the header. You're using onStartPage. That means you didn't read the book. Please take a look at how it's done in t

Re: [iText-questions] Image Speed

2010-05-25 Thread 1T3XT info
Leonard Rosenthol wrote: > Then I would put some debugging code into iText to time how much of the > getInstance() method is spend in actually reading the image from the server > vs. the rest of the machinery in there. That will give you an obvious > indication of whether the bottleneck is iTex

Re: [iText-questions] Blank PDF after it is transfered through SMTP

2010-05-25 Thread 1T3XT info
Jiangang Song wrote: > Thank you for pointing out "shave bytes". > > In fact, this time it is "inflated bytes". Comparing the pdf file > generated directly and the one transferred through SMTP using > "content-transfer-encoding: quoted-printable", all 0A is inflated to 0D > 0A and all 0D is als

Re: [iText-questions] Image Speed

2010-05-25 Thread Leonard Rosenthol
Then I would put some debugging code into iText to time how much of the getInstance() method is spend in actually reading the image from the server vs. the rest of the machinery in there. That will give you an obvious indication of whether the bottleneck is iText or I/O. Once you know that - t

Re: [iText-questions] Image Speed

2010-05-25 Thread 1T3XT info
Jen Debroni wrote: > "Does this point to some other machine? Or a local file on disk somewhere? " > > This URL points to a photo hosted by our photo server - this is the only way > to access these images unfortunately. However, do you think it would help to > compress the image somehow before call

[iText-questions] How to set the pdf's name dynamically when using servlet

2010-05-25 Thread Zhu, Yunpu
I wanna decide pdf's name dynamically when I generate the pdf file using a servlet and Jsp. The pdf is shown in browser. When I click save as, the pop-up name is different during the different scenario. Thanks -- ___

Re: [iText-questions] Image Speed

2010-05-25 Thread Mike Marchywka
> Date: Tue, 25 May 2010 16:39:42 -0700 > From: jdebr...@gmail.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Image Speed > > > "Does this point to some other machine? Or a local file on disk somewhere? " > > This URL

Re: [iText-questions] Image Speed

2010-05-25 Thread Jen Debroni
"Does this point to some other machine? Or a local file on disk somewhere? " This URL points to a photo hosted by our photo server - this is the only way to access these images unfortunately. However, do you think it would help to compress the image somehow before calling image.getInstance()? Cac

Re: [iText-questions] Does iText easily support XSL-Fo, XML and XSL?

2010-05-25 Thread Deshmukh, Swapnil
Thanks for the answers! Referring to answer for question 3 >3. In both the cases explained above, do I have to write my own class > to parse the xml document (internally used by ITextSharp)? I have several projects where I transform XML to HTML using XSLT, once that's done I use HTMLW

Re: [iText-questions] Blank PDF after it is transfered through SMTP

2010-05-25 Thread Mike Marchywka
> From: js...@hotmail.com > To: itext-questions@lists.sourceforge.net > Date: Tue, 25 May 2010 18:37:45 -0400 > Subject: Re: [iText-questions] Blank PDF after it is transfered through SMTP > > > > > > > > > Thank you for pointing out "shave bytes". > > In f

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread Cameron Laird
On Tue, May 25, 2010 at 3:00 PM, Brandon Kaminsky wrote: > I didn’t want to bore the thread with our intended solution but if it > will help set the context that you need to be able to answer to the question > then here you are: > > > > 1.)We are serving a web form to students who may or may not

Re: [iText-questions] Image Speed

2010-05-25 Thread Mike Marchywka
> > > Although I looked through a few different threads, I couldn't find anything > that answered my exact problem (apologies if I missed something). > > I am creating a PDF document that needs to support many images - upwards of > 20 unique images. Generating the PDF takes ~1 second per image (my

Re: [iText-questions] Blank PDF after it is transfered through SMTP

2010-05-25 Thread Jiangang Song
Thank you for pointing out "shave bytes". In fact, this time it is "inflated bytes". Comparing the pdf file generated directly and the one transferred through SMTP using "content-transfer-encoding: quoted-printable", all 0A is inflated to 0D 0A and all 0D is also inflated to 0D 0A. There is no

[iText-questions] Image Speed

2010-05-25 Thread Jen Debroni
Although I looked through a few different threads, I couldn't find anything that answered my exact problem (apologies if I missed something). I am creating a PDF document that needs to support many images - upwards of 20 unique images. Generating the PDF takes ~1 second per image (my testing dete

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread Brandon Kaminsky
I didn't want to bore the thread with our intended solution but if it will help set the context that you need to be able to answer to the question then here you are: 1.)We are serving a web form to students who may or may not have Adobe Acrobat - hence the need for a web-based form. 2.)We need

Re: [iText-questions] Adding empty signatures to a table

2010-05-25 Thread QuietRiot
I figured it out. No thanks to you guys ;) Here is what I have in the recordset loop on my jsp page: PdfPCell cell; PdfFormField nameField = PdfFormField.createSignature(writer); nameField.setWidget(new Rectangle(0, 0, 0, 0), PdfAnnotation.HIGHLIGHT_INVERT); nameField.setFieldName("nameFi

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread wasegraves
We're impressed. Could we see that form? I seriously doubt a web-based form could ever be as precise as a PDF form. After all, any element of a PDF can be positioned on the document far more accurately than any known browser can render it. ;; Bill Segraves

[iText-questions] table in header and page number on footer

2010-05-25 Thread Michelle Zhang
Anybody knows how to do that? I spent a lot of time on that but could not figure out... I know how to create a table but do not know how to put it into the header. Here is my code: create pdf code: _event e = new _event(); pw.PageEvent = e; e.OnStartPage(pw, document); e.

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread 1T3XT BVBA
On 05/25/2010 08:49 PM, Brandon Kaminsky wrote: can you tell me if the pdf creation from web-based forms can also include full-on formatting with images, text, etc. I have no idea what you are talking about. The form we want to convert to pdf on the fly is somewhat involved and precise -- It's

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread Brandon Kaminsky
Thanks - fortunately didn't spend too much time and in the process did learn a few things about itext. I will definitely look to purchase the book but can you tell me if the pdf creation from web-based forms can also include full-on formatting with images, text, etc. The form we want to convert

Re: [iText-questions] iText-questions Digest, Vol 48, Issue 80

2010-05-25 Thread Daniel Essin
Jack, I don't want to disrupt the general flow of the iText discussion but if you are working in .net there are several other strategies for working with RTF, depending on what you actually are trying to do. If this applies and you email a description of your objective, I might be able to sugg

Re: [iText-questions] How to combine pdfs with form fields?

2010-05-25 Thread 1T3XT BVBA
On 05/25/2010 06:27 PM, Qian wrote: > Hi, > I have several PDFs with form fields already built in them, according to the > conditions I need combine some of them or all of together to make a report > set, I successfully merged pdf files together, but the result PDF file does > not have any fields m

[iText-questions] How to combine pdfs with form fields?

2010-05-25 Thread Qian
Hi, I have several PDFs with form fields already built in them, according to the conditions I need combine some of them or all of together to make a report set, I successfully merged pdf files together, but the result PDF file does not have any fields merged? How do I do that? Please help, I t

Re: [iText-questions] iText-questions Digest, Vol 48, Issue 80

2010-05-25 Thread Bruno Lowagie
On 05/25/2010 05:34 PM, Jack wrote: Bruno, Have you noticed that there are no "RTF" files at this sourceforge site? http://sourceforge.net/projects/itextrtf/files/ (At least I don't see any when I click "All Files") ??? That's correct. The source code is only available through the SVN reposi

Re: [iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread 1T3XT BVBA
On 05/25/2010 05:21 PM, Brandon Kaminsky wrote: Hello, Is it possible to use itextpdf to create a PDF from the submission of a web form? Of course: http://itextpdf.com:8180/book/ after searching the mailing list for hours Ouch, I hope those hours weren't too expensive. Buying the book c

Re: [iText-questions] iText-questions Digest, Vol 48, Issue 80

2010-05-25 Thread Jack
Bruno, Have you noticed that there are no "RTF" files at this sourceforge site? http://sourceforge.net/projects/itextrtf/files/ (At least I don't see any when I click "All Files") ??? -- On a slightly different question.Is it the general consensus that RTF is dead or not worth mes

[iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread Brandon Kaminsky
Hello, Is it possible to use itextpdf to create a PDF from the submission of a web form? The content of the PDF would be the webform itself along with the data filled in by the user. It seems that itext would be able to do this but after searching the mailing list for hours I cannot find anyon

[iText-questions] Create a PDF from submission of a web form?

2010-05-25 Thread Brandon Kaminsky
Hello, Is it possible to use itextpdf to create a PDF from the submission of a web form? The content of the PDF would be the webform itself along with the data filled in by the user. It seems that itext would be able to do this but after searching the mailing list for hours I cannot find anyon

Re: [iText-questions] No RTF Support?

2010-05-25 Thread Bruno Lowagie
Jack wrote: > Someone wrote back that I wouldn't get any support on RTF on this list. That's correct. > However, isn't the API the same for the version 2.1.7 except for a few > minor differences? You won't get any support for version 2.1.7 on this free mailing list either. Only the most recent

[iText-questions] No RTF Support?

2010-05-25 Thread Jack
Hello, I wrote a question about handling page events based on using the iText 2.1.7 API. Someone wrote back that I wouldn't get any support on RTF on this list. However, isn't the API the same for the version 2.1.7 except for a few minor differences? Here's my question again. I'd appreciate som

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread Sasibhushana Matcha
Hi Shireesh, I have to disable print option in pdf and I have to give options in pdf both portrait and landscape view. Could u please help me. Thanks & Regards Sasibhushana.Matcha From: Shireesh Anjal [mailto:anjalshire...@gmail.com] Sent: Tuesday, May 25, 2010 1:34 PM To: RKVS Raman Cc: itext-

Re: [iText-questions] Splitting a PDF on the basis of file size

2010-05-25 Thread Klas Lindbäck
There are several approaches to this. It is difficult to get a precise cut-off point, but I assume that an approximate cutoff size is sufficient. I give you three possible ways below. I am assuming that the pdf consists of records. Each record consists of information that need to be kept in the

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread Shireesh Anjal
Hi Raman, We have looked at that as well, and we appreciate the interesting approach you have taken there. However I'm sure there is no denying that a fix/enhancement in iText would be the most elegant and performant solution. That is why we are keen on using the iText patch. If it doesn't work o

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread RKVS Raman
I suggest you have a look at Indic-Jasper http://code.google.com/p/indic-jasper/ Best Regards -Raman --- RKVS Raman http://sites.google.com/site/rkvsraman On Tue, May 25, 2010 at 1:11 PM, Shireesh Anj

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread Shireesh Anjal
Can we get some more information about the problem? Like how to test and simulate it? We would like to see if we can work on it and come up with an acceptable patch. Believe me, this patch will have great impact in the Indian market. A solution to this problem should result in a substantial increa

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread Shireesh Anjal
Hi, Thanks a lot for the quick response. Can you please let us know what kind of issues were those? Thanks and Regards, Shireesh On Tue, May 25, 2010 at 12:07 PM, 1T3XT info wrote: > Shireesh Anjal wrote: > >> Hi, >> >> With reference to the patch mentioned at URL >> https://sourceforge.net/

Re: [iText-questions] Regarding the patch "complex script support - ID: 2739845"

2010-05-25 Thread 1T3XT info
Shireesh Anjal wrote: > Can you please let us know what kind of issues were those? The font metrics and positioning were wrong. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- _