PHP中如何在window中配置puno(php调用openoffice插件)

rainsilence 2010-06-18 05:52:57
如题。
...全文
276 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
Dleno 2010-06-22
  • 打赏
  • 举报
回复
http://down.tech.sina.com.cn/download/search.php?f_name=OpenOffice&sort=1&cp=1
CunningBoy 2010-06-22
  • 打赏
  • 举报
回复
看这段:

The file puno.inc contains all the code necessary to make your scripts portable between Linux/Unix (Puno) and Windows (COM). You just need to include it at the beginning of your files (Windows only).

具体看它的例子,应该很清楚了。
CunningBoy 2010-06-22
  • 打赏
  • 举报
回复
它说的对于Window用户如果想用OpenOffice的API是用PHP的COM某块作为接口的。

你应该查找COM的相关资料
CunningBoy 2010-06-22
  • 打赏
  • 举报
回复
以下内容摘抄自:http://puno.sourceforge.net/site.html

About Puno
This project is a PHP module (PHP5 and Linux/Unix only) written in C++ that brings the OpenOffice.org UNO Programming API to the PHP userspace.

You can use it to write scripts that create, modify, read and save OpenOffice.org documents (Writer, Spreadsheet, Drawing). Also, you can export these documents in various formats, like PDF or HTML for example.

Here is a sample php script and this is the document it generates.

It can be installed on any Linux/Unix platform where PHP5 and OpenOffice.org are also available.

If you need more information about the OpenOffice.org API and what you can do with it, please read the Developers Guide - First Steps chapter.
rainsilence 2010-06-22
  • 打赏
  • 举报
回复
但最后又说对于window用户。。。。
CunningBoy 2010-06-22
  • 打赏
  • 举报
回复
puno的网站上说这个只适用于Linux/Unix平台
rainsilence 2010-06-22
  • 打赏
  • 举报
回复
没人会?
CunningBoy 2010-06-22
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 rainsilence 的回复:]

关键就是puno.inc我download不到啊
[/Quote]
下载解压后的如下目录下有
puno-0.6\puno-0.6\docs
rainsilence 2010-06-22
  • 打赏
  • 举报
回复
关键就是puno.inc我download不到啊
zgycsmb 2010-06-21
  • 打赏
  • 举报
回复
帮顶
接分

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