Re: [iText-questions] java.lang.NoClassDefFoundError when Upgrading the iText

2011-04-20 Thread Alexis Pigeon
Hi Hari, On 20 April 2011 21:36, Hari Ramakrishnan wrote: > Hi, > > I am using iText 1.2 and I am trying to upgrade it to the latest version of > iText. > Note : iText 1.2 is more than 6 years old. You should NOT expect any kind of compatibility between this obsolete version and the latest one.

[iText-questions] java.lang.NoClassDefFoundError when Upgrading the iText

2011-04-20 Thread Hari Ramakrishnan
Hi, I am using iText 1.2 and I am trying to upgrade it to the latest version of iText. When I am doing so, I get the following error. java.lang.NoClassDefFoundError: com/itextpdf/text/DocumentException java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.priv

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread alex_2292
thank you very much -- View this message in context: http://itext-general.2136553.n4.nabble.com/how-to-save-modiefied-annotation-text-tp3462519p3463513.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] Editing existing PDF file - Newly added textnot visible

2011-04-20 Thread vikasgupta
i have changed code to use PDFStamper but still no success Calendar currentDate = Calendar.getInstance(); SimpleDateFormat f = new SimpleDateFormat("MM/dd/"); String signatureDate = f.format(currentDate.getTime());

Re: [iText-questions] Editing existing PDF file - Newly added textnot visible

2011-04-20 Thread Mark Storer
PDF's Z-order is simply the order in which things are drawn. If you draw A then B, B is on top of A. If B happens to completely cover A, then you won't see A when the PDF is rendered. You're adding a PdfImportedPage to the page after you draw your text. Add it before instead. --Mark Storer Se

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread Mark Storer
As you've noticed, iText doesn't have any high-level support for annotations beyond "widget" annotations (form fields). You have to directly manipulate the low level PDF structures. To learn what's possible, you should check out the PDF Specification, chapter 12 (interactive features), section 5

Re: [iText-questions] PDF merge with XfaForms

2011-04-20 Thread Mark Storer
> By removing/changing the conflicting names you should be able > to merge the files successfully. Not even a little bit. This is true for AcroForms, but merging XFA forms is another matter entirely. Bottom Line: iText supports XFA only as far as getting and setting field values. Only. Period

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread alex_2292
ok,so it's only a text annotation,the same type created by adobe right? so can I modify the content as I have told you working on the PdfDictionary? Es. PdfDictionary f = f.put(PdfName.F, new PdfString("some new text")); etc etc ok...thanks,you have answered and explained problem of mi

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread 1T3XT BVBA
Op 20/04/2011 16:59, alex_2292 schreef: > sorry I think I've not explained well,or I don't understand annotation > concepts ( possible ). > I have created 3-4 text annotation on a existing pdf.obviously when I click > on the annotation icon a popup appear with title and description.Is this a > popu

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread alex_2292
sorry I think I've not explained well,or I don't understand annotation concepts ( possible ). I have created 3-4 text annotation on a existing pdf.obviously when I click on the annotation icon a popup appear with title and description.Is this a popup annotation related to the text annotation? or is

Re: [iText-questions] Editing existing PDF file - Newly added text not visible

2011-04-20 Thread 1T3XT BVBA
Op 20/04/2011 16:36, vikasgupta schreef: > Its true I dont know much about iText usage or how to use properly as I am > using it for first time. If possible can you let me know where in code I am > covering text that I am writing. Don't fix your code. Throw it away and replace it with PdfReader/P

Re: [iText-questions] Editing existing PDF file - Newly added text not visible

2011-04-20 Thread vikasgupta
Its true I dont know much about iText usage or how to use properly as I am using it for first time. If possible can you let me know where in code I am covering text that I am writing. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Editing-existing-PDF-file-Newly-added

Re: [iText-questions] iText usage

2011-04-20 Thread TvT
Hi, it depends what license you need: 1. You can buy a commercial license as Bruno suggested 2. You can use iText for free under the Terms of GNU Affero General Public License (basically GPL) 3. You can use an older version of iText (2.1.7) under LGPL/MPL (free also for commercial usage). But not

Re: [iText-questions] iText usage

2011-04-20 Thread 1T3XT BVBA
Op 20/04/2011 10:25, khalid schreef: > Hi, > > Is it allowed to use iText by integrating with my company's IT project ? > This integration will not be distributed in the market but is to be > used for internal implementations. That's a question for sales: http://www.itextpdf.com/contact.php#sales

Re: [iText-questions] how to save modiefied annotation text

2011-04-20 Thread 1T3XT BVBA
Op 20/04/2011 11:23, alex_2292 schreef: > Hi to all, > is possible qith iText to save a modified popup annotation text content? Let me try and understand the question. You have an existing PDF with (at least) two annotations: a popup annotation and a text annotation. The text annotation is the pa

Re: [iText-questions] iText Creation PDF/A-1A

2011-04-20 Thread jmrrva
Hi Michele Try adding: writer.getExtraCatalog().put(PdfName.LANG, new PdfString("es")); Just change "es" for your language. Hope this helps Jose 2011/4/20 BigBrus > Hi everybody, > > I have to create a pdf with the standard PDF/A-1A, and i used iText. The > creation is quit

Re: [iText-questions] Visible signature with description only : why is nothing written on the top 30% ?

2011-04-20 Thread ot_david
OK, so it's really intended and is inherited from a time when Acrobat had itself this 70/30 proportion, thank you Paulo. That's right, I could use pdfSigApp.getLayer(2) and set the PdfTemplate's properties myself, but I wanted to know the reason behind this behaviour beforehand :) Thx again, and ke

