Hello. If anybody has a minute, i've been analyzing several alternatives to save a lotus notes record as either pdf, mht, or some other self-contained storage format. I seem to make a little headway in the analysis of any approach then a ~major~ barrier plops on the scene...all of it seems tied around having to reconstruct the source lotus notes record in a target pdf (or mht) from scratch...
1) iText...i really like it for field to text translations but the rich text seems to be an issue...placing the images in the target pdf where they need to go in context of the rest of the rich text could be a show stopper.
2)
java mail api...mime...similar to above...i can't seem to get a handle on the embedded images. I try to create an input stream directly from the lotus notes rich text field and all i can stream out is the formatted text.
3) XSL-FOP...the rich text becomes problematic as with the other alternatives because i don't see how i can create an xsl for rich text that can contain anything (embedded jpegs, bitmaps, etc) within text and be formatted a zillion different ways
Also looked at some other alternatives that i forget now but with similar frustrations. What I am really jonesing to do is access the notes record via httpurlconnection...stream the url and launch some kinda shell that will mimic the IE "save as mht" option. I know they can do it, obviously, in asp c#. Thank you very much for reading this.
[ March 19, 2007: Message edited by: Tom Griffith ]