[iText-questions] problem table in table

2009-12-22 Thread mikees
Hello, I would like to have a table like this : http://old.nabble.com/file/p26890992/report%2Btable.jpg but i don't know how i can do this. I have many problem with border and pdfptable in pdfptable. This is my code : PdfPTable table = new PdfPTable(2); table.setHeaderRows(1);

Re: [iText-questions] Spam: open pdf

2009-12-22 Thread Mark Storer
If you want to display the PDF, then iText isn't going to help you. But Google Knows All: http://www.google.com/search?q=java+pdf+renderer --Mark Storer Senior Software Engineer Cardiff.com #include typedef std::Disclaimer DisCard; > -Original Message- > From: opera deo [ma

[iText-questions] open pdf

2009-12-22 Thread opera deo
sir, I need your guidance with example coding to open a existing pdf file for view through java code on button click..kindly help me.. Thanks, sakthi.n --

Re: [iText-questions] Problems with BackgroundColor in PdfPCell

2009-12-22 Thread Paulo Soares
cell.BackgroundColor = new itext.BaseColor(235,235,235); or cell.BackgroundColor = new itext.BaseColor(System.Drawing.Color.FromArgb(235,235,235)); Paulo > -Original Message- > From: H_L [mailto:henriett...@gmx.de] > Sent: Tuesday, December 22, 2009 10:39 AM > To: itext-questions@l

Re: [iText-questions] How to sign examples

2009-12-22 Thread dahepe
Hi, mkl wrote: > > In that case it would be helpful if you posted the code and an example PDF > signed by that code. > Here you go... Keystore and unsigned PDF: http://old.nabble.com/file/p26889586/itext-keystore.jks itext-keystore.jks (password: password) http://old.nabble.com/file/p2688

[iText-questions] Problems with BackgroundColor in PdfPCell

2009-12-22 Thread H_L
Hi I want to generate the background color in my PdfPCell by myself. But it doesn’t work. What’s wrong? May I missing the forest through the trees… My Code: PdfPCell cell = new PdfPCell(new Paragraph("Test", f9_curier)); cell.BackgroundColor = itext.BaseColor.LIGHT_GRAY; //it works cell.Backgrou

Re: [iText-questions] How to sign examples

2009-12-22 Thread mkl
Daniel, dahepe wrote: > > And this works quite fine (at least Adobe Reader is able to verify the > signature, haven't tried to verify with iText yet). However hashing the > content with a MessageDigest and signing the hash as in the > book's example instead of signing the content directly resul

Re: [iText-questions] How to sign examples

2009-12-22 Thread dahepe
Hi, thanks for the quick responses mkl wrote: > > ... > IF that method is called, it requires the private key object. But there > are a number of examples on the howtosign page you referred to which do > not use that method. > ... > In this case the private key essentially is used to create

Re: [iText-questions] External signature in Wincer Sign Mode SHA256 does not work

2009-12-22 Thread Paulo Soares
For WINCER_SIGNED the hash algorithm has to be SHA1. As I said in another mail the signature code is being revised. Paulo > -Original Message- > From: mamueller [mailto:mamuel...@directbox.com] > Sent: Tuesday, December 22, 2009 8:56 AM > To: itext-questions@lists.sourceforge.net > Sub

Re: [iText-questions] How to sign examples

2009-12-22 Thread mkl
Daniel, dahepe wrote: > > playing around with digital signing using iText I stumbled across the > http://itextpdf.sourceforge.net/howtosign.html "How to sign ..." > examples. > > Especially the examples using external signatures left some questions open > - at least for me. For example the s

[iText-questions] Can't compose RTF documents

2009-12-22 Thread Boryslav Larin
Hi! I'm trying to run RTFHelloWorld example from site. I use iText 2.1.7 I guess I included all needed dependencies, but when I run it I get Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.Paragraph.getSpacingBefore()F at com.lowagie.text.rtf.text.RtfParagraph.(Un

Re: [iText-questions] How to sign examples

2009-12-22 Thread Paulo Soares
The signature code is being revised, the existing code can be confusing. I'm still not sure what the end result will be be the general idea is to have a simple, no questions asked, way of signing and an external signature way of signing where signature dictionaries can be created to fit other ne

Re: [iText-questions] External signature in Wincer Sign Mode SHA256 does not work

2009-12-22 Thread mkl
Manfred, could you please post a small sample PDF file? Thank you! Regards, Michael. mamueller wrote: > > Additional Notes Note: > > The used key is a 1024 RSA. > > < <308202b806092a864886f70d010702a08202a9308202a5020101310b300906052b0e03021a0500302f06092a864886f70d010701a0220420217295cf

[iText-questions] How to sign examples

2009-12-22 Thread dahepe
Hi, playing around with digital signing using iText I stumbled across the http://itextpdf.sourceforge.net/howtosign.html "How to sign ..." examples. Especially the examples using external signatures left some questions open - at least for me. For example the setCrypto method on the PdfSignat

Re: [iText-questions] External signature in Wincer Sign Mode SHA256 does not work

2009-12-22 Thread mamueller
Additional Notes Note: The used key is a 1024 RSA. > mamueller wrote: > > Hello, > > i have tried to run the example

[iText-questions] External signature in Wincer Sign Mode SHA256 does not work

2009-12-22 Thread mamueller
Hello, i have tried to run the example with an external signature in WINCER SIGNED MODE, like described on: (http://itextpdf.sourceforge.net/howtosign.html#signextstd). With Algorithm SHA1 sign and verification works fine. But if i replace the SHA1 through SHA256 the sign process works without er

[iText-questions] External signature in

2009-12-22 Thread mamueller
-- View this message in context: http://old.nabble.com/External-signature-in-tp26885334p26885334.html Sent from the iText - General mailing list archive at Nabble.com. -- This SF.Net email is sponsored by the Verizon

Re: [iText-questions] pdf pagesize

2009-12-22 Thread mister bean
You need to read the documentation. 1 inch = 72 points, so 25.4mm = 72 points. I trust you can handle the remaining arithmetic. Good luck. ---mr. bean Lord Goosfancito wrote: > > Hello, > > in my pdf acrobat one pdf file say (in milimeters) 749.7 x 449.8 mm, in > itextsharp say in points, >