douzhan2027 2011-04-11 08:25
浏览 59
已采纳

如何使用PHP一起生成用于microsoft和openoffice的文档?

I want to generate doc (or odt) and xls document files using PHP, The problems is that both Microsoft office and open office should be able to open the files without warning, nicely and similar using any document reader.

Also there are images inside the documents that should be saved as embedded file, does anybody know any component, class or way that can help me?

  • 写回答

2条回答 默认 最新

  • dqqy64515 2011-04-11 08:43
    关注

    for excel files you can use this, http://phpexcel.codeplex.com/ it covers just about everything that you can do in microsoft excel and last time i used it worked really well. Also seems like it can do a few other formats.

    you would need to find something similar for doc and odt files. best bet is to just do odt as that can be opened in office, not the other way round afaik.

    as for a one solution fits all, doubt you will find it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 对于这个问题的解释说明
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。