Re: [iText-questions] How to write Arabic Text in PDF

2009-05-26 Thread 1T3XT info
Ravi Shankar D.K wrote: > Hi, > > We are using iText APIs for generating PDF file.We have Acro fields in > PDF and we are populating the text for these fields at run time. > It works fine for english, however we are no seeing Arabic text > displayed in the PDF. > Please let me know what setting

Re: [iText-questions] Wrapping columns to next row

2009-05-26 Thread 1T3XT info
Venkat Praveen Jalem wrote: > Hi All, > > We wanted to achieve the following using the PdfPTable. {columns wrapped > to next row} Define a PdfPTable with less columns. There's no other way. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

[iText-questions] How to write Arabic Text in PDF

2009-05-26 Thread Ravi Shankar D.K
Hi, We are using iText APIs for generating PDF file.We have Acro fields in PDF and we are populating the text for these fields at run time. It works fine for english, however we are no seeing Arabic text displayed in the PDF. Please let me know what setting and change in code is required. we

[iText-questions] Wrapping columns to next row

2009-05-26 Thread Venkat Praveen Jalem
Hi All, We wanted to achieve the following using the PdfPTable. {columns wrapped to next row} Col1Title col2Title Col3Title Col4Title Col5Title Col6Title Col1Data1 Col2Data1 Col3Data1 Col4Data1 Col5Data1 Col6Data1 . . . . Col1Datan Col2Datan

Re: [iText-questions] Coloring the top border of PdfPCell

2009-05-26 Thread Paulo Soares
Call setUseVariableBorders(). Paulo - Original Message - From: "sujikin" To: Sent: Tuesday, May 26, 2009 8:04 PM Subject: [iText-questions] Coloring the top border of PdfPCell Hi, I am trying to color the top border of a PDFPCell using the below code, PdfPC

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Leonard Rosenthol
PDF/A-1 fully supports annotations, links and form fields - so you can't simply rely on simple visual either. Leonard -Original Message- From: mkl [mailto:m...@wir-sind-cool.org] Sent: Tuesday, May 26, 2009 5:12 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions]

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread mkl
Mike Marchywka-2 wrote: > >> As this thread originated in one about digital signatures, I doubt that >> is >> what he needs. > > In my first post, I mentioned the opposite extreme of rendering all pages > to BMP and doing a simple pixel subtract- this can be quite useful in some > cases. > Ye

Re: [iText-questions] barcode and position of code

2009-05-26 Thread Paulo Soares
You'll have to draw the code yourself if you want that effect. The simplest way is to copy the class and modify it. Paulo - Original Message - From: "Mathias Nilsson" To: Sent: Tuesday, May 26, 2009 9:09 PM Subject: [iText-questions] barcode and position of code Hi, I'm looking at

[iText-questions] Coloring the top border of PdfPCell

2009-05-26 Thread sujikin
Hi, I am trying to color the top border of a PDFPCell using the below code, PdfPCell cell = new PdfPCell(new Paragraph("header with colspan 3")); cell.setBorder(Rectangle.NO_BORDER); cell.setBorder(Rectangle.LEFT);

[iText-questions] barcode and position of code

2009-05-26 Thread Mathias Nilsson
Hi, I'm looking at a pdf that I must redo and the code of the barcode is between the guardbars. When I try the same code with BarcodeEAN the first digit is always placed left to the first guardbar. Is there anyway of placing the first 7 digits between the first pair of guardbar and the last 6 dig

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Mike Marchywka
> Date: Tue, 26 May 2009 12:08:19 -0700 > From: > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] How can compare the content of two revision > > > > Mike Marchywka-2 wrote: >> >> I have skipped details in the thread and still pl

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread mkl
Mike Marchywka-2 wrote: > > I have skipped details in the thread and still plowing through my inbox > but if you really WANT to compare text, and that is all I normally need, > As this thread originated in one about digital signatures, I doubt that is what he needs. After all, colors, position

Re: [iText-questions] Problème with image and text

2009-05-26 Thread 1T3XT info
EVENO Manuel wrote: > Thanks in advance for your help ... Et voilà: http://1t3xt.be/?X000771 Don't forget to nominate iText for the Community Choice Awards (button at the left of the page). -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info --

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Leonard Rosenthol
The font information is useful, most importantly, as it is necessary to convert from the drawing operators to a standard encoding (aka Unicode). Once everything is in Unicode, for example, then the font info is less of a concern PROVIDED that all glyphs can be mapped to Unicode and not to the P

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Mike Marchywka
> From: lrose...@adobe.com > To: itext-questions@lists.sourceforge.net > Date: Tue, 26 May 2009 08:56:22 -0700 > Subject: Re: [iText-questions] How can compare the content of two revision > > Comparison of "just text" isn't a good approach, since that cer

