Fri, 27 Apr 2007

1:38 AM - PDF and RTF stuff

I have a number of bugs left to squash with the new PDF/RTF feature.  Its not working too badly considering I started it at 9:00PM or so.  In IE, you have to refresh once if using the adobe plugin and the RTF formatting is bad.  Also, if you save its not suggesting a filename right now.  That means the RTF for instance is saved just as rtf with no file extension.  Also, the content type was wrong for IE.  I fixed that already, but its not live yet.  I think we still need to setup the various date fields on files.  That would be rather helfpul.  Word 2007 opens the RTF file perfectly though. 

I think I got HTML stripping working too so if you posted a rich entry it shoudl degrade somewhat.  What i'm even more excited about is that content length is set for my dynamic image servlets.  I found a kewl hack tonight which uses a byte output  stream .... the response is written to that and then to the response object's output stream.  it allows me to call size on it.

2 comments

Comments

Library

userlaffer1
Mon, 30 Apr 2007 04:00:00 +0000

I'm using an open source library called iText.

(no subject)

userraven
Fri, 27 Apr 2007 04:00:00 +0000

What's the name of the PDF library you are using?