[iText-questions] iText Creation PDF/A-1A

2011-04-20 Thread BigBrus
Hi everybody, I have to create a pdf with the standard PDF/A-1A, and i used iText. The creation is quite simple, there are lots of methods to do this correctly. The problem is, when i use Adobe Acrobat X to verify the conformance to the International Standards, the result is "NOT conformant". Th

Re: [iText-questions] pdf form: how to send a line break

2011-04-20 Thread Cristina Moura
Thanks! It's working! ;-) _ De: Balder [mailto:bal...@redlab.be] Enviada: quarta-feira, 20 de Abril de 2011 11:16 Para: itext-questions@lists.sourceforge.net Assunto: Re: [iText-questions] pdf form: how to send a line break On 20/04/2011 12:08, Cristina Moura wrote: Hi! The fi

Re: [iText-questions] pdf form: how to send a line break

2011-04-20 Thread Balder
On 20/04/2011 12:08, Cristina Moura wrote: Hi! The field is multiline and I'm doing this: pdfFormFields.SetField("DESCRIPTION1", "blablablabla Chr(10) blablablabla") I don't know much of Microsoft languages but it seems logical that Chr(10) is printed in your PDF Shouldn't it be someting lik

Re: [iText-questions] pdf form: how to send a line break

2011-04-20 Thread Cristina Moura
Hi! The field is multiline and I'm doing this: pdfFormFields.SetField("DESCRIPTION1", "blablablabla Chr(10) blablablabla") But in the created pdf the Chr(10) appears in the text and no line break is made. Regards. Cristina Moura -Mensagem original- De: Paulo Soares [mailto:psoa...

Re: [iText-questions] pdf form: how to send a line break

2011-04-20 Thread Paulo Soares
If the field is multiline just put a Chr(10) to break the line. Paulo -Original Message- From: Cristina Moura [mailto:cristina.softw...@r2informatica.pt] Sent: Wednesday, April 20, 2011 10:39 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] pdf form: how to send a

[iText-questions] pdf form: how to send a line break

2011-04-20 Thread Cristina Moura
Hi! I have a PDF form that I need to fill. Some of the text-fields are large, so I need to send a line break with my text. How can I do that? This is the code I’m using: ---   Dim pdfTemplate As String = Server.MapPath("TEMPL

Re: [iText-questions] Visible signature with description only : why is nothing written on the top 30% ?

2011-04-20 Thread Paulo Soares
iText didn't show up yesterday and at the time the signatures were developed Acrobat had this 30/70 proportion and we did the same. Maybe this will be changed to be configurable. In any case, you can custom design the signature with the layer 2 template anyway you want. Paulo -Original Me

[iText-questions] how to save modiefied annotation text

2011-04-20 Thread alex_2292
Hi to all, is possible qith iText to save a modified popup annotation text content? thanks for help. -- View this message in context: http://itext-general.2136553.n4.nabble.com/how-to-save-modiefied-annotation-text-tp3462519p3462519.html Sent from the iText - General mailing list archive at Nabbl

Re: [iText-questions] Visible signature with description only : why is nothing written on the top 30% ?

2011-04-20 Thread ot_david
I'm sorry, but I still don't see what this has to do with my original question : why is the textual part of a visible signature restricted to the lower 70% of the signature rectangle ? There must be an explanation why text is only written in a sub-rectangle. For what are the top 30% reserved ? --

Re: [iText-questions] Editing existing PDF file - Newly added text not visible

2011-04-20 Thread Balder
On 20/04/2011 8:13, 1T3XT BVBA wrote: Op 20/04/2011 5:23, vikasgupta schreef: I have problem while editing existing PDF file that the text that I have added in existing PDF file is not getting visible but search-able. This existing PDF file is also getting generated from iText. I am using "itext

[iText-questions] iText usage

2011-04-20 Thread khalid
Hi, Is it allowed to use iText by integrating with my company's IT project ? This integration will not be distributed in the market but is to be used for internal implementations. I want to use iText for splitting PDF files which is one of our requirements. Please clarify. Regards, Khalid --

Re: [iText-questions] Remove page wich only have an Header and a Footer (no data between)

2011-04-20 Thread OPoupeau
Of course :-) thanks for your answers. 1T3XT BVBA 20/04/2011 08:05 Veuillez répondre à Post all your questions about iText here A itext-questions@lists.sourceforge.net cc Objet Re: [iText-questions] Remove page wich only have an Header and a Footer (no data between) Op 19/04/201

Re: [iText-questions] Visible signature with description only : why is nothing written on the top 30% ?

2011-04-20 Thread 1T3XT BVBA
Op 20/04/2011 9:05, ot_david schreef: > Thank you for your quick answer, but I'm not sure I get it. Could you > elaborate ? Just answer the question: why would you add content using document.add() in a page event? That doesn't make sense, does it? For a more elaborate answer explaining why the Do

Re: [iText-questions] Visible signature with description only : why is nothing written on the top 30% ?

2011-04-20 Thread ot_david
Thank you for your quick answer, but I'm not sure I get it. Could you elaborate ? -- View this message in context: http://itext-general.2136553.n4.nabble.com/Visible-signature-with-description-only-why-is-nothing-written-on-the-top-30-tp3461161p3462271.html Sent from the iText - General mailing l

Re: [iText-questions] itextsharp. dll

2011-04-20 Thread Paulo Soares
You can get it now from the SVN or wait until the next release. Paulo - Original Message - From: sancha...@pcvita.com To: itext-questions@lists.sourceforge.net Sent: Tuesday, April 19, 2011 9:00 AM Subject: [iText-questions] itextsharp. dll Hi, The latest itextshar