Re: [iText-questions] Using itext to Upgrade from one version of PDF to another

2011-01-17 Thread 1T3XT BVBA
Op 17/01/2011 23:03, Michael Bonino schreef: We have a commercial application that outputs a document to a version of PDF that is not compatible with our Oracle BI Publisher Java library that we use for manipulation of the PDF's. Is it possible to use iText to open the older PDF document and

Re: [iText-questions] HELP NEEDED - render HTML snippet which contains Arabic text

2011-01-17 Thread 1T3XT BVBA
Op 18/01/2011 7:22, pedram farzaneh schreef: > hello dear Paulo and everybody > > I searched so many in the Internet, and also in iText API > to find a solution for the problems I reported previously. Stop searching the Internet, start solving the problem as suggested by Nurettin. ---

[iText-questions] Using itext to Upgrade from one version of PDF to another

2011-01-17 Thread Michael Bonino
We have a commercial application that outputs a document to a version of PDF that is not compatible with our Oracle BI Publisher Java library that we use for manipulation of the PDF's. Is it possible to use iText to open the older PDF document and then output it to a version that is compatible

Re: [iText-questions] HELP NEEDED - render HTML snippet which contains Arabic text

2011-01-17 Thread pedram farzaneh
hello dear Paulo and everybody I searched so many in the Internet, and also in iText API to find a solution for the problems I reported previously. but I found nothing, and it seems that this is a *malfunction* in iText parser, and there is no solution for my case. am I rigth? is this the *LACK

[iText-questions] Force Barcode128 type B

2011-01-17 Thread Guido GarcĂ­a Bernardo
Hi, I would like to generate a Barcode128 type B. It is not a problem if the barcode is larger than using other types (A or C). I think forcing itext to use a given type of barcode it is not possible, so I would like to know how could I modify the class Barcode128 (method getRawText if I am not

Re: [iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Paul Werelds
Sure, I'll run the JDF 1.3 spec through ApogeeX, that should break Acrobat as well. I can't send the files from the clients obviously, but since the typical file is about 600-700 pages, the JDF spec should be fine at 900 (1.3) or 1200 (1.4) pages! Not all operations fail, but we tried convertin

Re: [iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Leonard Rosenthol
If you have files that make Acrobat unhappy - I'd LOVE to see them! As for the streams, etc. - that is the default in Acrobat 9 and later in order to keep file size down (by using advanced compression introduced in PDF 1.5). That will happen for any PDF that does not comply with PDF/A-1, PDF/X-

Re: [iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Paul Werelds
Well I think the inefficiency is part of the problem, but not entirely. Doing File->Save As in Acrobat still doesn't yield a file that prints properly, I'm about to test the optimisation in a few variations (setting it to PDF 1.3, and various optimisations on/off). It does indeed give a nice an

Re: [iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Leonard Rosenthol
Except for being EXTREMELY inefficient, and an issue with the XMP metadata, there is nothing wrong with this PDF. And you are right, no annotations. So when you run that Preflight, it isn't actually doing anything in the Preflight part. You are simply getting the effect of doing a File->Save A

Re: [iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Leonard Rosenthol
If Acrobat's "Flatten Annotations" feature is working, then the problem is _NOT_ with XObjects, but with Annotations. XObjects can (and are) used by as part of page content in many cases and "flattening" them is a very complex process, which is one reason that (almost) no one does it. However,

[iText-questions] Flattening / reducing XObjects

2011-01-17 Thread Paul Werelds
I am currently doing my graduation on a project for a printing company, which involves JDF and obviously, PDF. I'll admit right now that I'm still very much a newbie to PDF, it wasn't until the problem below popped up that I started analysing the internals of PDF files. Their documents are proc

Re: [iText-questions] Adding Text Over the Image

2011-01-17 Thread 1T3XT BVBA
Op 17/01/2011 11:25, SASE1984 schreef: > Hi All, > > I have the pdf where i need to add text over the image where as code i have > attached below add's text behind the image. Please guide me how to add text > over the image, The text is added UNDER the image because you explicitly asked iText to a

[iText-questions] Adding Text Over the Image

2011-01-17 Thread SASE1984
Hi All, I have the pdf where i need to add text over the image where as code i have attached below add's text behind the image. Please guide me how to add text over the image, PdfReader reader = new PdfReader(sourceFile.FullName); FileStream outputStream=new FileStream(outputFile.FullName,FileMo

Re: [iText-questions] onParagraph event in ColumnTest.composite mode

2011-01-17 Thread bluepin
Already digged a little deeper, but my shovel is not that sharp. The workaround you mentioned is already in application, is somewhat acceptable as long as the paragraphs are not broken from one column into the next, whereby the problem that would appear is obvious, except I put only one row of te