Thanks for your response. I've been reading sections of the book as needed to 
figure out particulars. Guess I didn't read that part on the background. I 
appreciate you explaining it.

I'll poke around a bit and see what I can come up with as a suggestion.

Regards,
Howard Shank

----- Original Message ----
From: Bruno Lowagie <[EMAIL PROTECTED]>
To: Post all your questions about iText here 
<[email protected]>
Sent: Monday, December 3, 2007 12:08:44 PM
Subject: Re: [iText-questions] Writing meta-data while document is open?

Howard Shank wrote:
> Hi Bruno/Paulo,
> In the iText Document class why is it not possible to add meta-data once 
> the document is opened? Is this a technical limitation or a specific 
> design limitation?

In the book, I explain the origin of this limitation.
When I wrote the first versions of iText, I developed
an HtmlWriter that wrote HTML simultaneously with PDF.
This was very useful in the debugging process: half
a PDF document is hard to read, but reading half an
HTML document is easy.

In HTML all meta data is written in the HEAD section
(before document.open()), not in the BODY (after
document.open()).

In PDF, it doesn't matter when you add the metadata.

In other words, there's a technical limitation, but
only for HtmlWriter.

> The reason I ask is in the RTF specification, it is possible to parse 
> document text before encountering document meta-data. With that in mind 
> for parsing RTF it is necessary to be able to write document content 
> and/or meta-data at any time while parsing an existing document.

Hmm, you're right. Maybe we should find a way around
this problem.
br,
Bruno


      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to