[iText-questions] reprint "iText in Action"

2008-01-08 Thread Bruno Lowagie
Hello, Manning just mailed me to inform that there will be a reprint of "iText in Action". They are asking me if I have a list with errata. By the way: they need this list today. If you have the book and if you found a typo or another error, could you post it to the list. If the correction is in t

Re: [iText-questions] Not to allow copy/paste

2008-01-08 Thread Bruno Lowagie
Carlos de Luna Saenz wrote: Is there a way to proctect the files from been copied to the clipboard. I need the user to open the PDF with no problem but not to copy the content to the clipboard. encrypt the file. br, Bruno smime.p7s Description: S/MIME Cryptographic Signature

Re: [iText-questions] (no subject)

2008-01-08 Thread Bruno Lowagie
Mukherjee, Sankar wrote: This program does not add metadata to pdf file. It works for me. I compiled the program as it is shown in the example. Then you should get the same results as in the examples I made for the book. What am I missing here? Your reaction is a variation on the 'it do

Re: [iText-questions] positioning - best tool for the job

2008-01-08 Thread Bruno Lowagie
James Dixon wrote: My second question is if I am using the right tools, is there a way to rotate text within a Column? On way to do it would be using a one cell PdfPTable and rotate the content 90 degrees. Another way would be to add the ColumnText to a PdfTemplate object, wrap it in an Image a

[iText-questions] How to set the document intial view "Navigation Tab" to "Pages Panel and Pages" ?

2008-01-08 Thread Eric Chow
Hello, How can I set the document initial view for Navigation Tab to"Pages Panel and Pages" ? Which method I can use to do this? Best regards, Eric - Check out the new SourceForge.net Marketplace. It's the best place to buy

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
styles.loadTagStyle("strong", "b", ""); styles.loadTagStyle("strong", "size","8px"); Sorry, but that doesnt work. I am now proofing the font()-Property color and style to set the right font. Because we have a lot of different fonts hard-coded in one class, i decided to do so. The orignal s

[iText-questions] Not to allow copy/paste

2008-01-08 Thread Carlos de Luna Saenz
Is there a way to proctect the files from been copied to the clipboard. I need the user to open the PDF with no problem but not to copy the content to the clipboard. Greetings ¡Capacidad ilimitada de alm

[iText-questions] (no subject)

2008-01-08 Thread Mukherjee, Sankar
Please read the book, and you'll find this example: http://itext.ugent.be/itext-in-action/examples/chapter02/HelloWorldAddMe tadata.java Note that both traditional PDF metadata and the more recent XMP data are added in this example. If you don't know the difference, it's all explained in the book.

Re: [iText-questions] iText-Mini-Jar for Applet

2008-01-08 Thread Xavier Le Vourch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 akuehne wrote: > Hi all, > > we are running a free signature verification service ( http://sig-check.eu/ > ) for PKCS7 files. Now we are on the way to support signed PDFs. > > A major design goal is NOT to transfer users documents to our server but

Re: [iText-questions] iText-questions Digest, Vol 20, Issue 30

2008-01-08 Thread BACQ Jean-sébastien
Salut ! Encore quelques petites questions : A partir d'une BDD MySQL je crée des champs (Acroform) a partir d'un modèle avec PdfStamper. 1) Pourquoi quand j'insère un champ (createTextField) valorisé avec setValueAsString(texte) et setFlags(PdfAnnotation.FLAGS_PRINT ), il ne s'affiche pas à l'imp

Re: [iText-questions] Blank pages only

