[iText-questions] PDFStamper Moreinfo

2010-05-17 Thread Murugesh Annadurai
Hi Paulo, Thanks for the reply. Under what XMP schema do they go? I also have a kind of general question. Is there a possibility for some documents (not necessarily created using iText) to have only DocInfo and not XMP metadata? Should I check both these places to read the document's metad

Re: [iText-questions] How to detect the absolute height of previous last line of "text"?

2010-05-17 Thread Lu, Tao (MOH)
Hi, Guys, Any clue? Many thanks! Best Regards, Tao > _ > From: Lu, Tao (MOH) > Sent: May 13, 2010 1:27 PM > To: itext-questions@lists.sourceforge.net > Subject: How to detect the absolute height of previous last line > of "text"?

Re: [iText-questions] Acroform bordercolor null

2010-05-17 Thread Arnaud Garcia
Hi Mark and thanks for helping, I am very sorry, but I don't understand what to do, because I already set a value to the field after setting the border to null. I also tried using: form.regenerateField("myField"); here the code, and the pdf file : PdfReader pdfreader = new PdfReader("test.pdf");

[iText-questions] Digital Signature - Externally Signed?

2010-05-17 Thread chorpeac
I need to be able to sign on the client (since no private key is on the server), and then pass the bytes to the server (where iTextSharp resides) to apply the signature. Can this be done? I checked this out http://itextpdf.sourceforge.net/howtosign.html#signextstd http://itextpdf.sourceforge.

Re: [iText-questions] Reading and Parsing Tagged Pdf

2010-05-17 Thread Mark Storer
Based on the description of TaggedPdfReaderTool: "Converts a tagged PDF document into an XML file. " ...I'd say you're misusing the class. You should be writing out that XML file and then examining it. Now if that's what you're already doing, then the class has a bug. Submit a PDF, and the o

Re: [iText-questions] iText Read Chuncks of PDF into java

2010-05-17 Thread Mark Storer
Don't we have a FAQ for this somewhere? Extracting text from PDF is a Nontrivial Exercise. It's flippin' hard. Text in PDF is just characters and coordinates. No paragraphs or rows or lines. Just "draw glyph foo of font bar with this transformation matrix ()". Often, you can avoid the "gly

Re: [iText-questions] iText causing thread stuck

2010-05-17 Thread Mike Marchywka
> Date: Mon, 17 May 2010 09:02:24 -0700 > From: msto...@autonomy.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] iText causing thread stuck > > I googled "stuck executethread", and the discissions I turned up were >

Re: [iText-questions] iText causing thread stuck

2010-05-17 Thread Mark Storer
I googled "stuck executethread", and the discissions I turned up were about a fixed max thread run time that was configurable (and seems to default to 600 seconds, 10 minutes). Your "self-tuning" thing may be ignoring that in favor of something Fancy. I suspect you need to find a way to tell your

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Leonard Rosenthol
-Original Message- From: Mark Storer [mailto:msto...@autonomy.com] Sent: Monday, May 17, 2010 11:50 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Encryption and XFA Forms You need to set th

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Leonard Rosenthol
XFA fields support lock/read-only attributes as well. You need to change XML in the XFA template. Same idea as form filling the XFA, but different place in the grammar. -Original Message- From: Adam Carless [mailto:adam.carl...@hansard.com] Sent: Monday, May 17, 2010 11:36 AM To: itex

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Mark Storer
You need to set them to locked in the XML, from "is" in your case. Messing with the PDF directly is very hit-or-miss, and can easily change from one version to the next. That your code works could easily be considered a bug to be fixed in the next point release of Adobe's various PDF viewers. I'm

Re: [iText-questions] Acroform bordercolor null

2010-05-17 Thread Mark Storer
Simply changing the value of the border color isn't enough. You need to force the field to generate a new appearance as well. Setting its value (even to its current value) will do the trick. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard =

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Adam Carless
Hi Leonard, > You are directly writing XFA form information (via fillXfaForm) > BUT_ then you use the acroFields APIs to change the lock state > - you can NOT mix these two! Either you are working with XFA > _OR_ you are working with AcroForms. It's like cross the > streams That does

[iText-questions] iText Read Chuncks of PDF into java

2010-05-17 Thread crimeunit
Hello, I'm spending a lot of time after searching a solution of my following problem; with the iText in Java I wan't to read out the Chunks for each paragraph. (because I want to have a list of all 'links-to-other-pdf-file') if I have a first test application that's working for getting thee

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Leonard Rosenthol
Adam - I'm confused!! You are directly writing XFA form information (via fillXfaForm) _BUT_ then you use the acroFields APIs to change the lock state - you can NOT mix these two! Either you are working with XFA _OR_ you are working with AcroForms. It's like cross the streams Leonard -

Re: [iText-questions] Encryption and XFA Forms

2010-05-17 Thread Adam Carless
Big thanks to Mark and Leonard for all your help, I've finally got my head around the problem now and sorted out the solution. In case it's useful to anyone else, here's the core code I've ended up with to fill in and lock an XFA form (ignoring any AcroForm parts). This code doesn't include any

[iText-questions] Question about iText and fields

2010-05-17 Thread Florin.ZOE
Hello, My name is Florin ZOE. I am a Java Developer and I develop an application which uses iText 2.1.7 in order to generate on the fly a pdf file from within a Spring application. So basically the view for one of my Spring controllers is a Java class which extends AbstractPdfView class. It took

[iText-questions] Question about iText and fields

2010-05-17 Thread Florin Zoe
Hello, My name is Florin ZOE. I am a Java Developer and I develop an application which uses iText 2.1.7 in order to generate on the fly a pdf file from within a Spring application. So basically the view for one of my Spring controllers is a Java class which extends AbstractPdfView class. It t