Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
Hi folks, I have another problem. Googling I have found an explaination about it but no solution. It is as follow, Alignment in AcroForm fields is called Quadding, defined as: A code specifying the form of quadding (justification) to be used in displaying the annotation's text: 0 Left-justif

Re: [iText-questions] little API error

2009-07-09 Thread Xavier Le Vourch
Qingyu Han wrote: > Hi, > > I just found an error in the online verion API > (http://www.1t3xt.info/api/), under class Font, method isItalic(): > > |boolean| |*isItalic > *()| > checks if this font is Bold. > > >

[iText-questions] unsubscribe

2009-07-09 Thread Eugen Denk
Eugen Denk Softwareentwickler Softwareentwicklung Tel: Fax: Mail: Web: +49 72 31-5 63 76-404 +49 72 31-5 63 76-66 e...@itmr.de www.itmr.de ITM Research GmbH Blücherstraße 32 · 75177 Pforzheim Geschäftsführer: Adnan Mumbašić Amtsgericht, Registergericht Mannheim HRB 504532 Sitz der Gesellschaf

Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
Hi, I have been googling and I have found the answer to my question. Here is the code snippet, form = stamper.AcroFields form.SetExtraMargin(0, 1) Dim font As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.WINANSI, BaseFont.EMBEDDED) Dim qSize As Single = 6.0F For i = 0 To keys.

Re: [iText-questions] Set font

2009-07-09 Thread dakhla.0563
Hi, Here I have got an example about what I meaning, cell = New PdfPCell(New Paragraph("Deuda:", font)) cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER cell.VerticalAlignment = PdfPCell.ALIGN_TOP cell.Border = PdfPCell.NO_BORDER But in the first case I do not know how to do it. Best Regards, J

Re: [iText-questions] iText and TimeStamp

2009-07-09 Thread redo
I posted in forum the code what resulted "altered" pdf after signing. If I comment ocsp part, the pdf is correctly signed with my smart card. Could someone, please, explain the main idea with OCSP in OcspClientBouncyCastle and PdfPKCS7? I debuged these files from itext source, but I just saw that

[iText-questions] Set font

2009-07-09 Thread dakhla.0563
Hi, I have this code, cell = New PdfPCell cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER cell.VerticalAlignment = PdfPCell.ALIGN_MIDDLE cell.Border = PdfPCell.NO_BORDER cell.CellEvent = New FieldPositioningEvents(writer, COBROS_NO_APLICADOS) Hoe can I set the font? Regards, Jose Alvarez de

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Leonard Rosenthol
Check out the AddToolbarButton sample in the SDK for how to create an iconStream from an arbitrary string of bytes... From: Harshit Bapna [mailto:hrba...@gmail.com] Sent: Thursday, July 09, 2009 11:30 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Issue faced while

[iText-questions] Textfield Style to Paragraph Style

2009-07-09 Thread Thomas Chille
Hi, i am trying to determine the style of an existing multiline textfield to use it on a newly created paragraph. I do this because i have to use line leading wich is not supported in textfields. It works fine except the y-values. They always are differing from field to parargraph, even so the nu

[iText-questions] little API error

