[iText-questions] Converting Jpegs to Pdf.

2008-04-07 Thread Tabish Sarwar
Hi, I have a few jpegs images that i need to convert into single pdf file . e.g: 1.jpg ,2.jpg this will form a pdf document with 2 pages. Any pointers will be highly appreciated. Regards, Tabish -- Muhammad Tabish Sarwar Sr.Software Engineer Systems Limited, Karachi E-5, Central Commercial Area

[iText-questions] Carriage return is converted to ? character

2008-04-07 Thread Tri M. Phan
Hello, I just converted from iText 1.3.3 to 2.1.0 and came across the following problem. I'm collecting text data from users, some data are entered through a HTML text area and includes carriage returns entered by the user (i.e., an enter key is performed between 2 paraphraphs). When the RTF do

Re: [iText-questions] moving AcroFields to a new page in PDF doc

2008-04-07 Thread Leonard Rosenthol
On Apr 7, 2008, at 7:36 PM, pickm wrote: > Can you point me to a good source to understand the PDF format, Adobe PDF Reference is available from . > and possibly give me an example of what you mean? Do you mean that > no methods currently > exist to

Re: [iText-questions] moving AcroFields to a new page in PDF doc

2008-04-07 Thread pickm
Leonard, Can you point me to a good source to understand the PDF format, and possibly give me an example of what you mean? Do you mean that no methods currently exist to do what I want? Or do you mean that I would have to use a combination of existing methods to get the job done? This is my

Re: [iText-questions] Vertical text question

2008-04-07 Thread Sorin Marti
Hi Bruno, That helps me a lot I think. I'll give it try. thanks! best regards Sorin - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday,

Re: [iText-questions] Reuse Stamper?

2008-04-07 Thread Paulo Soares
Don't use PRAcroForm, ever. Get the acroform through the catalog and remember that the acroform may not exist. Paulo - Original Message - From: "Tobias Meier" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Monday, April 07, 2008 7:23 PM Subject: Re: [iText-qu

[iText-questions] Filling forms in a government generated file with owner password using itext 2.0.3+

2008-04-07 Thread Haroon Rafique
Hi there, We are very happy users of itext 1.4.8. Our usage is as follows. We take this Government of Canada generated fillable PDF: http://www.cra-arc.gc.ca/E/pbg/tf/t2202a_flat/README.html and then we use the fillable PDF via PdfStamper to fill some AcroFields and then flatten it and present i

Re: [iText-questions] Adobe reader dll's

2008-04-07 Thread Paulo Soares
You may have a server that only allows medium trust assemblies. Paulo - Original Message - From: "skcsknathan001" <[EMAIL PROTECTED]> To: Sent: Monday, April 07, 2008 6:16 PM Subject: Re: [iText-questions] Adobe reader dll's > > I have a very similar problem. > > I'm using itextsharp

Re: [iText-questions] Adobe reader dll's

2008-04-07 Thread skcsknathan001
I have a very similar problem. I'm using itextsharp 4.0.8 I have used it to generate PDF file locally on my machine and it works. I uploaded to the web server and it doesn't work. I generate PDF file in MemoryStream and do OutputStream to browser, for the user to save the file. Locally it a

[iText-questions] broken links on www.1t3xt.com/about/history.php

2008-04-07 Thread Haroon Rafique
Hi there, I was browsing: http://www.1t3xt.com/about/history.php and I noticed a few broken links. acknowledgments links to: http://www.1t3xt.com/about/acknowledgments.php It should instead link to: http://www.1t3xt.com/about/acknowledgments/index.php policy links to: http://www.1t3xt.com/about/

Re: [iText-questions] Reuse Stamper?

2008-04-07 Thread Tobias Meier
I debbuged through the code and it seems that the 'removeField' method removes the Field itself from the PDF but the reference is not removed from the field array (/Fields and then /Kids[..]). Thus when i read the file again i get an PDF.Null Object and the ids of the (removed) fields are still in

[iText-questions] Reuse Stamper?

2008-04-07 Thread Tobias Meier
Hi, i want to remove all (unsigned) signatures from an PDF. That itself works fine but afterwards if i access the AcroForm Object i always get null / Nullpointer Exception. If i do Step 2. before Step 1. all works fine. What is the reason for that? (Because i changed the AcroFields in advance?).

Re: [iText-questions] Problem with the index

2008-04-07 Thread 1T3XT info
Javier Del Amo wrote: > Good afternoon. > > I am trying to create an index to the contents of my pdf. I looked at > the book to find out how to create it, Looking at the book won't help. Try reading it. Especially page 127-129 are interesting. The title of that section is "Building an index". It

Re: [iText-questions] Image from pdf is empty

2008-04-07 Thread 1T3XT info
Christoph Saner wrote: > Using pdfs generated by “PDFScanLib v1.2.2 in Adobe Acrobat 7.0.8” > delivers blank fields only. > > Pdfs generated by “Adobe Acrobat 7.08 Paper Capture Plug-in” worked fine! > Any suggestions would be highly appreciated! No can do. You're like the guy phoning his docto

[iText-questions] Problem with the index

