Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Leonard Rosenthol
Sorry I've been offline today with this issue... I'll look into it as well... Leonard On Jul 2, 2008, at 9:57 AM, Bruno Lowagie wrote: > [EMAIL PROTECTED] wrote: >> Enjoy the ice-cream, Bruno. > > ;-) > >> It's not every day that you get a chance to help out someone >> at MIT's Lincoln Labs. Ni

Re: [iText-questions] Attachment encryption

2008-07-02 Thread Leonard Rosenthol
PDF does support encryption of ONLY the attachments - Adobe Acrobat allows it, for example. iText, however, doesn't offer that feature - but it wouldn't be too hard to implement. Feel free to contribute... Leonard On Jul 2, 2008, at 6:13 AM, Bruno Lowagie wrote: > Tobias Meier wrote: >> is

Re: [iText-questions] itext pdf getting blocked by comcast?

2008-07-02 Thread Paulo Soares
- Original Message - From: "FlyingBuzz" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 02, 2008 7:55 PM Subject: [iText-questions] itext pdf getting blocked by comcast? > > the itext pdf i am trying to send is getting blocked. > not sure why. > Neither do I. > I think comcast think

[iText-questions] itext pdf getting blocked by comcast?

2008-07-02 Thread FlyingBuzz
the itext pdf i am trying to send is getting blocked. not sure why. I think comcast think it is spam. Our mail server is hosted by comcast. major problem! -- View this message in context: http://www.nabble.com/itext-pdf-getting-blocked-by-comcast--tp18244332p18244332.html Sent from the iText

Re: [iText-questions] Attachment encryption

2008-07-02 Thread Bruno Lowagie
Tobias Meier wrote: > Highly appreciated if you could/would do that :) You should rephrase that to "if you have the time to do that" ;-) It will depends on my other assignments. br, Bruno - Sponsored by: SourceForge.net Commu

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > Enjoy the ice-cream, Bruno. ;-) > It's not every day that you get a chance to help out someone > at MIT's Lincoln Labs. Nice feather to add to your cap. :-) My employer, Ghent University, is not as known as MIT, but I'm always glad to help 'colleagues' at other univers

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread wasegraves
-- Original message -- From: Peter Demling <[EMAIL PROTECTED]> > > Fantastico! As an added bonus, I can tell you from my google-travels in these > past few weeks that this simple RemoveXfa code solves a recurring question on > several Adobe forums: i.e., how to con

Re: [iText-questions] enabled_form_prefilled.pdf (f rom FAQ) breaks after one save

