[iText-questions] help creating checkbox

2006-03-07 Thread David McDivitt
I need help creating a checkbox. I do not want a field, but a rectangle with an X is checked, nothing if not checked. What I have below works. Unfortunately, when the PDF is rendered the checkboxes are slightly below adjoining text. I wrote a method that returns a cell, which has the checkbox in it

Re: [iText-questions] Can iText replace images etc.

2006-03-07 Thread Leonard Rosenthol
At 04:49 PM 3/7/2006, Petter Nyström wrote: Whoa! You were right! I can view the image! It means I must have done something right. Wow... And now I can use ImageMagick for converting the CMYK format to something slightly more universal Yes, that's a nice easy solution for you...AT LE

Re: [iText-questions] Can iText replace images etc.

2006-03-07 Thread Petter Nyström
On Tue, 7 Mar 2006, Leonard Rosenthol wrote: Images in PDF files are either in JPEG/JFIF format OR they are a raw "array of pixels". In the first case, you can indeed just "dump the data to disk" and get a usable image. In the second, you will need to convert it to some standard image

Re: [iText-questions] Can iText replace images etc.

2006-03-07 Thread Leonard Rosenthol
At 02:07 PM 3/7/2006, Petter Nyström wrote: I hope this is correct. Writing these bytes to a file will however not produce anything useful. That is correct, in many cases. Images in PDF files are either in JPEG/JFIF format OR they are a raw "array of pixels". In the first c

Re: [iText-questions] WMF and fonts/WMF exported from PowerPoint

2006-03-07 Thread Paulo Soares
- Original Message - From: "Christian Ullenboom" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 07, 2006 5:25 PM Subject: [iText-questions] WMF and fonts/WMF exported from PowerPoint Hello. Congratulation to the new version of iText 1.4. I have some issues with iText and WMF files e

Re: [iText-questions] (no subject)

2006-03-07 Thread Paulo Soares
You have more than 1024 bytes of junk after the end of the PDF. Look for "%%EOF" from the end of your byte stream and delete everything after that. The PDF should read now. - Original Message - From: "Lakshmi Rajamani" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 07, 2006 7:32 PM Sub

Re: [iText-questions] Can iText replace images etc.

2006-03-07 Thread Paulo Soares
You have a CMYK image where 4 consecutive bytes form a pixel. That's not an image format just pixels that you must arrange in some other way to create an image like tiff or png (for png you'll have to convert from CMYK to RGB) or something else. Paulo - Original Message - From: "Pett

[iText-questions] (no subject)

2006-03-07 Thread Lakshmi Rajamani
I am able to open a pdf in Adobe but having errors when using iText PdfReader.  The message says "Trailer Not Found"   Thanks --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web an

Re: [iText-questions] Can iText replace images etc.

2006-03-07 Thread Petter Nyström
On Mon, 6 Mar 2006, bruno wrote: Forgive me for not answering all the questions at once. Let's do this step by step. First download the iText Toolbox: http://www.lowagie.com/iText/itext.jnlp [...] That was a neat example. Thanks! It helped me a lot in penetrating the outer defences of iText.

[iText-questions] WMF and fonts/WMF exported from PowerPoint

2006-03-07 Thread Christian Ullenboom
Hello. Congratulation to the new version of iText 1.4. I have some issues with iText and WMF files exported form MS ppt. (I appended the original ppt, export form ppt as wmf and a converted version to a pdf form iText.) 1. How can I include the font information? (iText does not mention Comic.) 2

Re: RE: [iText-questions] Parsing of polish character

2006-03-07 Thread saxenashyam
Hi Paulo , I am registering  font  with FontFactory.register("c://windows/fonts/ARIAL.TTF"); and setting the encoding in xml and selecting font ="Arial " in all palcae in my xml document . Can you tell  me what is the problem ? if need i can send my xml file to you   Thanks in advance     "Paulo

RE: [iText-questions] (no subject)

2006-03-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michael Kail > Sent: Tuesday, March 07, 2006 1:32 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] (no subject) > > Hi everybody! > > > > Actually i'm trying to get

Re: [iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread bruno
Andy Levy wrote: I didn't even realize that you had posted to the list that there was a book in the works. ;-) Nor did I know you had a blog in the first place. I didn't. I registered with JavaLobby a long time ago, but I didn't really use the JRoller blog-service. I have blogged in Dutch

Re: [iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread Andy Levy
On 3/7/06, bruno <[EMAIL PROTECTED]> wrote: > By the way: there are over 1000 people subscribed to the list, > then why did only 26 answer this simple question: > http://jroller.com/page/blowagie?entry=would_you_buy_a_book I didn't even realize that you had posted to the list that there was a book

[iText-questions] (no subject)

2006-03-07 Thread Michael Kail
Hi everybody!   Actually i’m trying to get signature out of acroform…. As I looked into whitepaper of pdf Version 1.4 it’s legal to write signature fields in acroform and Make no link with annotations.       PdfDictionary top = (PdfDictionary)PdfReader.getPdfObjectRelease(reader.g

Re: [iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread bruno
Abhilekha Thanvi wrote: Oh thanks I understand, but is there any way to do that It works for me if that's what you mean. I can't show you how I do it, because that part is closed source. I also have an example in the manuscript of my book, but I can't disclose that either. I can only point yo

[iText-questions] Re: [iText-questions]

2006-03-07 Thread bruno
Giorgio Arcangeli wrote: Thanks Bruno, you are helpful form me! I have a another question (very little, hope...) I don't understand well the difference between form flatten and other form ? You have two PDFs that contain an AcroForm (note that XFA is not supported in iText). You use iTex

Re: [iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread bruno
Abhilekha Thanvi wrote: But we can create xml using Dataset which is similar to any xml file, so why we can't do that Because you can define your XML with any schema you want. Do you understand this: "Versta je wat ik hier zeg?" Probably not, because it's a sentence in Dutch. You need to trans

Re: [iText-questions] iTex compatibale version with JDK 1.3

2006-03-07 Thread Paulo Soares
The question is a bit different. You need the Sun jdk to compile iText but you don't need it to run. If your jdk doesn't contain the com.sun.image.codec package you'll need to delete the references to it in PdfGraphics2D. Paulo - Original Message - From: "bruno" <[EMAIL PROTECTED]>

Re: RE: [iText-questions] Parsing of polish character

2006-03-07 Thread Paulo Soares
- Original Message - From: "saxenashyam" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "saxenashyam" <[EMAIL PROTECTED]>; Sent: Tuesday, March 07, 2006 7:23 AM Subject: Re: RE: [iText-questions] Parsing of polish character Hi Paulo , I am registering font with F

Re: [iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread bruno
The subjects 'Database Connectivity' and 'iTextSharp' are unrelated to each other and the question is therefore off-topic. br, Bruno --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into

Re: [iText-questions] iTex compatibale version with JDK 1.3

2006-03-07 Thread bruno
Manjith Gunatilaka wrote: Hi Bruno, i compiled the itex package without any error in local environment. But I am having some problem when I tries to load this package to Oracle Database. It has a JVM of JDK 1.3 and it doesn't come with com.sun.image.codec package. Therefore could you please

[iText-questions] Database Connectivity in iTextSharp

2006-03-07 Thread Abhilekha Thanvi
  I m creating XML file using a Dataset (which is fetched from sql Database) which is used to create a PDF file using iTextSharp  But it’s not working, what do I do? Please help me   Thanks Abhilekha