2008-04-07 Thread Javier Del Amo
Good afternoon. I am trying to create an index to the contents of my pdf. I looked at the book to find out how to create it, but I have no clear and I don´t know how to create it. Please I need help. The type of index that need it the next. 1. Text pag x

Re: [iText-questions] Vertical text question

2008-04-07 Thread Bruno Lowagie
Sorin Marti wrote: > My situation: > I'd like to create a fully dynamic PDF document which has chapters and > sections. OK, we're talking about using iText using nothing but the basic building blocks; consider using direct content as forbidden! (Except for headers, page numbers, watermarks.) > Th

Re: [iText-questions] Vertical text question

2008-04-07 Thread Sorin Marti
Hi Bruno, thanks for your answer. My code is messy, that's true. I am just trying to get the picture before I put everything in the right place. My situation: I'd like to create a fully dynamic PDF document which has chapters and sections. This works for everything else but not the vertical text.

[iText-questions] Image from pdf is empty

2008-04-07 Thread Christoph Saner
Hi I have an application which creates a new pdf document by adding other pdfs. In order to display header information to the new document, the older pdf has to be reduced in size before importing: document.newPage(); document.add(headerData); PdfImportedPage imPage = writer.getImportedPag

Re: [iText-questions] Wrong state of /SigFlags

2008-04-07 Thread Tobias Meier
Found my own solution: //set /SigFlags=0 if(acroFields.getSignatureNames().size()==0){     this.stamper.getReader().getAcroForm().put(PdfName.SIGFLAGS,new PdfNumber(0)); } Regards, ToM > Hi, > > i have a PDF document which contains signatures. > I remove those (blank ones) but the Sigflag (/SigF

Re: [iText-questions] Vertical text question

2008-04-07 Thread Bruno Lowagie
Sorin Marti wrote: > Hi all, > > I am generating an automated PDF document with images and vertical > texts. This works okay for me but I am not able to put the whole stuff > into a section or chapter. > If I add the images to an absolute position, the image go there but > not the texts written to

Re: [iText-questions] Question (document alignment)

2008-04-07 Thread Bruno Lowagie
Schmidt, Alexander - ComputerPlus wrote: > Hello my name is Alexander and I would like to ask you an important > question. Your question inflates the meaning of the word important. > Is it possible to have upright format and landscape format in the same > document. Please read the documentatio

[iText-questions] Vertical text question

2008-04-07 Thread Sorin Marti
Hi all, I am generating an automated PDF document with images and vertical texts. This works okay for me but I am not able to put the whole stuff into a section or chapter. If I add the images to an absolute position, the image go there but not the texts written to the contentbyte. Th result re fi

Re: [iText-questions] iText for JDK 1.5

2008-04-07 Thread Bruno Lowagie
kevinnj wrote: > I am wondering why only a pre-compiled iText for JDK > 1.4 is provided. I think nowadays most users are using > JDK 1.5. Then why do I still get plenty of mails asking for a JDK 1.3 version of iText??? (Mostly from people with very exotic names.) I work with JDK 1.6, but not every

[iText-questions] iText for JDK 1.5

2008-04-07 Thread kevinnj
I am wondering why only a pre-compiled iText for JDK 1.4 is provided. I think nowadays most users are using JDK 1.5. It would save users a lot of trouble if the author of iText can also provide a pre-compiled iText package for JDK 1.5. I compiled iText on JDK 1.5 by myself following the instruct

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread Bruno Lowagie
Leonard Rosenthol wrote: > I'm confused... > > You talk about using PNG and PDF - and then post two JPEG files. > > How about posting the original PNG and PDFs, so that we can examine > the data in question. Otherwise, it's all guess work... I've had the same frustrating conversation with bis

Re: [iText-questions] Question (document alignment)

2008-04-07 Thread Leonard Rosenthol
Yes. Leonard On Apr 7, 2008, at 7:59 AM, Schmidt, Alexander - ComputerPlus wrote: Hello my name is Alexander and I would like to ask you an important question. Is it possible to have upright format and landscape format in the same document. -

[iText-questions] Wrong state of /SigFlags

2008-04-07 Thread Tobias Meier
Hi, i have a PDF document which contains signatures. I remove those (blank ones) but the Sigflag (/SigFlags 1) remains on 1. According to the PDF spec however it should be 0: "1= the document contains at least one signature field" Is there a possibility with the stamper to change the flag to 0 ag

[iText-questions] Question (document alignment)

2008-04-07 Thread Schmidt, Alexander - ComputerPlus
Hello my name is Alexander and I would like to ask you an important question. Is it possible to have upright format and landscape format in the same document. I am looking forward to hear from you soon. Yours faithfully Alexander Schmidt Viele Grüsse Alexander Schmidt _

Re: [iText-questions] rtf import ignores hex-encoded images // possible bug in RtfDestinationFontTable

2008-04-07 Thread Howard Shank
Dominik, I have a fix for it but am unable to upload it to SVN at the moment. Seems the network admin here shut down the ports on me so I'll upload the fix from home this evening. Howard Shank - Original Message From: Dominik Göpel <[EMAIL PROTECTED]> To: itext-questions@lists.sourcef

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread Leonard Rosenthol
I'm confused... You talk about using PNG and PDF - and then post two JPEG files. How about posting the original PNG and PDFs, so that we can examine the data in question. Otherwise, it's all guess work... Leonard On Apr 6, 2008, at 7:30 PM, bisoa wrote: > > > Leonard Rosenthol wrote: >> >>