2008-07-02 Thread Peter Demling
> I know, but I meant that you could do that before step 1 > in your workflow, and then load the form into Acrobat to > Reader Enable it. > Please try it and let me know if it works for you. > It saves you the manual labor recreating the fields > one by one (which is a pain, I know). Yes, yes, and

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread wasegraves
-- Original message -- From: Peter Demling <[EMAIL PROTECTED]> > > Thanks very much for the replies, Bill & Bruno (I'm not above > doubling-down on the ice-cream offer!). > > Bruno, your suggestion of removing the XFA before filling the form (with the > questions.fo

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Bruno Lowagie
Peter Demling wrote: > Bruno, your suggestion of removing the XFA before filling the form (with the > questions.forms.RemoveXfa code) is a good one: unfortunately, our workflow > requires that the form is user-enabled before it's populated by iText. I know, but I meant that you could do that befor

Re: [iText-questions] Attachment encryption

2008-07-02 Thread Tobias Meier
Hi Bruno, > if your question is: can I encrypt Embedded File Streams with iText, > without having to encrypt the complete file, my question referred to the 2nd part you described. I do not want to encrypt the whole PDF meaning that everybody can open it but can not open its attachments without a

Re: [iText-questions] enabled_form_prefilled.pdf (f rom FAQ) breaks after one save

2008-07-02 Thread Peter Demling
Thanks very much for the replies, Bill & Bruno (I'm not above doubling-down on the ice-cream offer!). Bruno, your suggestion of removing the XFA before filling the form (with the questions.forms.RemoveXfa code) is a good one: unfortunately, our workflow requires that the form is user-enabled befor

Re: [iText-questions] Attachment encryption

2008-07-02 Thread Bruno Lowagie
Tobias Meier wrote: > is it possible to encrypt those attachments? If i attach pdf's i > guess one can use the default pdf encryption mechanism. But what about > other filetypes like pictures, word, excel documents? Is it supported by > iText? Copy/paste from the PDF Reference manual: When a PDF s

Re: [iText-questions] iText crashes http on domino

2008-07-02 Thread Martin Johansson
Hello, I've tried running the agent with several different versions including 2.1.2u. Now I'm using the 1.3 release. There is unfortunately no exception thrown, the http task just stops responding. When generating without images everything works fine. Haven't managed to get file size above 200 o

Re: [iText-questions] iText crashes http on domino

2008-07-02 Thread Alexis Pigeon
Hi Martin, On 02/07/2008, Martin Johansson <[EMAIL PROTECTED]> wrote: > > Hi, > > Using iText I've created an Lotus Domino Java agent creating PDF's from data > stored in Notes documents. > > Each page of the generated PDF has com.lowagie.text.image objects for header > and footer along with text

Re: [iText-questions] iText crashes http on domino

2008-07-02 Thread Alexis Pigeon
Hi Martin, On 02/07/2008, Martin Johansson <[EMAIL PROTECTED]> wrote: > > Hi, > > Using iText I've created an Lotus Domino Java agent creating PDF's from data > stored in Notes documents. > > Each page of the generated PDF has com.lowagie.text.image objects for header > and footer along with text

Re: [iText-questions] OPI Comments

2008-07-02 Thread Bruno Lowagie
Dean Krueger wrote: > Thanks for the direction, what would be the best approach to access > the appropriate dictionary? One way to do it, would be to loop over all the objects in PdfReader, if an object is a stream object, check if it's of /Type /XObject and /Subtype /Image. If it is, check if the

Re: [iText-questions] iText crashes http on domino

2008-07-02 Thread Bruno Lowagie
Martin Johansson wrote: > Hi, > > > > Using iText I’ve created an Lotus Domino Java agent creating PDF’s from > data stored in Notes documents. > > Each page of the generated PDF has com.lowagie.text.image objects for > header and footer along with text and other com.lowagie.text.image > ob

[iText-questions] iText crashes http on domino

2008-07-02 Thread Martin Johansson
Hi, Using iText I've created an Lotus Domino Java agent creating PDF's from data stored in Notes documents. Each page of the generated PDF has com.lowagie.text.image objects for header and footer along with text and other com.lowagie.text.image objects in some of the pages depending on what i

Re: [iText-questions] OPI Comments

2008-07-02 Thread Dean Krueger
Date: Tue, 1 Jul 2008 09:02:52 -0700 From: Leonard Rosenthol <[EMAIL PROTECTED]> Subject: Re: [iText-questions] OPI Comments To: Post all your questions about iText here Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII"; format=flowed; delsp=yes The info is in th

[iText-questions] Attachment encryption

2008-07-02 Thread Tobias Meier
Hi iTexters, i have a questions regarding file attachments. Thanks to the iTextWiki i know how to embedd files into a PDF: http://www.lowagie.com/itextwiki/doku.php/collections:kubrick Now is it possible to encrypt those attachments? If i attach pdf's i guess one can use the default pdf encrypti

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Bruno Lowagie
Bruno Lowagie wrote: > It goes without saying that I prefer option [1], but unfortunately > I don't have the time to dig into this problem today and tomorrow > (maybe on Friday). I filled in the Employee name of the online example twice; once with Adobe Reader, and once with iText. Then I compared

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Bruno Lowagie
Bruno Lowagie wrote: > a. somebody creates a PDF form (XFA / AcroForm / whatever) > b. this form needs to be reader enabled (you'll ALWAYS need Adobe > to do this) > c. when this form is saved locally, the Reader Enabling may not > be lost. ... > [6] > ... So far for my inspiration, but m

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Bruno Lowagie
munlubb wrote: Since I am new to understanding the iText library, I will take some time to get hold of the suggestions and example code written by you. In attachment you'll find a PDF that was generated with iText 0.97. It was fairly simple to achieve using stuff explained in chapter 6 of the b

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread munlubb
Thanks a lot for your inputs. To answer your questions: - The urgency of the issue still holds, but because I was not watching the forum (cause of different timezone) lost track of time to reply to your post. Sorry about that! - I am not writing my query on behalf of my company. I am sure the

Re: [iText-questions] Appropriate LGPL announcement?

2008-07-02 Thread bisoa
Wordings should correspond to your contents. You may get some ideas from the following iText generated documents. Look at the boxed texts at the end of the document; http://www.roselladb.com/dashboardreport1.pdf dashboardreport1.pdf -- View this message in context: http://www.nabble.com/Appr

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Bruno Lowagie
Alexis Pigeon wrote: > Wow, that would be a great evidence of iText stability and good > design! I'm quite impressed by this library, and every day even more! I'm sorry to disappoint you, but I just checked the archives in CVS: http://itext.cvs.sourceforge.net/itext/src/com/lowagie/text/pdf/Column

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Alexis Pigeon
On 02/07/2008, Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Alexis Pigeon wrote: > > > D'oh! Of course, one should read "And please *do not* mail him > > personally about that". > > I definetely should reread a couple of times my emails before hitting > > the "Send" button ;) > > ;-) > I unders

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Bruno Lowagie
Alexis Pigeon wrote: > On 01/07/2008, Alexis Pigeon <[EMAIL PROTECTED]> wrote: > > [snip] > >> Maybe Bruno will remember some tricks to accomplish >> what you need with a pre-1.0 version, but I wouldn't bet a cent on >> that. And please to mail him personally about that, > > D'oh! Of course,

Re: [iText-questions] enabled_form_prefilled.pdf (from FAQ) breaks after one save

2008-07-02 Thread Bruno Lowagie
Peter Demling wrote: > o A way to convert an XFA form to an AcroForm (so that we can convert our > current 4-page static XFA form). Or: > > o Advice on the best AcroForm editor - because I just tried to use the > limited > editing in "Tools->Forms" in an attempt to manually re-construct an Acro

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Alexis Pigeon
On 01/07/2008, Alexis Pigeon <[EMAIL PROTECTED]> wrote: [snip] > Maybe Bruno will remember some tricks to accomplish > what you need with a pre-1.0 version, but I wouldn't bet a cent on > that. And please to mail him personally about that, D'oh! Of course, one should read "And please *do not*

Re: [iText-questions] How can I display text in continuation on the same page?

2008-07-02 Thread Bruno Lowagie
munlubb wrote: > > Thanks for your reply! But where can I find this chapter 7, is the tutorial > available online? I tried searching and the book is to be bought. Some people say that F/OSS is free as in free speech, not as in free beer. I don't think iText is free as in free speech, as there

Re: [iText-questions] Appropriate LGPL announcement?

2008-07-02 Thread Bruno Lowagie
Chris Bourke wrote: > > I'm using iText in a webapp and want to respect the LGPL license by > announcing that i'm using iText with a link to the iText home page. Are > there any suggested wording/announcement that I can use? See http://1t3xt.com/docs/faq.php?branch=faq.foss&node=copyright You

Re: [iText-questions] Adding page count to PDF

2008-07-02 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > Hello, > > I generate a PDF document with lots of data. > > Here is some sample code: > > String docName = Tools.get_tmp_path()+System.currentTimeMillis()+".pdf"; > PdfWriter writer = PdfWriter.getInstance(document, new > FileOutputStream(docName)); > writer.setPageEv