Re: [iText-questions] Set field horizontal alignmentusing AcroFields

2009-04-24 Thread Bordeman, Chris
Does acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_CENTER, null); not work? Chris -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Friday, April 24, 2009 2:59 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Set field hor

Re: [iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
Well, looks like a 0 size does the trick. Thanks anyway. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 3:31 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Setting 'auto' font using AcroFiel

Re: [iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
Just to clarify, I'm referring to the automatic font SIZE. The actual font is known. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 3:24 PM To: Post all your questions about iText here Subject: [iText-questions] Setting 'au

[iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
How can this be done? I see how to set the font but nothing about using the 'Auto' choice presented by Acrobat. Many thanks again... Chris -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplif

Re: [iText-questions] org.dom4j ???

2009-04-24 Thread 1T3XT info
Matt Kuenzel wrote: > > What about the libraries org.dom4j.* ??? What about them? > They are imported in the source but you don't mention them in the > install procedure. Where are they imported? Not in the core iText! Pnly in RUPS. What are you doing with RUPS if I might ask? (Note that I'm

Re: [iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread 1T3XT info
Bordeman, Chris wrote: > Never mind. See now. This is the example I made for further reference: http://1t3xt.be/?X000508 Let me know if I overlooked a better way to do it. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

[iText-questions] org.dom4j ???

2009-04-24 Thread Matt Kuenzel
What about the libraries org.dom4j.* ??? They are imported in the source but you don't mention them in the install procedure. Thanks, Matt -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplif

Re: [iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread Bordeman, Chris
Never mind. See now. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 1:12 PM To: Post all your questions about iText here Subject: [iText-questions] Set field horizontal alignment using AcroFields I have the AcroFields obje

Re: [iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread 1T3XT info
Bordeman, Chris wrote: > I have the AcroFields object, can't figure out how to change the > horizontal alignment for all fields w/ a certain name... Thanks! Alignment in AcroForm fields is called Quadding, defined as: A code specifying the form of quadding (justification) to be used in displayin

[iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread Bordeman, Chris
I have the AcroFields object, can't figure out how to change the horizontal alignment for all fields w/ a certain name... Thanks! -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensi

Re: [iText-questions] Formatting a table of contents

2009-04-24 Thread 1T3XT info
Ockleford Paul (NHS Connecting for Health) wrote: > Hi, > > I have successfully managed to create a table of contents dynamically > and append 2 pdf files together. My question is regarding the formatting > of the table of contents as it doesnt look very appealing. What do you mean? Are you t

[iText-questions] Formatting a table of contents

2009-04-24 Thread Ockleford Paul (NHS Connecting for Health)
Hi, I have successfully managed to create a table of contents dynamically and append 2 pdf files together. My question is regarding the formatting of the table of contents as it doesnt look very appealing. Is there any information available on how to do this? Thanks, Paul Paul Ockleford Dev

Re: [iText-questions] Rotate second page of a document

2009-04-24 Thread 1T3XT info
turib...@tiscali.it wrote: > Hi all. I'm creating a pdf with some tables. I want to rotate the 2 > page of this document to best fit one table. How can I do that? Go to the "keywords" page: http://1t3xt.be/?X0001e6 Do Ctrl+F to find "rotat". Click on the keywords containing "rotate". You'll find

[iText-questions] Rotate second page of a document

2009-04-24 Thread turib...@tiscali.it
Hi all. I'm creating a pdf with some tables. I want to rotate the 2 page of this document to best fit one table. How can I do that? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified li

Re: [iText-questions] Add sign to pdf

2009-04-24 Thread mkl
Ángel, as you seem to want to get rid of that setCrypto call, you might want to take a look at http://www.nabble.com/signing-pdf-with-external-signature-to21917425.html#a22053082 http://www.nabble.com/signing-pdf-with-external-signature-to21917425.html#a22053082 The code there signs using iTe

Re: [iText-questions] Add sign to pdf

2009-04-24 Thread Andreas Kuehne
Hi Ángel, I didn't follow the whole set of your problem, but iirc you already got a ready-made signature from somewhere. In this case you just have to insert it into the signature placeholder within the PDF that MUST exist. So you just have to replace the byte in it with the signature bytes..

Re: [iText-questions] Add sign to pdf

2009-04-24 Thread amcereijo cereijo
Hi, i know that this code fail because the line "sap.setCrypto(null, chain, null, null);" can not be commented. However, I can uncomment the line because I do not have a pkcs12 file, but a p7s file. Is there any way to use that p7s file like a pkcs12? Thanks, Ángel 2009/4/22 amcereijo cereijo

Re: [iText-questions] Conversion HTML Doc. to PDF Doc.

2009-04-24 Thread 1T3XT info
Rutvik Upadhyay wrote: > Hello, > > I have one well formatted HTML document. Can we convert that HTML > document as it is into PDF using iText API? Yes, if you also use Flying Saucer: https://xhtmlrenderer.dev.java.net/ > Will format of the PDF Doc. be same like HTML Doc.? I'm sorry, but that

Re: [iText-questions] Nested List Item Not Displayed?

2009-04-24 Thread 1T3XT info
EricKinat wrote: Am I doing something wrong with nested lists? I'm trying to extend the sample in Chapter 4 (iText in Action) that reads in a simple HTML document to allow for nested lists. I'm sorry, I can't reproduce the problem. See attachments. -- This answer is provided by 1T3XT BVBA ht

[iText-questions] Conversion HTML Doc. to PDF Doc.

2009-04-24 Thread Rutvik Upadhyay
Hello, I have one well formatted HTML document. Can we convert that HTML document as it is into PDF using iText API? Will format of the PDF Doc. be same like HTML Doc.? Do I have to read & store HTML Doc's format settings so I can use those settings to create PDF Doc. If it is so