Re: [iText-questions] PDF merge with XfaForms

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 19:36, grv1984 schreef: > Hi all, > > I know this question has already been answered here but still, since I am > new to itext, I'd like to have a go. You're asking for something that isn't supported. > I have two any pdfs, in the form of byte array, filled using XFA approach > (Xfa

Re: [iText-questions] Bulleted List

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 20:37, John Williams schreef: Ok, I have decided, based on advice from this distribution list, to stay with iTextSharp. That being said, does anyone know of any examples of inserting a Bulleted List into an existing PDF Text Field. (Or other container?) Add a List object t

Re: [iText-questions] the position of the image in the graphics2D

2011-04-18 Thread curt
http://itext-general.2136553.n4.nabble.com/file/n3459086/Sans_titre.jpg Sorry for my bad explication of the problem. i made a transformation to the OXY Landmark he became O'X'Y'. i have the matrix transformation. i have the coordinates of M(X,Y) in the Landmark OXY , the coordinates of O1(X1,Y1) i

Re: [iText-questions] the position of the image in the graphics2D

2011-04-18 Thread Bill Ensley
OK, I had trouble even reading this email, but If I understand you correctly, you have not asked and iText question. All of this math is done in Java before it actually makes it to the PDF. So, if your original width/height is 1/1 and you are going to 780.05/760.59, then you divide 780.0

[iText-questions] the position of the image in the graphics2D

2011-04-18 Thread curt
I want to created a pdf that contain images from a flash application. the benchmark in the flash application is 1/1 pixel that is not the same in the pdf. I need to know the coordinates (x, y) of my image from the new benchmark. i must know the position of the image in this Graphics2D wich

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread Balder
If you really want to mix vb.net and java you'd need a bridge like jnbridge On 18/04/2011 19:14, John Williams wrote: Mainly for the better documentation of iText.   John

[iText-questions] PDF merge with XfaForms

2011-04-18 Thread grv1984
Hi all, I know this question has already been answered here but still, since I am new to itext, I'd like to have a go. I have two any pdfs, in the form of byte array, filled using XFA approach (XfaForm, rather than AcroForm), stored in the database. Filling up the PDF is working fine, no problem

Re: [iText-questions] Errors in the PdfTextExtractor.getTextFromPage() ------com.itextpdf.text.pdf.parser.InlineImageUtils$InlineImageParseException: Could not find image data or EI

