Re: [iText-questions] Move Table in existing PDF

2011-01-20 Thread LaserCom Amalgam
Thank you for the info. From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: 21 January 2011 09:03 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Move Table in existing PDF Op 21/01/2011 6:49, Michéle Johl (LaserCom Amalgam) schreef: When using iTextSharp the following pag

Re: [iText-questions] Move Table in existing PDF

2011-01-20 Thread 1T3XT BVBA
Op 21/01/2011 6:49, Michéle Johl (LaserCom Amalgam) schreef: When using iTextSharp the following page contents need to move: /R8 9.17085 Tf 1 0 0 1 52.9734 688.989 Tm (Managed By)Tj 0.000277686 Tc 51.4977 0 Td The co-ordinates of 52.9734 x 688.989 needs to change to 75 x 600. Is it possib

Re: [iText-questions] Issue with opening pdf inside IExplore in Adobe Reader X

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 20:03, Karthik Paul Ramachandran schreef: I am creating pdfs using itextsharp. The pdfs open fine in all browsers and when saved and opened separately in Reader but not when opening from IE. So you've established that the problem is NOT caused by iText. I am not able to figu

[iText-questions] Filling text fields and signatures

2011-01-20 Thread JG Diseñador Multimedia
Hi, I have a signature of certification in pdf document by iText This certifified pdf document allows filling forms, signature, and add pages The document has got a text field and I'm trying to fill the field and sign again the pdf document, but I have got a problem. SIGNED1 and SIGNED

Re: [iText-questions] RemoveField(key, page) with same-name textfields?

2011-01-20 Thread newbie2itext
test document: http://itext-general.2136553.n4.nabble.com/file/n3228092/sample.pdf sample.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/RemoveField-key-page-with-same-name-textfields-tp3228086p3228092.html Sent from the iText - General mailing list archive at N

[iText-questions] RemoveField(key, page) with same-name textfields?

