Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Font.getFamily()I

2010-10-29 Thread John Hurst
Check and see whether WebLogic (or anything else) has another version of iText in your classpath. John Hurst Wellington, New Zealand On Sat, Oct 30, 2010 at 5:21 AM, Semaphore wrote: > > Hi all, > > I'm always getting this NoSuchMethodError, but i've ensured that the > iText.jar (which contains

Re: [iText-questions] Valid ICC profile file

2010-10-29 Thread Paulo Soares
http://article.gmane.org/gmane.comp.java.lib.itext.general/31582/ - Original Message - From: Tom To: itext-questions@lists.sourceforge.net Sent: Friday, October 29, 2010 6:02 PM Subject: [iText-questions] Valid ICC profile file Does anyone have a valid srgb.profile file?

[iText-questions] Valid ICC profile file

2010-10-29 Thread Tom
Does anyone have a valid srgb.profile file? Tom -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million tota

[iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Font.getFamily()I

2010-10-29 Thread Semaphore
Hi all, I'm always getting this NoSuchMethodError, but i've ensured that the iText.jar (which contains the class "Font" with this method; date of content of Jar 12.JULY.2008 02:27 p.m.) is included in my WebApplication. Any ideas, what goes wrong ? Thanks + best regards. D. Caused by: java.lan

Re: [iText-questions] Signature is invalid for pdf

2010-10-29 Thread mkl
Alexander, Raitskin Alexander wrote: > But how then you explain that I can sign other documents with the same > signature without any errors? As mentioned in another reply to your initial message in this thread, the behaviour of Acrobat seems to indicate that there already is some PDF error in t

Re: [iText-questions] PdfPCell.setBackgroundColor() - alpha has no effect

2010-10-29 Thread kenstershiro
Thanks, got it working with a PdfPCellEvent and PdfGState.setFillOpacity() For completeness not sure if a bug report should be raised that the alpha parameter of BaseColor has no effect on the cell background? -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfPCell-

Re: [iText-questions] Signature is invalid for pdf

2010-10-29 Thread Raitskin Alexander
But how then you explain that I can sign other documents with the same signature without any errors? I'll publish another (correct) pdf as an example on Sunday. -Original Message- From: mkl To: itext-questions@lists.sourceforge.net Sent: Fri, Oct 29, 2010 10:59 am Subject: Re: [iTex

[iText-questions] PDF/A Invalid ICC profile

2010-10-29 Thread Tom
I'm attempting to generate a PDF/A document. I'm having trouble with the color profile. After several attempts I'm now using the code at http://egovlabs.gv.at/plugins/scmsvn/viewcvs.php/trunk/src/main/java/at/gv/egiz/pdfas/itext/IText.java?rev=580&root=pdf-as&view=auto Together with its color s

[iText-questions] Why com.itextpdf.text.pdf.parser.TextRenderInfo doesn't compute string width with kerning information ?

2010-10-29 Thread Gilles Mazoyer
Hello I think TextRenderInfo should use kerning information to compute the string width. Like com.itextpdf.text.pdf.PdfContentByte.getEffectiveStringWidth() BR Gilles -- Nokia and AT&T present the 2010 Calling All In

[iText-questions] Could the method invokeOperator of com.itextpdf.text.pdf.parser.PdfContentStreamProcessor be protected instead of private ?

2010-10-29 Thread Gilles Mazoyer
Hello I need a way to filter some text string of the content stream. For now either i derive a class and redefine processContent with almost the same code, either i register my owns operator handler for TJ and Tj. If the method invokeOperator was protected it would offer another method, IMO sim

[iText-questions] Missing getter for private of class members textToUserSpaceTransformMatrix and gs com.itextpdf.text.pdf.parser.TextRenderInfo

2010-10-29 Thread Gilles Mazoyer
Hello I think getter for private members 'textToUserSpaceTransformMatrix', 'gs' and 'markedContentInfos' would be interesting. This members are initialized in the constructor but we can't access them after. And it would be coherent with the class ImageRenderInfo where there are getter for the p

Re: [iText-questions] PdfPCell.setBackgroundColor() - alpha has no effect

2010-10-29 Thread kenstershiro
info wrote: > > On 29/10/2010 10:53, Kenneth Barron wrote: >> I am trying to set the alpha level of a color using >> PdfPCell.setBackgroundColor() >> I have tried with both the int and float signatures, setting the 4th >> parameter (alpha) to different valid numbers, but the alpha seems to >> ha

Re: [iText-questions] PdfPCell.setBackgroundColor() - alpha has no effect

2010-10-29 Thread 1T3XT info
On 29/10/2010 10:53, Kenneth Barron wrote: > I am trying to set the alpha level of a color using > PdfPCell.setBackgroundColor() > I have tried with both the int and float signatures, setting the 4th > parameter (alpha) to different valid numbers, but the alpha seems to > have no effect on the colo

Re: [iText-questions] Data mining with iTextSharp

2010-10-29 Thread 1T3XT info
On 29/10/2010 10:23, anna@hotmail.it wrote: > Hi, > How do I get the text with the method RegionTextRenderFilter? > I'm sorry, but I don't know iTextSharp very well. > Could you give me an example of code? There's an example on page 522. http://itextpdf.com/book/ Please don't answer to people

Re: [iText-questions] Signature is invalid for pdf

2010-10-29 Thread mkl
Alexander, Raitskin Alexander wrote: > When I try to sign this file: > http://www.darina.us/code/peles.pdf > I get an error when I open it in Acrobat Reader 9. BTW, I just noticed that Acrobat wants to save both the original and the signed document when closing. This seems to indicate that there

Re: [iText-questions] Signature is invalid for pdf

2010-10-29 Thread mkl
Alexander, Raitskin Alexander wrote: > Error during signature verification. > > Unexpected byte range values defining scope of signed data. > Details: The signature byte range is invalid > > What is wrong with this file? > > http://www.darina.us/code/peles1.pdf Now in office I could have a

[iText-questions] PdfPCell.setBackgroundColor() - alpha has no effect

2010-10-29 Thread Kenneth Barron
I am trying to set the alpha level of a color using PdfPCell.setBackgroundColor() I have tried with both the int and float signatures, setting the 4th parameter (alpha) to different valid numbers, but the alpha seems to have no effect on the color. Is this a know issue and if so is there a workaro