2008-01-08 Thread Carlos de Luna Saenz
You had the right guessing, thanks... so the code (for general information) finished like: public void encodeBegin(FacesContext contexto){ log.debug("Generando PDF"); this.setDataTableFields(); Font font8 = FontFactory.getFont(FontFactory.HELVETICA, 32); ResponseFacade outFacade = (Re

[iText-questions] positioning - best tool for the job

2008-01-08 Thread James Dixon
Hi all, I am relatively new to iText and have a few questions. I have two cases where I need to position text differently. The first case is absolute positioning, in which I was using the PdfContentByte.showTextAligned() method which seems to fit my needs. The second case is where I need to

[iText-questions] PDF reader issue : Size file of 7Mb

2008-01-08 Thread Scandella, Valerie
Hi, I have an issue reading a 7Mb with iText in order to concatenate it with others files. I think the issue comes from the size because reading a 5Mb file, works. I tried multiple different pdfs file with 7Mb and the final pdf (after concatenation) can't be opened : There was an error opening

[iText-questions] iText-Mini-Jar for Applet

2008-01-08 Thread akuehne
Hi all, we are running a free signature verification service ( http://sig-check.eu/ ) for PKCS7 files. Now we are on the way to support signed PDFs. A major design goal is NOT to transfer users documents to our server but to do the hashing within the client's environment using an applet. This w

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Paulo Soares
styles.loadTagStyle("strong", "b", ""); styles.loadTagStyle("strong", "size","8px"); Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sundowner71 > Sent: Tuesday, January 08, 2008 1:34 PM > To: itext-questions@lists.sourceforge.net > Subje

Re: [iText-questions] Assistance with SocketException

2008-01-08 Thread Bruno Lowagie
Paul Bundick wrote: > Also, > > There was a mistake in my original post. The servlet code snippet that I > sent does not get run. I actually 'return' before it get to the > 'RequestDispatcher' part of the code. You probably don't mean that it 'returns' but that it throws the SocketException and

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
If you use HTMLWorker, you don't have to worry about parsing the XHTML snippet yourself, you just have to define the style for each tag. br, Bruno sundowner wrote: Now i have got the following code-snippet: --- String text = val.getStringValue();//my Text

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
>If you use HTMLWorker, you don't have to worry about parsing >the XHTML snippet yourself, you just have to define the style for >each tag. Ok, the HTMLWorker is a good idea. But i have the problem, that i dont have a Reader-Object. I've got my html-Snippet as a normal String-Object, cause it com

Re: [iText-questions] Assistance with SocketException

2008-01-08 Thread Paul Bundick
Also, There was a mistake in my original post. The servlet code snippet that I sent does not get run. I actually 'return' before it get to the 'RequestDispatcher' part of the code. Paul <>- Check out the new SourceForge.net

Re: [iText-questions] Assistance with SocketException

2008-01-08 Thread Paul Bundick
Bruno - That's correct. I can access the image(s) both through iText and through other methods before I discovered iText and started using it. The real issue is that as I increase the size of the image (and I suspect, if I just increase the size of the pdf file I'm generating - images or no imag

Re: [iText-questions] strange problem with concatenation and pantone

2008-01-08 Thread Paulo Soares
This is a problem with PdfSmartCopy. Use PdfCopy until the problem is fixed. Paulo > -Original Message- > From: Bo Benson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 08, 2008 5:48 AM > To: Paulo Soares > Subject: Re: [iText-questions] strange problem with > concatenation and pan

Re: [iText-questions] PDF inside JFrame

2008-01-08 Thread Loureiro, Gil
You can also use GhostScript -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: terça-feira, 8 de Janeiro de 2008 10:10 To: Post all your questions about iText here Subject: Re: [iText-questions] PDF inside JFrame harsha ravindra wrote: >

Re: [iText-questions] PDF inside JFrame

2008-01-08 Thread Bruno Lowagie
harsha ravindra wrote: Hi, How can i embed a report in a pdf format using iText inside java JFrame... iText doesn't render PDF. You need SUN's PDF Renderer or IDRSolutions JPedal. br, Bruno smime.p7s Description: S/MIME Cryptographic Signature

[iText-questions] PDF inside JFrame

2008-01-08 Thread harsha ravindra
Hi, How can i embed a report in a pdf format using iText inside java JFrame... thx -- Rgds; Harsha - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open S

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Bruno Lowagie
Sundowner71 wrote: I found a solution. It's quite simple Phrase p1 = new Phrase("Text1"); p1.add(new Chunk("C1")); p1.add(new Chunk("C1", FONT_HEADER_BIG)); p1.add(new Chunk("C2", FONT_STANDARD_RED_9)); p1.add(new Chunk("C3")); p1.add(new Chunk("C4")); cell = new PdfPCell(

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Bruno Lowagie
Sundowner71 wrote: I found a solution. It's quite simple Phrase p1 = new Phrase("Text1"); p1.add(new Chunk("C1")); p1.add(new Chunk("C1", FONT_HEADER_BIG)); p1.add(new Chunk("C2", FONT_STANDARD_RED_9)); p1.add(new Chunk("C3")); p1.add(new Chunk("C4")); cell = new PdfPCell(

Re: [iText-questions] can i unregistrate

2008-01-08 Thread Bruno Lowagie
mister bean wrote: https://lists.sourceforge.net/lists/listinfo/itext-questions Normally I remove mail addresses when questions like this reach the list. However: I didn't find anyone with that mail address in the membership list. br, Bruno smime.p7s Description: S/MIME Cryptographic Signa

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
I found a solution. It's quite simple Phrase p1 = new Phrase("Text1"); p1.add(new Chunk("C1")); p1.add(new Chunk("C1", FONT_HEADER_BIG)); p1.add(new Chunk("C2", FONT_STANDARD_RED_9)); p1.add(new Chunk("C3")); p1.add(new Chunk("C4")); cell = new PdfPCell(p1); Works fine.

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
>> I try to describe my problem: >> We have a database, where text is stored in an XML-Field. >> >It looks like you're having snippets of XHTML in your database. >HTMLWorker was developed for translating these snippers into >a List of iText object. See chapter 14 of the book. >> My problem is

Re: [iText-questions] can i unregistrate

2008-01-08 Thread mister bean
https://lists.sourceforge.net/lists/listinfo/itext-questions See bottom of the page. ---mr. bean >>> re >>> Sangil Jung wrote: > > I want a maillinglist secession as this email([EMAIL PROTECTED]), > > how can i do that~? > > best regards~ > > -

Re: [iText-questions] PdfWriter.FitsPage

2008-01-08 Thread Bruno Lowagie
trs wrote: I looked for something on the simulation mode in the tutorial and did not find anything. If you don't understand the examples on this tutorial page: http://itextdocs.lowagie.com/tutorial/objects/columns/index.php then you should read chapter 7 of this book: http://itext.ugent.be/itex

Re: [iText-questions] Blank pages only

2008-01-08 Thread Bruno Lowagie
Carlos de Luna Saenz wrote: the result of this is a 714 pages document with blank pages... am i missing something? If I had to guess, I'd say your JSP setup is not binary safe. You can test this by writing the PDF to a file on the server: the file will be OK overthere. I think your JSP treats th

Re: [iText-questions] Assistance with SocketException

2008-01-08 Thread Bruno Lowagie
If I understand well, you've isolated the problem in the sense that you can get the application working when removing a few lines (the ones involving larger images). But can you reproduce the problem by removing everything that is iText related? Meaning: if you'd want to serve the image to the cli

Re: [iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Bruno Lowagie
Sundowner71 wrote: Hi I try to describe my problem: We have a database, where text is stored in an XML-Field. It looks like you're having snippets of XHTML in your database. HTMLWorker was developed for translating these snippers into a List of iText object. See chapter 14 of the book. My p

[iText-questions] Converting HTML in PDFPCell

2008-01-08 Thread Sundowner71
Hi I try to describe my problem: We have a database, where text is stored in an XML-Field. On the web-frontend, we can edit a textfield and format the whole text or parts of the text with a special color or we can make the part/ whole text mark as bold. Then the text will be stored in the databa