> Anyone got any good tutorials on creating word documents from ColdFusion.
> I'm thinking of using the CFContent tag but don't know how to format the
> document.
There's no particular formatting requirements necessary: Word (since @
least Word 2000) will successfully parse HTML. I would not attempt to hack
at Word to find out how its "MS-Word Document Format" codes work.
Try this:
<cfheader name="Content-Disposition" value="filename=HelloWorld.doc">
<cfcontent type="application/msword">
<table border="1">
<tr>
<td>Hello</td>
</tr>
<tr>
<td>World</td>
</tr>
</table>
Adam
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/