2009-07-09 Thread Qingyu Han
Hi, I just found an error in the online verion API (http://www.1t3xt.info/api/), under class Font, method isItalic(): boolean *isItalic *() checks if this font is Bold. I think it should be "checks if this font is Ita

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Harshit Bapna
Thanks I really appreciate your help. Please find my comments inline. On Thu, Jul 9, 2009 at 8:30 PM, Leonard Rosenthol wrote: > You can do dynamic images in AcroForms using push button appearances – so > when you using iText to modify the form, you can embed the image at that > time. -- I want

Re: [iText-questions] text over a TIFF image

2009-07-09 Thread Paulo Soares
Use direct content to place everything. ColumnText takes care of placing the text, fonts, alignment,tables, etc where you want. Paulo > -Original Message- > From: p_repetti [mailto:pierangelo.repe...@gmail.com] > Sent: Thursday, July 09, 2009 4:05 PM > To: itext-questions@lists.sourcefo

Re: [iText-questions] overlapping layers (zindex/depth)

2009-07-09 Thread Paulo Soares
Use only DirectContent, even for images, and everything will work. Paulo > -Original Message- > From: Simon [mailto:s...@arsnavigandi.de] > Sent: Thursday, July 09, 2009 4:00 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] overlapping layers (zindex/de

[iText-questions] text over a TIFF image

2009-07-09 Thread p_repetti
Hello I'd like to create a PDF that contains a TIFF image with text super-imposed on it. In plain words, the TIFF is a document model (eg an invoice), the text is its contents. I guess I can obtain that by creating a new PDF with the text layer, closing it, then re-opening it with a PdfStamper an

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Leonard Rosenthol
You can do dynamic images in AcroForms using push button appearances - so when you using iText to modify the form, you can embed the image at that time. Or if you really wanted something more dynamic, you can also use SOAP calls from the JavaScript to fetch the image on the fly and assign it to

Re: [iText-questions] overlapping layers (zindex/depth)

2009-07-09 Thread Simon
Thank you for the fast replay! I have to use layers anyway because I need to be able to make things visible/invisible. But shouldn't the things you say about "first in, first drawn" also apply to layers? Anyway without layers I also could not get the desired results. In the iText tutorial ch

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Harshit Bapna
Please find my comments inline On Thu, Jul 9, 2009 at 7:42 PM, Leonard Rosenthol wrote: > What do you mean that the image is passed from server? As you are > building/modifying the PDF, right? It’s not coming up dynamically when the > document loads – that’s not supported any longer (since Acr

Re: [iText-questions] overlapping layers (zindex/depth)

2009-07-09 Thread Leonard Rosenthol
I don't think you really mean you are using layers (aka Optional Content) in the PDF - do you? That has nothing to do with z-ordering, hence the reason I ask. The order you add objects to the page is the order they will render - first in, first drawn. So if you go: Image 1 Text 1 Image 2 Te

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Leonard Rosenthol
What do you mean that the image is passed from server? As you are building/modifying the PDF, right? It's not coming up dynamically when the document loads - that's not supported any longer (since Acrobat 8, IIRC). You can only have one type of form in a PDF - either AcroForm or XFA, you can

[iText-questions] unsubscribe

2009-07-09 Thread Ekstrom, Max
unsubscribe -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity

Re: [iText-questions] signature verification with PdfPKCS7

2009-07-09 Thread Paulo Soares
If the reader signature checks ok most probably is iText that has a bug. If you still get the error with the latest iText release please post the PDF for inspection. Paulo > -Original Message- > From: DonCapullo [mailto:martin.summe...@gmail.com] > Sent: Thursday, July 09, 2009 12:02

Re: [iText-questions] signature verification with PdfPKCS7

2009-07-09 Thread DonCapullo
Hi! I'm using PdfPKCS7 for validating signatures on PDF's. I have now the problem that signature validation from one supplier works fine. They use adbe.x509.rsa_sha1 type certificates The new supplier uses adbe.pkcs7.detached type certificates and there I always have the problem that the sig.ver

[iText-questions] overlapping layers (zindex/depth)

2009-07-09 Thread Simon
Hi All, I am facing a problem using layers in iText for which I was unable to find a solution in the book as well as in the mailing list archive. I am dynamically creating layers of which some contain Images while others contain ColumnText. Each layer is supposed to have a certain zindex/depth

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Harshit Bapna
Hi All, Leonard, Thanks for the reply. Few more additions. 1) I stamped a pushbutton and javascripts invoked on the buttonClick and documentOpen event (using iText) on a XFA form PDF (created using designer 8.2) which already had a button and javascript invoked on a button click event. In the f

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Leonard Rosenthol
And you can't mix XFA and AcroForm - which is what you are trying to do (since PushButton is AcroForm). Leonard -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Thursday, July 09, 2009 5:01 AM To: Post all your questions about iText here Subject: Re: [iText-questi

Re: [iText-questions] pdf merge inside a page

2009-07-09 Thread Bruno Lowagie
Paul Stöttinger wrote: > i need page part 1, followed by page part 2 and so on Did you read this FAQ entry: http://1t3xt.be/?X000480 ? Does it answer your question? br, Bruno -- Enter the BlackBerry Developer Challenge

Re: [iText-questions] signature verification with PdfPKCS7

2009-07-09 Thread Paulo Soares
Why do you want to verify an external signature with PdfPKCS7? Paulo > -Original Message- > From: DonCapullo [mailto:martin.summe...@gmail.com] > Sent: Thursday, July 09, 2009 10:32 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] signature verification wi

Re: [iText-questions] signature verification with PdfPKCS7

2009-07-09 Thread DonCapullo
Hi Hans! I'm facing the same problem - how did you solve the issue? kr MArtin -- View this message in context: http://www.nabble.com/signature-verification-with-PdfPKCS7-tp1474867p24407026.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Justify and Justify_ALL Alignment of paragraph

2009-07-09 Thread Paulo Soares
> -Original Message- > From: 熊晨晖 [mailto:chen_pl...@live.cn] > Sent: Thursday, July 09, 2009 9:21 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Justify and Justify_ALL Alignment > of paragraph > > Hello,I have been using Itext to generate PDF files > rec

Re: [iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Paulo Soares
If you're using a XFA all you can do is fill the fields, that's all iText supports. Paulo > -Original Message- > From: Harshit Bapna [mailto:hrba...@gmail.com] > Sent: Thursday, July 09, 2009 9:14 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Issue faced w

Re: [iText-questions] Creating a template.pdf from a original.pdf

2009-07-09 Thread Paulo Soares
Templates can't contain fields. Paulo > -Original Message- > From: dakhla.0...@hotmail.com [mailto:dakhla.0...@hotmail.com] > Sent: Thursday, July 09, 2009 8:18 AM > To: iTextSharp > Subject: [iText-questions] Creating a template.pdf from a original.pdf > > Hi folks, > > > Does anyb

[iText-questions] pdf merge inside a page

2009-07-09 Thread Paul Stöttinger
dear iText team, a question for instance a letter i have got one pdf with the header of the letter which contains the adress, etc. and i have got one pdf with the text in the letter in the book iText in action in chapter 2.3 (createing pdf in multiple passes) is only described to merge pdf

[iText-questions] Justify and Justify_ALL Alignment of paragraph

2009-07-09 Thread 熊晨晖
Hello,I have been using Itext to generate PDF files recently,and i found the space in characters is different between the justify and justify_all alignment,would you please tell me how itext realize the justify alignment and the justify_all alignment?Thank you! _

[iText-questions] Issue faced while PDFStamping on a XFA Form (having javascript) .

2009-07-09 Thread Harshit Bapna
Hi All, Summary of the Issue: To display an image in PDF at runtime. Limitation: The image cannot be embeded into PDF. Approaches: 1) Using iText and AcroForm I was not able to achieve this. -- Not successfull 2) I designed a form using LC Designer with an ImageField. I assigned the Base64 encode

[iText-questions] Creating a template.pdf from a original.pdf

2009-07-09 Thread dakhla.0563
Hi folks, Does anybody know if it is possible, (1) Copy initially a original.pdf to make a template.pdf. On then coping I have to create the template as an acroform that is going to have some localized fields belong to the original.pf and on the same position. (2) And later I fix those