2011-01-20 Thread newbie2itext
Guys, how does RemoveField(key, page) handle text fields with the same name on the same pages? Test Code: -- List keysColl = new List(acroFields.Fields.Keys); foreach (string key in keysColl) { if (acroFields.GetField(key) != null) {

Re: [iText-questions] Problem copying images from pdf generated using itextsharp

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 17:27, David Briggs schreef: Hi all Hope someone can help. A client has noticed that attempting to paste an image copied from a pdf generated using iTextSharp doesn't work as expected -- the pasted image is the right size, but it's as if the picture itself has been moved down a

Re: [iText-questions] Image distorted when the resolution changed to 600dpi

2011-01-20 Thread Paulo Soares
Looks like the viewer has problems anti-aliasing such a small image or maybe you are expecting too much from the image at those dimensions. I'm just guessing, you didn't show us any PDF. Paulo -Original Message- From: Sumeet [mailto:sumeet...@gmail.com] Sent: Thursday, January 20, 2011

Re: [iText-questions] Image distorted when the resolution changed to 600dpi

2011-01-20 Thread Sumeet
I am using a PDF Stamper to insert an image in already existing image PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("XYZ.pdf")); Image img = Image.getInstance("ABC.jpg"); img.setAbsolutePosition(50,710); img.scalePercent(12f); PdfContentByte cb = stamper.ge

[iText-questions] Problem copying images from pdf generated using itextsharp

2011-01-20 Thread David Briggs
Hi all Hope someone can help. A client has noticed that attempting to paste an image copied from a pdf generated using iTextSharp doesn't work as expected - the pasted image is the right size, but it's as if the picture itself has been moved down a bit and the top part of the image is left blan

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread TvT
> Op 20/01/2011 11:08, TvT schreef: > > And now to use that against all the "old" iText users seem wrong to me. > It will be an argument for companies that: > - can afford buying a license, but don't. > - cost plenty of time because they "demand" support for iText 2.1.7. > I disagree - two reasons:

Re: [iText-questions] how to extract embedded file attachment from pdf with itextsharp

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 12:36, a.de...@steigauf.de schreef: Hi, here is an example-PDF with Attachments. Which possibility is there in itextsharp to extract the attached files, if the files attached to the PDF as file attachment annotations and not covered in my code? I ran a test on your file, and this

Re: [iText-questions] Reg:PopUp window when opening a PDF file that has been changed by iTextSharp

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 14:21, shiyas pk schreef: Hi All, I am getting a PopUp window when i am opening a PDF file that has been changed using iTextSharp. The message is as follows *This document enabled extended features in Adobe Reader. The document has been changed since it was crea

[iText-questions] Reg:PopUp window when opening a PDF file that has been changed by iTextSharp

2011-01-20 Thread shiyas pk
Hi All, I am getting a PopUp window when i am opening a PDF file that has been changed using iTextSharp. The message is as follows *This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features in no longer

Re: [iText-questions] Company stationery

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 11:40, Patrick Dürsteler schreef: At the moment I do it like this: PRStream toChange = (PRStream)obj; String content = new String(PdfReader.getStreamBytes((PRStream)obj)); content = content.replace("1 1 1 rg\n0 792 m\n612 792 l\n612 0 l\n0 0 l\n0 792 l\nh\nf",""); toChange.setData

Re: [iText-questions] Company stationery

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 11:28, Patrick Dürsteler schreef: > Hello > > Thanks for your help! My Question was more if there is an function in > iText to remove a such a pattern. I'm really new to iText and Java. > I'm more common with PostScript and PDF Syntax. Wow, that changes everything! If you're familiar

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 11:08, TvT schreef: > And now to use that against all the "old" iText users seem wrong to me. It will be an argument for companies that: - can afford buying a license, but don't. - cost plenty of time because they "demand" support for iText 2.1.7. Many companies send mail to: - sales

Re: [iText-questions] read text formatting

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 12:57, Rupesh Swami schreef: > is it possible to extract the location and formatting information > existing PDF file? i dont want to create PDF viewer. I simply want to > extract text from existing file(with location and Formatting info) You need the com.itextpdf.text.pdf.parser cla

[iText-questions] read text formatting

2011-01-20 Thread Rupesh Swami
is it possible to extract the location and formatting information existing PDF file? i dont want to create PDF viewer. I simply want to extract text from existing file(with location and Formatting info) -- Please, consider your environmental responsibility. Before printing this e-mail ask yoursel

Re: [iText-questions] Company stationery

2011-01-20 Thread Patrick Dürsteler
At the moment I do it like this: PRStream toChange = (PRStream)obj; String content = new String(PdfReader.getStreamBytes((PRStream)obj)); content = content.replace("1 1 1 rg\n0 792 m\n612 792 l\n612 0 l\n0 0 l\n0 792 l\nh\nf",""); toChange.setData(content.getBytes()); On Thu, Jan 20, 2011 at 11:2

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread TvT
2011/1/20 1T3XT BVBA <> > Op 20/01/2011 9:39, TvT schreef: > > This sounds threatening. > It's not a threat, it's business. > > May I ask what do you mean by that? > No, not until we have legal certainty. So i am curious how this will turn out since LGPL / MPL says otherwise - but i'm sure you'l

Re: [iText-questions] ColumnText.yLine, Font.size and BaseFont.ascentPoint/descentPoint [iText 2.1.7]

2011-01-20 Thread bluepin
with help of ColumnText.linesWritten and maxAscent, maxDescent, finally got an acceptable look and feel for paragraph's style - like P+CSS -- View this message in context: http://itext-general.2136553.n4.nabble.com/ColumnText-yLine-Font-size-and-BaseFont-ascentPoint-descentPoint-iText-2-1-7-tp32

Re: [iText-questions] Inserting Html text into editable form field in pdf using iTextSharp

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 9:27, Harsha D. schreef: Hi, I’ve been using iTextSharp dll to populate the form fields of an editable pdf through .net application. It’s working fine, except the an with inserting the html contents into the form fields. I’m trying to insert a table with few rows and columns

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 9:39, TvT schreef: > This sounds threatening. It's not a threat, it's business. > May I ask what do you mean by that? No, not until we have legal certainty. -- Protect Your Site and Customers from Malware Att

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread TvT
> > > The last version for JDK 1.4 was 2.1.7. > > The good thing about that version is that it is the last version with > > LGPL license (no need to pay) > "No need to pay" is not a good argument. > We've probably found a legal means that will take away the "no need to > pay" argument that prevents

Re: [iText-questions] Is iText able to create document according to the PDF/A standard

2011-01-20 Thread Siegfried Raab
Thank You. Now I got it. Von: jmrrva [mailto:jmr...@gmail.com] Gesendet: Mittwoch, 19. Januar 2011 18:27 An: Post all your questions about iText here Betreff: Re: [iText-questions] Is iText able to create document according to the PDF/A standard 2011/1/19 Alexis Pigeon Hi Siegfried,

[iText-questions] Inserting Html text into editable form field in pdf using iTextSharp

2011-01-20 Thread Harsha D .
Hi, I've been using iTextSharp dll to populate the form fields of an editable pdf through .net application. It's working fine, except the an with inserting the html contents into the form fields. I'm trying to insert a table with few rows and columns into the form field. But, my Html code is b

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 9:02, TvT schreef: > The last version for JDK 1.4 was 2.1.7. > The good thing about that version is that it is the last version with > LGPL license (no need to pay) "No need to pay" is not a good argument. We've probably found a legal means that will take away the "no need to pay" a

Re: [iText-questions] Company stationery

2011-01-20 Thread 1T3XT BVBA
Op 20/01/2011 9:17, Patrick Dürsteler schreef: > Hello > > I've chosen the first option, but I need some help: > > I've found the object, but it's the one with the text in it! Is there > also a option to remove the white are in this case? (See attached pdf, > obj 2) As far as I understand, you've

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread TvT
The last version for JDK 1.4 was 2.1.7. The good thing about that version is that it is the last version with LGPL license (no need to pay) and the "bad" it is not supported/maintained anymore... Regards, ToM 2011/1/19 Duffy, Columb > Hi there > > We’re looking at iText with a view to using it

Re: [iText-questions] FontFactory.registerDirectory(dir)

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 18:50, M. Niedermair schreef: > Hi, > >> As shown in table 11.3, iText comes with a class CFFFont. >> It deals with fonts with extension .otf that use the Compact Font >> Format. > > the LinLibertine-Font is a UnicodeFull OpenTypeFont with CFF (more > than 2500 gylphs). > > If I use

Re: [iText-questions] FontFactory.registerDirectory(dir)

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 18:51, M. Niedermair schreef: > Hi, > >> Another question: >> It is correct, that the method registerDirectory(...) load the font and >> store the fontname and the path. If I use the Font with getFont(..), the >> file is open and read again? > sorry, that I ask again, but I got no ans

Re: [iText-questions] extracting alternative tags?

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 22:41, Karen Wei schreef: Hi, Is it possible to use iText to extract alternative tags from an image or a table? If you are referring to the tags as in "Tagged PDF", then yes this is possible. Read chapter 15 of the book. If you are referring to extra keys in an image dictionary

Re: [iText-questions] Image distorted when the resolution changed to 600dpi

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 19:29, Sumeet schreef: I am having a problem where in the JPEG image is getting distorted when i change the image resolution to 600dpi in a pdf. I am using the method img.scalePercent(12f); to change the resolution of the image to 600dpi We can't reproduce that problem. You'll ha

Re: [iText-questions] When did Java 1.5 code get introduced?

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 10:54, Duffy, Columb schreef: Hi there We're looking at iText with a view to using it on one of our projects--just the evaluation stage for now though. We're limited in that the JDK version of the particular production system we want to use it on is JDK 1.4 compliant. We have

Re: [iText-questions] how to extract embedded file attachment from pdf with itextsharp

2011-01-20 Thread 1T3XT BVBA
Op 19/01/2011 10:30, a.de...@steigauf.de schreef: Hi, I have some PDF's with embedded attached files. I would like to use iTextSharp to extract these files to a temp directory so that I can work with them further. Files can be attached to a PDF in two ways: - as document-level attachment