Re: [iText-questions] storing our logo in it's own PDF

2009-05-26 Thread Jason Berk
I opened my mouth too soongot it figured out // add logo from logo file PdfReader reader = new PdfReader(LOGO_FILE); Image img = Image.getInstance(writer.getImportedPage(reader, 1)); img.setAbsolutePosition(36, doc.top() - img.getHeight() - 36); doc.add(img); -Original Message- F

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Leonard Rosenthol
Comparison of "just text" isn't a good approach, since that certainly doesn't compare any other aspects of the page (or the document). Also, your approach to "text extraction" isn't really text it's just the raw operators from the PDF. Without taking into account the font & encoding informati

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread mkl
Oscar, OscarP wrote: > > Ok Michael, i was able to get the PDF contents, but my method doesn't work > for all PDF files. For instance, I can't get it to work with PDF files > generated with OpenOffice. > > [...] > > All the examples work "fine", i haven't tested them with embedded images, > e

Re: [iText-questions] storing our logo in it's own PDF

2009-05-26 Thread Jason Berk
I'm having a very difficult time following what that example doesseems overly complexbut maybe that's just me. I'd like to read the contents of my logo pdf and add it to a pdf I'm creating Something like this: float couponHeight = 252f; float couponWidth = PageSize.LETTER.getWidth();

Re: [iText-questions] iTextSharp: embedding a video

2009-05-26 Thread Sander Bisschops
It just occurred to me that I've been using a very old version of iTextSharp, while we've also got a newer development branch running. The newer version seems to have full support for this. I'll get back to you if it turns out not to work, but I expect everything will be fine. Cheers, Sander

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread OscarP
Hi, Ok Michael, i was able to get the PDF contents, but my method doesn't work for all PDF files. For instance, I can't get it to work with PDF files generated with OpenOffice. import java.io.*; import java.util.*; import com.lowagie.text.*; import com.lowagie.text.pdf.*; public class Example

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread OscarP
Hi Leonard, OscarP wrote: > > Probably this is not the right way to get the PDF contents, but I see no > other way to do it, and I don't > know what else I can try. > I know this. My code extracts only the text of one page and then compares this text with another page. If i Knew how to do i

Re: [iText-questions] Code Correction

2009-05-26 Thread 1T3XT info
Santiago Osorio wrote: > Hello. > > I get the code example for PDF creation iText. > But have errors. > > width and height attributes accesed from outside and @Override notation > missing. The @Override is unnecessary (it's a warning, not an error). I don't understand your other remark. You'll

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Mike Marchywka
> From: > To: itext-questions@lists.sourceforge.net > Date: Tue, 26 May 2009 07:57:52 -0700 > Subject: Re: [iText-questions] How can compare the content of two revision > > Clearly, you haven't read the PDF Reference/ISO 32000-1 in order to > understand

Re: [iText-questions] How can compare the content of two revision

2009-05-26 Thread Leonard Rosenthol
Clearly, you haven't read the PDF Reference/ISO 32000-1 in order to understand PDF and all that it contains if you believe that your presented code is, in any way, a valid way to compare documents... Leonard -Original Message- From: OscarP [mailto:opasc...@gmail.com] Sent: Tuesday, May

Re: [iText-questions] Itext Print Control

2009-05-26 Thread 1T3XT info
dfrey wrote: > Is there a way a pdf document created with iText can be encrypted to control > the number of times it can be printed. No. > If not could you suggest for me > another library that can enable print control. Use Google, search for "PDF DRM Solutions". Don't expect to get something fo

Re: [iText-questions] Itext Print Control

2009-05-26 Thread Leonard Rosenthol
After you create the PDF with iText, you can use a commercial solution such as Adobe LiveCycle Rights Management Server or FileOpen Publisher to add such rights to the file. Leonard -Original Message- From: dfrey [mailto:fred.od...@gmail.com] Sent: Tuesday, May 26, 2009 10:03 AM To: it

[iText-questions] Itext Print Control

2009-05-26 Thread dfrey
Is there a way a pdf document created with iText can be encrypted to control the number of times it can be printed. If not could you suggest for me another library that can enable print control. -- View this message in context: http://www.nabble.com/Itext-Print-Control-tp23723403p23723403.html S

[iText-questions] iTextSharp: embedding a video

2009-05-26 Thread Sander Bisschops
Hi, I've searched the internet a bit for this one and it looks like iText (the Java one) supports embedding videos in PDF documents, using Annotation. However, It looks like there's no such thing in iTextSharp... Is it possible to embed videos using iTextSharp and if so, where should I be looki

Re: [iText-questions] how to extract pages from some PDFs, merge them with/without rotation into a new PDF?

2009-05-26 Thread Paulo Soares
Another option: change the rotation key in PdfReader and use PdfCopy to join the pages. Paulo > -Original Message- > From: 1T3XT info [mailto:i...@1t3xt.info] > Sent: Tuesday, May 26, 2009 11:52 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] how to e