2011-04-18 Thread Kevin Day
(why Adobe didn't include a Length attribute in inline images is just beyond me) Anyway, I submitted a code change a few weeks ago (rev 4799) that adds handling for simple indexed color palettes in inline images. Definitely try the very latest code on your file. If that still doesn't work, provi

Re: [iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Paulo Soares
No amount of rounding will save you. PDF doesn't have pixels, those pixels only appear in the printer and are out of your control. The only way to be safe is to have a good printing resolution or to make the barcode bigger. Barcodes are rather resilient and even this 2-4 pixels fuzzyness won't p

Re: [iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Diego Ruotolo
OK: do you think is better to make this rounding directly in the code (using a function such as Math.round() ) ? I think the result will be more predictable this way, won't it? Il 18/04/2011 19.05, Paulo Soares ha scritto: > Yes but note that as you can't have half printer pixels you'll end up > w

Re: [iText-questions] Table of Contents

2011-04-18 Thread Colin Cheng
You should call PdfReader's consolidateNamedDestinations() in advance. On Mon, Apr 18, 2011 at 12:59 AM, meziano wrote: > Hello, > Using itext 5.0.4 I succed to do the following steps: > -generate a "dynamic" main-document in memory ("dynamic" means here with > an > uknown number of pages) > -a

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread John Williams
Only because of the better documentation for iText John Williams Lineage 150 Lawrence Bell Dr. Ste 100, Williamsville, NY 14221 Office 716.631.3345 | Fax 716.631.3238 From: xi...@gmx.com [mailto:xi...@gmx.com] Sent: Monday, April 18, 2011 11:28 AM To: Post all your questions about

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread John Williams
Mainly for the better documentation of iText. John Williams Lineage 150 Lawrence Bell Dr. Ste 100, Williamsville, NY 14221 Office 716.631.3345 | Fax 716.631.3238 From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, April 18, 2011 11:24 AM To: Post all your questions about i

Re: [iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Paulo Soares
Yes but note that as you can't have half printer pixels you'll end up with 2, 3 or 4 pixels depending on where the bar is placed. Paulo From: Diego Ruotolo [mailto:druot...@noemalife.com] Sent: Monday, April 18, 2011 5:55 PM To: itext-questions@lists.sourceforge.

Re: [iText-questions] Table of Contents

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 9:59, meziano schreef: > I must mention, that I used the method setLocalDestination(destination) > while generating the main-document, and setLocalGoto(destination) while > generating the ToC-document. So you're using setLocalDestination(destination) in a document X.pdf, and you're us

Re: [iText-questions] Programatically reading annotations in a PDF Document

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 14:30, ankurg12 schreef: > Hi, > > Did you find the way to read the annotations of pdf document using iText. Yes. -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasin

Re: [iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Diego Ruotolo
Hi Paulo, thanks for your answer. Can you also suggest me some tricks to improve barcode quality? E.g., a correct value for the X property? Actually, if I want a narrow bar of 3 pixels and I have a resolution of 200 dpi, I set the X property to 3*72/200 , is that right? Thanks, Diego Il 18/04/20

[iText-questions] Table of Contents

2011-04-18 Thread meziano
Hello, Using itext 5.0.4 I succed to do the following steps: -generate a "dynamic" main-document in memory ("dynamic" means here with an uknown number of pages) -add the index (or better a pseudo table of contents without page-number-references) to the main-document -add a coverpage to the main-do

Re: [iText-questions] Programatically reading annotations in a PDF Document

2011-04-18 Thread ankurg12
Hi, Did you find the way to read the annotations of pdf document using iText. Thanks Ankur -- View this message in context: http://itext-general.2136553.n4.nabble.com/Programatically-reading-annotations-in-a-PDF-Document-tp2138840p3457368.html Sent from the iText - General mailing list archive

Re: [iText-questions] Invoice Style Layout?

2011-04-18 Thread TwentyTwenty20
Thanks very much for your reply. In the end I got the current position of the page and added a couple of fake tables in order to force the summary to the bottom. A bit of a hack but it works well non the less. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Invoice-St

Re: [iText-questions] Errors in the PdfTextExtractor.getTextFromPage() ------com.itextpdf.text.pdf.parser.InlineImageUtils$InlineImageParseException: Could not find image data or EI

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 18:04, gaots schreef: > > The function works on most of PDF, but not in this case. > Because that PDF has an inline image (as opposed to an image XObject). > Hope someone can help me to make it works, thank you. > Wasn't this solved in iText 5.0.6? See the changelog: http://itextpd

Re: [iText-questions] Re??Re: PdfReader.selectPages & PdfCopy

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 17:48, momom...@sina.com schreef: Thank you for your information. I did download the samplechapter6.pdf available on line but just dont know how to combine the selectPage() and pdfStamper. See my previous answer. Listing 6.17 on page 179 answers your question! --

[iText-questions] Errors in the PdfTextExtractor.getTextFromPage() ------com.itextpdf.text.pdf.parser.InlineImageUtils$InlineImageParseException: Could not find image data or EI

2011-04-18 Thread gaots
The function works on most of PDF, but not in this case. Hope someone can help me to make it works, thank you. Below are the codes and the error messages I got. The code from example: import java.awt.Rectangle; import java.io.FileOutputStream; import java.io.IOException; import jav

Re: [iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Paulo Soares
That's your printer driver being too helpful. From Acrobat print to image and it will look ok. Paulo -Original Message- From: Diego Ruotolo [mailto:druot...@noemalife.com] Sent: Monday, April 18, 2011 4:28 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] HELP NEE

[iText-questions] HELP NEEDED: barcode and anti-aliasing

2011-04-18 Thread Diego Ruotolo
Hi, this is my first post to this list. My name is Diego and I am using iText to generate labels with barcode. I've tried several way of barcode generation, e.g. as a tempalte with barcode, as an iText image and as an awt image, but the result is always the same: a kinda anti-aliasing effect appea

[iText-questions] Re:Re: PdfReader.selectPages & PdfCopy

2011-04-18 Thread momomo_o
Thank you for your information. I did download the samplechapter6.pdf available on line but just dont know how to combine the selectPage() and pdfStamper.  Sorry for any bother I brought to you. Yes, I am a green programmer. I will keep on learning. Sorry again sincerely. -

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread Paulo Soares
Why would you want to do that if there's iTextSharp? Paulo From: John Williams [mailto:jwilli...@trustlineage.com] Sent: Monday, April 18, 2011 4:17 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Call a java Class from VB.NET I would like

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread xi...@gmx.com
Why don't you use itextSharp ? it is better to call from vb.net. http://sourceforge.net/projects/itextsharp/ Al 18/04/2011 17:17, En/na John Williams ha escrit: I would like to use iText integrated with

Re: [iText-questions] Call a java Class from VB.NET

2011-04-18 Thread Balder
On 18/04/2011 17:17, John Williams wrote: I would like to use iText integrated with vb.net 2010.  Is there a way to use vb.net to call an IText Java Class?  I would be writing the class In eclipse.

Re: [iText-questions] Issues in merging PDF documents

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 15:18, Saravana Kumar Ganesan schreef: > Hi Experts, > I have a requirement to create n copies of the same pdf document > in new pdf file.I am using iText2.1.7. Actual pdf is in landscape > format.But the merged out is not coming properly. > I have attached the sample & output

Re: [iText-questions] PdfReader.selectPages & PdfCopy

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 14:49, momom...@sina.com schreef: How can I combine PdfReader.selectPages & PdfCopy? or should I combine PdfReader.selectPages & PdfStamper? I find no example... In one of your previous mails, you mentioned the book: "I followed the step in the iText Chapter 6." I don't know if yo

[iText-questions] Issues in merging PDF documents

2011-04-18 Thread Saravana Kumar Ganesan
Hi Experts, I have a requirement to create n copies of the same pdf document in new pdf file.I am using iText2.1.7. Actual pdf is in landscape format.But the merged out is not coming properly. I have attached the sample & output document. Please my code below. public ByteArrayOutputStream do

[iText-questions] PdfReader.selectPages & PdfCopy

2011-04-18 Thread momomo_o
 Hello, I am trying to copy several pages from a SrcFile and save it into a destFile PdfReader pdfReader = new PdfReader(SrcFileName); pdfReader.selectPages(Pages); // Pages is an ArrayList saved the pages that I am interested in and I have tested the List~It is fine~ PdfCopy

Re: [iText-questions] Problems installing Itext in oracle 9i/ S.O. AIX

2011-04-18 Thread 1T3XT BVBA
Op 18/04/2011 8:36, ld...@bsolutions.cl schreef: > Hello, > > I'm having problems installing iText in Oracle 9i with AIX. I need any help. > > * iText 5.0.6 ??? Installing a jar (ANY jar) in Oracle 9i with AIX is off-topic on this list. -