Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread 1T3XT BVBA
Op 20/05/2011 8:48, Taariq Levack schreef: > I've tried a few things and failed, is this possible with iText? You could flatten all fields but the date field, and make that field Read-Only. Downside: people with Acrobat could change the field property, you'd have to encrypt the document with an o

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Taariq San
That helps, thanks. The password is no good for fear of fraud, but I will take your client's approach. On 20 May 2011, at 10:06 AM, 1T3XT BVBA wrote: > Op 20/05/2011 8:48, Taariq Levack schreef: >> I've tried a few things and failed, is this possible with iText? > > You could flatten all field

Re: [iText-questions] Problem with hyphenation

2011-05-20 Thread Jérôme Marant
Hi, My apologies, I broke it. I'm going to start again from the previous version and add the latin hyphenation file. Cheers, Jérôme. - "Jérôme Marant" a écrit : > It directly comes from the FOP which got this from latex, so... > > Could you make it work with French? I couln't. > > Jérôm

[iText-questions] Help Needed-Can't get the PDF page content and resources ues the itextsharp 4.0.3 when the PDF type is distiller

2011-05-20 Thread chen jun
-- 转发的消息 -- 发件人: 日期:2011-5-20 下午3:38 主题:Help Needed-Can't get the PDF page content and resources ues the itextsharp 4.0.3 when the PDF type is distiller 收件人: itext-questions@lists.sourceforge.net Hi, I can't get the PDF page content and resources ues the itextsharp 4.0.3 w

Re: [iText-questions] Help Needed-Can't get the PDF page content and resources ues the itextsharp 4.0.3 when the PDF type is distiller

2011-05-20 Thread 1T3XT BVBA
You're not subscribed to the mailing list, please don't expect any answers if you don't subscribe! > -- 转发的消息 -- > > I can't get the PDF page content and resources ues the itextsharp > 4.0.3 when the PDF type is distiller. > The document is encrypted and it used to be Reader enabl

Re: [iText-questions] Help Needed-Can't get the PDF page content and resources ues the itextsharp 4.0.3 when the PDF type is distiller

2011-05-20 Thread 1T3XT BVBA
Op 20/05/2011 9:50, chen jun schreef: > return GetStreamBytes((PRStream)contents, file);", I call this method > only return 78 bytes contents, not all of the page content and resources; This is what I found on page 1 after decrypting the file: q 1 0 0 1 17 772.661 cm /RelativeColorimetric ri /

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Jason Berk
Not sure I understand exactly what you want, but I create a PDF in memory and then use http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html#copyO f(byte[], int) to copy it and store the copy in the DB. You could flatten the original after you make the copy. Jason From

Re: [iText-questions] Generating duplicate PDFs

2011-05-20 Thread Taariq Levack
That makes sense, maybe I did something wrong with my new array and flattening the original. We decided it wouldn't be wise for us to store editable copies in case someone gets hold of it and starts printing their own documents, with or without another password to manage. Thanks anyway, appreciate

[iText-questions] How to add auto Hyphenation for paragraph (two chunks)?

2011-05-20 Thread pdfengine
I need to highlight some words by changing the font color in a paragraph. I guess I can't do it in one single Chunk so I created several Chunks and append them in a Paragraph. However, when I set the paragraph as text-align-justified the problem comes. chunk.SetHyphenation(new HyphenationAuto("en

Re: [iText-questions] How to add auto Hyphenation for paragraph (two chunks)?

2011-05-20 Thread Paulo Soares
Use ColumnText, it will treat all chunks as a single line of text. Paulo -Original Message- From: pdfengine [mailto:marlbor...@hotmail.com] Sent: Friday, May 20, 2011 4:00 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] How to add auto Hyphenation for paragraph (

[iText-questions] Airtel: Switch off Diesel

2011-05-20 Thread anandhs
Hi ,I just signed a petition opposing Airtel's use of dirty diesel energy to power their cell phone towers.Please read the mail below and take action. Regards, Dear friends, Thanks to the telecomm