Re: [iText-questions] out of memory

2009-04-07 Thread 1T3XT info
Rajiv Sabat wrote: > Hi, > > i am using iText2.0.6.jar file. As per my requirement is i need to > create a dynamic PDF of 100 pages. iText has been known to create documents with 100,000 pages. Personally, I'm making documents for Ghent University. Usually these documents have one page per st

Re: [iText-questions] PDF genaration from XML file

2009-04-07 Thread 1T3XT info
Rajiv Sabat wrote: > Can i generate a PDF file dynamically from a well formed XML file? Yes, see: http://1t3xt.be/?X0001e4 > and if i can generate the which parser it will use? That's irrelevant; you can use any parser. > if the XML file is around 6mb then can it generate the PDF or will go >

[iText-questions] out of memory

2009-04-07 Thread Rajiv Sabat
Hi, i am using iText2.0.6.jar file. As per my requirement is i need to create a dynamic PDF of 100 pages. will IText help me to create such a huge PDF dynamically in the web? Earlier i was using BFO, and this is not able to produce such a huge pdf dynamically and went to out of memory. Kindly sug

[iText-questions] PDF genaration from XML file

2009-04-07 Thread Rajiv Sabat
hi. i have couple of questions regarding pdf generation from xml file: i am using itext2.0.6.jar Can i generate a PDF file dynamically from a well formed XML file? and if i can generate the which parser it will use? if the XML file is around 6mb then can it generate the PDF or will go out of memo

Re: [iText-questions] How to draw polygon with curved corners.

2009-04-07 Thread 1T3XT info
ravikanth pratti wrote: > Hi, > I need to draw polygon(size-5) with curved corners.i am planning to draw > with combination of drawLines and drawCurves.But this method tooks more > time to draw required shape. > > is there is any other method to draw polygon with curved corners like > drawRoun

Re: [iText-questions] Allignment problem for Text & Font type.

2009-04-07 Thread 1T3XT info
ravikanth pratti wrote: > Hi, > i have drawn one polygon on top left corner side using graphics2d api. Using standard Java methods. > i > need to display some text in that polygon. There's a standard Java method to do that: drawString(); > i have done using paragraph class.but still am facing

Re: [iText-questions] how to merge in-memory PDFs

2009-04-07 Thread Fabrizio Accatino
Please, provide pdf file (form.pdf). fabrizio On Tue, Apr 7, 2009 at 11:54 AM, Matteo Mazzotti wrote: > Hello all, > I'm using iText (iTextSharp actually, but I know there isn't much > difference) to fill an FDF form of an existing PDF template. The > process is successful. > .. >

Re: [iText-questions] Reg. Unsubscribe from itext Mailing list.

2009-04-07 Thread Bogdan M. Maryniuk
Hi, *please* go to https://lists.sourceforge.net/lists/listinfo/itext-questions and *please* look at the down of the page, thus *please* remove your id yourself. :-) -- bm On Wed, Apr 8, 2009 at 1:12 PM, Uma Gudi wrote: > > Hi, > >          Remove my id from the mailing list. > > Thanks > Uma M

Re: [iText-questions] Antwort: About the performance issue of the iText

2009-04-07 Thread Imgen
Dear Benjamin, I used a profiler to trace the hotspot, and it turned out it's not the output stream, it's the PdfReader. PdfReader uses the RandomAccessFileOrArray to access the file, and PdfStamper.close method eventually calls PRStream.toPdf, and it calls PdfReader.getStreamBytesRaw wh

Re: [iText-questions] Antwort: About the performance issue of the iText

2009-04-07 Thread Imgen
Dear Benjamin, I used a profiler to trace the hotspot, and it turned out it's not the output stream, it's the PdfReader. PdfReader uses the RandomAccessFileOrArray to access the file, and PdfStamper.close method eventually calls PRStream.toPdf, and it calls PdfReader.getStreamBytesRaw wh

[iText-questions] Reg. Unsubscribe from itext Mailing list.

2009-04-07 Thread Uma Gudi
Hi, Remove my id from the mailing list. Thanks Uma Maheswara Rao Gudi Tata Consultancy Services Mailto: uma.g...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions

[iText-questions] Allignment problem for Text & Font type.

2009-04-07 Thread ravikanth pratti
Hi, i have drawn one polygon on top left corner side using graphics2d api.i need to display some text in that polygon.Can you please help me to put some text at specified location? i have done using paragraph class.but still am facing problems . i have installed some specific font(type- opentype

[iText-questions] How to draw polygon with curved corners.

2009-04-07 Thread ravikanth pratti
Hi, I need to draw polygon(size-5) with curved corners.i am planning to draw with combination of drawLines and drawCurves.But this method tooks more time to draw required shape. is there is any other method to draw polygon with curved corners like drawRoundRectangle()? Thanks in advance. Looking

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
1T3XT info wrote: > > shri2010 wrote: >> Leonard, Thanks for your quick & accurate response. >> >> Please clarify me. >> >> 1) I am designing itext form with 3 input fields to collect information >> from >> the user. > > OK, then the PDF needs to be opened in the Adobe Reader browser plug-in.

[iText-questions] patch for complex scripts/indic rendering

2009-04-07 Thread Robert Muir
Hello, I needed the ability to create PDF files in Indic languages such as Hindi. This is working now by altering the way TrueTypeFontUnicode works with FontDetails. For the TTFU case, Instead of converted characters to glyphs on a character-by-character basis, the entire String is converted to a

Re: [iText-questions] Imported Page scaling problem

