Just in case anyone out there glances over this and has some ideas, I’m going to throw up a flare and ask a couple of quick Domino questions.
*queue flare sound*
Converting Word/Excel attachments to PDF on the fly in a Domino web application.
The requirement is that a user clicks on a link which points to a $File attachment, I want to convert it to PDF and spit that out to them. Some of Jake Howlett’s DEXT code using Java and the lowagie packages looks incredibly handy and close to what I’m after, but minus the Word/Excel part. Other solutions revolving around creating a temporary file just seem crude.
I’ve taken a look at a couple of commercial applications, including DominoPDF from Primeapple (which didn’t work on my machine), but none of them really seem like overly elegant solutions.
Removing the option to “open” attachments from a location.
As the title says, I want to offer a link to attachments (suspiciously again they’d be Word/Excel documents) and have the browser only offer to save them to disk – i.e. removing the “open from this location” options.
I’m sure I’ve done this before, somewhere, somehow, but I have a feeling it was in an ASP.NET application where it was as simple as adding a content header to the response and then binary streaming the file. Easy – but it reads like it’s a little harder to do in Domino.
For both of these I don’t care if the solution is Java or LotusScript or Voodoo. Servers in question are running 8.5, and even hints or thoughts to change my direction of thinking would be appreciated.