百度首页 | 百度空间
 
查看文章
 
[转载]Dynamic FlashPaper
2007年10月21日 星期日 下午 02:55
I was recently trying to create a document collaboration tool for one of my clients. In order to make it a bit easier for the user, I decided I would use FlashPaper to display the uploaded documents they are discussing. It took a couple of hours to figure it out but its pretty simple in the end.

First, you have to have the FlashPaperConnect .dll. Contribute 3, and some other products comes with the FlashPaperConnect .dll that makes it all possible. Contribute also registers the dll on your system, so all you do is CFOBJECT the FlashPaperConnect2.object.2 component.

Like so:
<cfobject type="com" name="FlashPaper" class="FlashPaperConnect2.object.2" action="create">

The method you need to call is BeginConversion(). Its arguments are the source file, destination file; include outline; paper size; and something else. I'm still looking for documentation on this and if it violates the EULA. But until then...

<cfset FlashPaper.BeginConversion('c:\temp\doc1.doc','c:\temp\doc1.swf',0,210,297)>


This seems to work.

Good luck.
一些有用的连接:
FlashPaper2左上方ICON換置教學

类别:网络 | 添加到搜藏 | 浏览() | 评论 (2)
 
最近读者:
 
网友评论:
1
2007年10月31日 星期三 下午 11:38
2007年7月7日,笨笨和宝宝相见,渐渐的他们走到了一起,他们在一起的时候很开心,笨笨很爱宝宝, 宝宝也爱笨笨,可宝宝的父母反对宝宝和笨笨在一起,宝宝很疼爱自己的父母,不想让父母伤心,于是她决定放弃和笨笨短暂而深刻的爱,不想爱笨笨了,要逃开,他们的感情处在崩溃的边缘。
但笨笨没有放弃,笨笨决定要用自己的真心和诚心去打动宝宝的父母,现在笨笨想向大家筹集777条祝福语,鼓励宝宝不要放弃,和笨笨一起去面对宝宝的父母,谢谢大家,愿天下有情人终成眷属。
笨笨和宝宝的网址:www.20070707love.cn
 
2
2008年01月24日 星期四 下午 09:15
留言
 
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请输入下图中的四位验证码,字母不区分大小写。
看不清?
 

     

©2008 Baidu