Re: [iText-questions] ItextSharp Digital Signature Image question

2010-06-03 Thread Leonard Rosenthol
Just remember that Adobe no longer supports the "multiple signature appearance layer" model. You want to create a single XObject with the appearance. Leonard -Original Message- From: djdjdj [mailto:d...@donaldlaing.com] Sent: Thursday, June 03, 2010 8:33 AM To: itext-questions@lists.so

Re: [iText-questions] AcroForm learning

2010-06-03 Thread Leonard Rosenthol
I think you are getting a bunch of things mixed up here. The issues with Reader Extensions have NOTHING to do with forms - they have to do with the rights that you've been granted on the file. The rights are limited and they do NOT include modifying the page contents (aka stamping & flattening

Re: [iText-questions] ItextSharp Digital Signature Image question

2010-06-03 Thread mkl
djdjdj, djdjdj wrote: > sap.GetLayer(2).AddImage(watermark); > > The problem that I've seen is that when you start manipulating the layer > appearance manually such as in the code above. An image is added, > formatted and placed correctly, however the remainder of the digital > signature object

Re: [iText-questions] ItextSharp Digital Signature Image question

2010-06-03 Thread djdjdj
Mkl, Thanks for the reply, at least I know I'm not crazy now. Ok, so, I think I'm following what you are saying and I tried to do some sample manipulation with layer2. sap.GetLayer(2).AddImage(watermark); The problem that I've seen is that when you start manipulating the layer appearance manua

Re: [iText-questions] AcroForm learning

2010-06-03 Thread John Renfrew
So. If I do any design in LiveCycle at all I am unable to setFieldProperties(), as my form has XFA in it, even if it is a static PDF. But the tools in Acrobat Pro are quite limited in comparison i.e. comb of characters or validation of dates. Is there a way to remove the XFA BEFORE I set exten

[iText-questions] Links to examples in itextpdf.com all lead to chapter 2 examples only

2010-06-03 Thread Rui Ribeiro
Seems that the links to iTextinAction, SecondEdition, located at http://itextpdf.com/examples/index.php?page=chapters, all lead to the chapter2 examples. Can someone please check it? Thank you. Rui Ribeiro

Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2

2010-06-03 Thread George Li
Hi, Thanks for the reply. The major performance difference between Tomcat and WebLogic happens when I call Document.add(Element arg0) in iText library. This method is called only once in code and inserts only one Element, which is a table with 2000 rows and 7 columns. Tomcat can finish the cal

[iText-questions] Anyway to expand the width of an underline, set width, extend the horizontal length (with PDF gen)

2010-06-03 Thread Brown, Berlin [GCG-PFS]
I am trying to expand the horizontal length/width of underlined text. Basically, if I want the text ABC underlined and the line under ABC is normally 10 pixels. I want to increase that width to 100 pixels, possibly if ABC is centered over the line. final Font fontBlurbWithUnderline = new Font(

Re: [iText-questions] AcroForm learning

2010-06-03 Thread John Renfrew
Mark Thanks for the input. Some helpful pointers The problem with an infinite library is not that the information is not there, it is knowing what to search for to yield profitable results. Some evening reading is in order. john renfrew Right Way Up Office +44 1675 475341 Fax +4

Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2 MP3

2010-06-03 Thread Mike Marchywka
( extra space courtesy of hotmail tired of editing it out) > Date: Thu, 3 Jun 2010 08:55:14 -0700 > From: msto...@autonomy.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2 MP3 > > > > >

Re: [iText-questions] AcroForm learning

2010-06-03 Thread Mark Storer
A: As Bill mentioned, partial form flattening. http://api.itextpdf.com/com/itextpdf/text/pdf/PdfStamper.html#partialFor mFlattening(java.lang.String) String names[] = {...} for(String name : names) { myStamper.partialFormFlattening(name); } Only those fields passed to partialFormFlatte

Re: [iText-questions] iText Perfomance Issue on WebLogic 9.2 MP3

2010-06-03 Thread Mark Storer
That's the first I've heard of it. Can you profile it to see what's taking so long? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: George Li [mailto:g...@varicent.com] Sent: Wedne

Re: [iText-questions] AcroForm learning

2010-06-03 Thread wasegraves
Hi, John. You're looking for "partial form flattening", pp. 71 & 506 in the 1st edition of the book. See also Chapters 6 and 7 in the 2nd edition. Best regards, Bill Segraves From: John Renfrew To: iText-questions@lists.sourceforge.net Sent: Thu, June 3, 2010

[iText-questions] AcroForm learning

2010-06-03 Thread John Renfrew
I have successfully inserted database fields into a form with Acrofields using the form.setField() method I have a separate snippet which uses the contentByte method to add some text with setMatrix(), and a barcode as a cell in a table and then uses write selectedRows method to add this to th

[iText-questions] Question about top margin and headers

2010-06-03 Thread Daniel H. Ardison
Hi, I'm having problems to determine the top margin with room for the header, when this header was written onEndPage event. I couldn't found a way of calculating this margin. I have a method for producing the document that looks like this:             if(this.config.getLandscape()){        

Re: [iText-questions] ItextSharp Digital Signature Image question

2010-06-03 Thread mkl
djdjdj, djdjdj wrote: > the image is applied to the digital signature background with no issue and > the transparency is applied correctly. However, the image is still > stretched to the width and height of the digital signature field. (I assume, iTextSharp and iText essentially work identicall

[iText-questions] modify cell height

2010-06-03 Thread christophe.isson
Hi, I'm trying to generate a table in an RTF document. I need to set the height of the table being generated. But I haven't found any API to set the height of an individual cell. Can you please confirm if it is possible to set the height of a cell? I'd want to reduce the top and bottom empty spa

Re: [iText-questions] Can't get Y coordinates from inside a ColumnText object???

2010-06-03 Thread Greg Holling
Thanks, you answered my question. I looked through the book and the online JavaDoc, and didn't see what I was looking for, so I started grasping at straws. The information wasn't easy to find. I have both editions of the book. The only mention of getLinesWritten() and getYLine() in the new

Re: [iText-questions] GOST algorithm

2010-06-03 Thread Leonard Rosenthol
Given that GOST is not one of the supported algorithms in ISO 32000-1 (the PDF standard), what would be the point? -Original Message- From: Vladimir A. Vorontsov [mailto:d0z...@gmail.com] Sent: Thursday, June 03, 2010 6:16 AM To: itext-questions@lists.sourceforge.net Subject: [iText-ques

[iText-questions] GOST algorithm

2010-06-03 Thread Vladimir A. Vorontsov
Please, add support for GOST algorithm: allowedDigests.put("GOST3411", "1.2.643.2.2.9"); algorithmNames.put("1.2.643.2.2.19", "GOST3410EL"); digestNames.put("1.2.643.2.2.9", "GOST3411"); In com.itextpdf.text.pdf.PdfPKCS7. -- Best regards! Vladimir Vorontsov -

[iText-questions] ItextSharp Digital Signature Image question

2010-06-03 Thread djdjdj
I'm currently in the process of building an application which takes advantage of the itextsharp library. At this point, I am trying to replicate the Adobe watermark image that is generated behind digital signature text when you sign a pdf document from inside of Acrobat. The issue I'm currently