Re: [iText-questions] formatting

2011-06-27 Thread Yevgeniy Cherniak
I want this code to work correctly and convert date I finsert in the textfield to be in the defined format. But I don't know why doesn't it work... PdfFormField ff = tf1.GetTextField(); string format = "AFDate_Format('mm/dd/')"; ff.SetAdditionalA

Re: [iText-questions] Sign a PDF/A

2011-06-27 Thread mkl
1T3XT BVBA wrote: > > I failed to see why one would want to sign a PDF/A document, because > there's no obligation for PDF/A compliant readers to be able to verify > the signature. > Especially in the use case of archiving I see a necessity to sign, time stamp, or both sign and time stamp docu

Re: [iText-questions] Shifting content of a page

2011-06-27 Thread Mark Storer
There sure is. Option 1: PdfImportedPage is a subclass of PdfTemplate. Rather than simply using PdfCopy.addPage(), you can create a new blank page of the correct dimensions, then draw your page as a PdfTemplate with specific coordiates via PdfContentByte. The downside here is that you lose

Re: [iText-questions] formatting

2011-06-27 Thread Mark Storer
Individually? No, I don't think so. You can set the font, font size, text color, and background color of the control as a whole, but I don't think you can do so for the different options. Maybe with rich text, but iText only supports getting and setting rich text values, it won't actually draw

Re: [iText-questions] Sign a PDF/A

2011-06-27 Thread Leonard Rosenthol
First, remember that signatures don't use encryption (well, not in the same way) so that signatures are most certainly allowed in PDF/A (parts 1, 2 and 3). In PDF/A-1, we don't speak at all about signatures and they are simply there as defined by PDF 1.4. However, PDF/A-2 and PDF/A-3 both have ve

Re: [iText-questions] Sign a PDF/A

2011-06-27 Thread 1T3XT BVBA
On 27/06/2011 17:14, mkl wrote: > 1T3XT BVBA wrote: >> PDF/A excludes the use of encryption algorithms, doesn't it? >> Then how exactly would you sign a PDF and keep it conform with PDF/A? > You might want to take a look at the PDF/A Competence Center Technical Note Interesting! I failed to see why

Re: [iText-questions] Sign a PDF/A

2011-06-27 Thread mkl
1T3XT BVBA wrote: > > On 27/06/2011 16:42, mpino wrote: >> Does anybody have signed a PDF/A generated through itext or itextsharp?. >> Any suggestions should be welcome. > PDF/A excludes the use of encryption algorithms, doesn't it? > Then how exactly would you sign a PDF and keep it conform with

Re: [iText-questions] Sign a PDF/A

2011-06-27 Thread 1T3XT BVBA
On 27/06/2011 16:42, mpino wrote: > Does anybody have signed a PDF/A generated through itext or itextsharp?. Any > suggestions should be welcome. PDF/A excludes the use of encryption algorithms, doesn't it? Then how exactly would you sign a PDF and keep it conform with PDF/A? -

[iText-questions] Sign a PDF/A

2011-06-27 Thread mpino
Does anybody have signed a PDF/A generated through itext or itextsharp?. Any suggestions should be welcome. Best regards mpino -- View this message in context: http://itext-general.2136553.n4.nabble.com/Sign-a-PDF-A-tp3627882p3627882.html Sent from the iText - General mailing list archive at Nab

Re: [iText-questions] License doubts

2011-06-27 Thread 1T3XT BVBA
On 27/06/2011 16:04, Alfonso Crismán wrote: > I´d be pleasent if you confirm or deny it. I'd be happy if you asked that question to our sales people, not on the technical list. License questions are off-topic on the technical list. Technical people interpret license questions different from legal

Re: [iText-questions] License doubts

2011-06-27 Thread Alfonso Crismán
I´m sorry, I was wrong with the version. I was talking about the 2.1.7 (and still LGPL) version. By the way, can I use the AGPL version of iText (in this case on Android platform) for a project like the mine one which is not going to be released out of the company enviroment? I´d be pleasent if yo

Re: [iText-questions] License doubts

2011-06-27 Thread 1T3XT BVBA
On 27/06/2011 15:26, Alfonso Crismán wrote: > I wrote about the 2.71 version of iText because its source code is > available. To my knowledge, there is no 2.71 version of iText. See http://itextpdf.com/history/ We jump from 2.1.7 to 5.0.0! > By the way, where can I download the Android version o

Re: [iText-questions] License doubts

2011-06-27 Thread Alfonso Crismán
I´m not going to distribute the application becauseof it´s for use only inside the company. I wrote about the 2.71 version of iText because its source code is available. In the GNU FAQ says that if I don´t distribute my application and it´s only going to be used inside the organization, I can inclu

Re: [iText-questions] Some images aren't displayed in HTMLWorker mode

2011-06-27 Thread Rafael Nagure
Ooops, nevermind. Got that to work at all. Those PNG files had their metadata somehow messed up, so the dimensions were basically wrong. I did a check on their size, fixed the scaled and voilà, it worked! Cheers! De: Rafael Nagure Para: "itext-questions@lists.sourceforge.net" Enviadas: Segund

[iText-questions] Some images aren't displayed in HTMLWorker mode

2011-06-27 Thread Rafael Nagure
Hi there, list! I have a bunch of images retrieved from a certain website by using 'URL imgURL = new URL("http:// ..."); Image img = Image.getInstance(imgURL);'. It works flawlessly. Unfortunately, for some reason I don't know, when using 'HTMLWorker', some images aren't disp

Re: [iText-questions] License doubts

2011-06-27 Thread 1T3XT BVBA
On 27/06/2011 11:43, Alfonso Crismán wrote: > Hi, > I´m developping an Android application for a company. This application > it´s not going to be distributed You're going to create an APK that produces PDFs and you aren't going to distribute it? Or: you're going to create an app that downloads a

Re: [iText-questions] Textfield text direction

2011-06-27 Thread Paulo Soares
It has to be auto if you want to keep the form fields. However it the fields are to be flattened get the field position and use ColumnText to write the text in your favorite direction. Paulo From: Yevgeniy Cherniak [mailto:yevgeniy.chern...@autofont.com] Sent: M

Re: [iText-questions] Textfield text direction

2011-06-27 Thread Yevgeniy Cherniak
Like in word you can define text direction independently from the language use I want to be able to define rtl text direction to textfield. How can it be possible for me? From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, June 27, 2011 1:41 PM To: Post all your questions about iText he

Re: [iText-questions] Textfield text direction

2011-06-27 Thread Paulo Soares
Just write the text. If it contains Hebrew or Arabic it will automatically use RTL writing. Make sure that the field has a compatible font, otherwise you'll have to provide a substitute. Paulo From: Yevgeniy Cherniak [mailto:yevgeniy.chern...@autofont.com] Sent:

Re: [iText-questions] CJK Compatibility Ideographs (F900-FAFF) aredisplaying as ? marks in pdf

2011-06-27 Thread Paulo Soares
StSong only supports simplified chinese, maybe you're trying to show traditional chinese or maybe is something else. Your question is too vague and no example code was provided. Paulo - Original Message - From: subramanian...@polaris.co.in To: itext-questions@lists.sourceforge.ne