2009-04-07 Thread 1T3XT info
slon wrote: > I can import a PDF using "PdfWriter.getImportedPage(...)" as a template. > Then i wrap template in Imageand scale it. But unfortunatly it will be > strange scaled: > However size is correct, but in this area imported image is repeated. > How can i do so, that image will be so large a

Re: [iText-questions] How to Shrink Content and Add Margins

2009-04-07 Thread 1T3XT info
JarrodCook wrote: > In some cases a PDF might have a crop box in > place. If this occurs you will be able to resize the media box like normal > and the dimensions of the page rectangle will change and it will seem as > though it resized and you can even put content in the area you just > expanded,

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread 1T3XT info
shri2010 wrote: > Leonard, Thanks for your quick & accurate response. > > Please clarify me. > > 1) I am designing itext form with 3 input fields to collect information from > the user. OK, then the PDF needs to be opened in the Adobe Reader browser plug-in. IT WON'T WORK if the end-user opens t

Re: [iText-questions] Pushbutton submit fails to open in a browser

2009-04-07 Thread Klas Lindbäck
In your servlet, set the response type to PDF with the following code: response.setContentType("application/pdf"); Ämne: [iText-questions] Pushbutton submit fails to open in a browser. Från: shri2010

Re: [iText-questions] How to Shrink Content and Add Margins

2009-04-07 Thread JarrodCook
I know this thread is kind of dead, but i myself have found it very helpful. So first off let me just say thank you for posting this solution I was working on a project that allowed users to select reports to include in their final pacakage and upload pdf attachments and then generated their repo

[iText-questions] Imported Page scaling problem

2009-04-07 Thread slon
I can import a PDF using "PdfWriter.getImportedPage(...)" as a template. Then i wrap template in Imageand scale it. But unfortunatly it will be strange scaled: However size is correct, but in this area imported image is repeated. How can i do so, that image will be so large as this area? P.S. I

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
Leonard, Thanks for your quick & accurate response. Please clarify me. 1) I am designing itext form with 3 input fields to collect information from the user. 2) On click of submit button in the PDF, I want to open browser & show values submitted by the user. Please let me know is this work

Re: [iText-questions] Signing pdf hash with external signature

2009-04-07 Thread Andreas Kuehne
Hi racsor, that's no surprise ! Results will differ if you sign a stream of bytes from the PDF or just the few bytes representing the hash of this stream. I guess signDataDettached() will again do a hashing, so your pre-hashing doesn't do any good ! Greetings Andreas - Original Messag

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread Leonard Rosenthol
Just to add a bit more... Adobe Acrobat CAN accept text/HTML as the result of an HTTP post, since it includes the ability to convert HTML-> PDF (and uses that to convert the returned data for display). Adobe Reader, of course, does not have this ability and thus the messages appear. HOWEVER

Re: [iText-questions] itest help required

2009-04-07 Thread 1T3XT info
Mohamad Al-Qabani wrote: > > Dear Sirs, > > I'm facing a problem when generating a PDF file in which a a single > sentence has both arabic and english text. I've attached 2 small files > for your review. The first file (1.pdf) contains the text as i

Re: [iText-questions] Open PDF at a specific page from Servlet - cache problem

2009-04-07 Thread 1T3XT info
JohnnyB1970 wrote: > Is there a workaround for this using iText ? If you look at the processes on your machine, you'll see that the acrord32 process remains active for a while. If you kill this process, the problem will go away. As nobody can kill processes on your computer just by visiting a

Re: [iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread 1T3XT info
shri2010 wrote: > Hi , > > I am using Itext to generate pdf. I am using below code snippet to submit > myform to servlet hosted locally. > > I am facing two issues. > > 1) On click of submit it shows pop up "cannot handle content type text / > html " Your server returns content in the HTML form

[iText-questions] Open PDF at a specific page from Servlet - cache problem

2009-04-07 Thread JohnnyB1970
Hello, In a j2ee based web application I have a servlet opening a PDF at a specific page using the url parameter : 'myPDF.pdf#page=XX' Things work fine the first time the link is clicked after application startup, but if the pdf is browsed to other pages, the adobe plugin will always open the

[iText-questions] Pushbutton submit fails to open in a browser.

2009-04-07 Thread shri2010
Hi , I am using Itext to generate pdf. I am using below code snippet to submit myform to servlet hosted locally. I am facing two issues. 1) On click of submit it shows pop up "cannot handle content type text / html " 2) It won't shows any error message & won't open browser too. PushbuttonFiel

Re: [iText-questions] how to merge in-memory PDFs

2009-04-07 Thread 1T3XT info
Matteo Mazzotti wrote: > Hello all, > I'm using iText (iTextSharp actually, but I know there isn't much > difference) to fill an FDF form of an existing PDF template. The > process is successful. > Now I want to merge together several PDFs of this kind, which are all > created in memory using Memor

Re: [iText-questions] HTMLWorker: Stylesheet not affecting p elements

2009-04-07 Thread 1T3XT info
Pauli Borodulin wrote: > Is there any reason why not replace the call > > currentParagraph = FactoryProperties.createParagraph(h); > > in the above p tag processing with > > currentParagraph = FactoryProperties.createParagraph(cprops); The major difference I see, is that createParag

[iText-questions] how to merge in-memory PDFs

2009-04-07 Thread Matteo Mazzotti
Hello all, I'm using iText (iTextSharp actually, but I know there isn't much difference) to fill an FDF form of an existing PDF template. The process is successful. Now I want to merge together several PDFs of this kind, which are all created in memory using MemoryStreams. All the examples I found