Re: [iText-questions] Show image from attachment

2008-04-07 Thread Leonard Rosenthol
The one exception to this rule, of course, is JPEG - where you can have the stream shared... Leonard On Apr 7, 2008, at 6:53 AM, [EMAIL PROTECTED] wrote: > Quoting "Tiesters, Timothy [PRDBE Extern]" <[EMAIL PROTECTED]>: > >> Hi >> >> Is there any possibility to attach an image to a pdf, and sh

Re: [iText-questions] rtf import ignores hex-encoded images // possible bug in RtfDestinationFontTable

2008-04-07 Thread Howard Shank
Thanks Dominik, I will look at it. Howard Shank - Original Message From: Dominik Göpel <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Monday, April 7, 2008 4:32:22 AM Subject: [iText-questions] rtf import ignores hex-encoded images // possible bug in RtfDestinationF

Re: [iText-questions] Show image from attachment

2008-04-07 Thread Tiesters, Timothy [PRDBE Extern]
Hmm.. that's not exactly what I mean.. At the moment, I generate a pdf with one image per page, each page has a different image. Now, I would like to add all the images in an attachment to the pdf, but I still want to show all the images in the pdf. So, to put it in another way, I want to add

Re: [iText-questions] Show image from attachment

2008-04-07 Thread info
Quoting "Tiesters, Timothy [PRDBE Extern]" <[EMAIL PROTECTED]>: > Hi > > Is there any possibility to attach an image to a pdf, and show this > image in a pdf, without the image being stored a second time in the > pdf? Oops, I didn't read your question well enough. You want the Image to be a

Re: [iText-questions] Reading the absolute position of Acroform fields

2008-04-07 Thread Paulo Soares
AcroFields.getFieldPositions() Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gary Taylor > Sent: Monday, April 07, 2008 6:55 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Reading the absolute position of >

Re: [iText-questions] Show image from attachment

2008-04-07 Thread info
Quoting "Tiesters, Timothy [PRDBE Extern]" <[EMAIL PROTECTED]>: > Hi > > Is there any possibility to attach an image to a pdf, and show this > image in a pdf, without the image being stored a second time in the > pdf? Of course that's possible. As a matter of fact iText does this automatica

[iText-questions] Timestamping

2008-04-07 Thread beppecosta
What is the state of the art about timestamping pdf with iText. Is the page at http://itextpdf.sourceforge.net/howtosign.html the last updated source of informations. Thanks. Giuseppe. -- View this message in context: http://www.nabble.com/Timestamping-tp16536786p16536786.html Sent from the iTe

[iText-questions] rtf import ignores hex-encoded images // possible bug in RtfDestinationFontTable

2008-04-07 Thread Dominik Göpel
Hi, I'm trying to import rtf documents (a template that defines header,footer, margins etc.), add text to it and save it as rtf again (see code below). But if the template contains hex-encoded images (e.g. Microsoft Word, OpenOffice and JasperReports use hex for images in their output) the images

[iText-questions] Reading the absolute position of Acroform fields

2008-04-07 Thread Gary Taylor
Hello, I have a pfd v1.3 Acroform and I’m trying to read the absolute position of each field on the form. Is this possible using iText? Thanks Gary _ If you like crossword puzzles, then you'll love Flexicon, a game which combines

Re: [iText-questions] problems with itext and Java Servlets

2008-04-07 Thread rjalv
Map your servlet to "*.pdf" then give the hyperlink the name you want when you build the web page. This solution works, but now the file name that appears is: http://server:port/context/file_name.pdf The servlet is mapped to "*.pdf", but I need the address, port and context to call the servle

Re: [iText-questions] JPEG images become blurry when added to a document

2008-04-07 Thread bisoa
Leonard Rosenthol wrote: > > do as Paulo suggests - switch to > PNG, which doesn't have this problem. > I use PNG all the time because it's the only one that provides transparency colors properly. Look at this image seen at 100%; http://www.nabble.com/file/p16531246/adobe0.jpg Compare the

Re: [iText-questions] Show image from attachment

2008-04-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tiesters, Timothy [PRDBE Extern] > Sent: Monday, April 07, 2008 8:04 AM > To: Post all your questions about iText here > Subject: [iText-questions] Show image from attachment > > Hi > > Is there an

[iText-questions] Luk Lau/Nationwide/NWIE is out of the office.

2008-04-07 Thread LAUL
I will be out of the office starting 04/07/2008 and will not return until 04/08/2008. will be back :) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11

[iText-questions] Show image from attachment

2008-04-07 Thread Tiesters, Timothy [PRDBE Extern]
Hi Is there any possibility to attach an image to a pdf, and show this image in a pdf, without the image being stored a second time in the pdf? I've read iText in action and the pdf-reference. But I'm not sure I found something.. Could an XObject help me with this? Thanks! Tim --