Re: [iText-questions] how to extract pages from some PDFs, merge them with/without rotation into a new PDF?

2009-05-26 Thread 1T3XT info
oyster wrote: > My case is: I have many PDFs, I want to extract some interesting > pages, them bind the pages into a new PDF. but before writing, some > pages have to be rotated. OK. There's more than one way to do this. > I have searched and read http://1t3xt.info, but I don't think I have > fou

Re: [iText-questions] require help for itext

2009-05-26 Thread Alexis Pigeon
Hi alex, 2009/5/26 alex : > dear , >   i cannot find about itext for rtf directory  when i use itext ,i donot > konw how to make directory ? Your question doesn't make much sense, so here are two links I guess could be useful : - RTF in iText : [1] - create a directory in Java : [2]. Note that th

[iText-questions] how to extract pages from some PDFs, merge them with/without rotation into a new PDF?

2009-05-26 Thread oyster
My case is: I have many PDFs, I want to extract some interesting pages, them bind the pages into a new PDF. but before writing, some pages have to be rotated. I have searched and read http://1t3xt.info, but I don't think I have found what I need 1. http://1t3xt.info/examples/browse/?page=example&id

Re: [iText-questions] require help for itext

2009-05-26 Thread 1T3XT info
alex wrote: > dear , > i cannot find about itext for rtf directory Are you saying you can't find the RTF package? It's in a different jar. > when i use itext ,i donot > konw how to make directory ? Are you asking how to create a directory? That's off-topic on this list; it doesn't involve i

[iText-questions] require help for itext

2009-05-26 Thread alex
dear , i cannot find about itext for rtf directory when i use itext ,i donot konw how to make directory ? alex-- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side dev

Re: [iText-questions] Problème with image and text

2009-05-26 Thread EVENO Manuel
>> The reason why you didn't get an answer, is because: >> 1) your "example" is beyond repair; you're doing it all wrong. I was supposing that :) but despite reading docs and examples, this was the only working one ... >> 2) somebody should write an example to show you how to do it, but that tak

Re: [iText-questions] Problème with image and text

2009-05-26 Thread 1T3XT info
EVENO Manuel wrote: > Any idea from someone ? Yes. > Maybe there another way to create this title bar that could work ? The reason why you didn't get an answer, is because: 1) your "example" is beyond repair; you're doing it all wrong. 2) somebody should write an example to show you how to do it

Re: [iText-questions] - Re: Can't print generated PDF in Mac OS (AdobeReader) - Email found in subject

2009-05-26 Thread 1T3XT info
Alexander Filipchik wrote: > Think, I found cause the problem. > I experimented with simple pdf, and removing > > writer.setDefaultColorspace(PdfName.COLORSPACE, PdfName.DEFAULTCMYK) > > helped me generate printable PDF. You're not using the method correctly. Please read the Javadoc API: http

Re: [iText-questions] Problème with image and text

2009-05-26 Thread EVENO Manuel
Any idea from someone ? Maybe there another way to create this title bar that could work ? Thanks Manuel De : EVENO Manuel [mailto:mev...@generali.fr] Envoyé : lundi 25 mai 2009 11:32 À : itext-questions@lists.sourceforge.net Ob

Re: [iText-questions] - Re: Can't print generated PDF in Mac OS (AdobeReader) - Email found in subject

2009-05-26 Thread Alexander Filipchik
Think, I found cause the problem. I experimented with simple pdf, and removing writer.setDefaultColorspace(PdfName.COLORSPACE, PdfName.DEFAULTCMYK) helped me generate printable PDF. Adding this line will produce unprintable in Mac Reader PDF even in simplest example: Document document = new D

Re: [iText-questions] iText jar 1.3

2009-05-26 Thread 1T3XT info
Lakshmi NarasimhanN , Tidel Park - Chennai wrote: > Hi > > I am migrating an application from jdk1.3 to jdk1.5, the application > uses iText1.3.jar and want to know if this will work fine in jdk1.5 > under WAS6.1 ? iText 1.3 dates from April 6, 2005. That's more than 4 years ago... > Also want

[iText-questions] iText jar 1.3

2009-05-26 Thread Lakshmi NarasimhanN , Tidel Park - Chennai
Hi I am migrating an application from jdk1.3 to jdk1.5, the application uses iText1.3.jar and want to know if this will work fine in jdk1.5 under WAS6.1 ? Also want to know if any known problem on this like performance problem or any suggestions to migrate to nearest iTextJars with bug fixes on