Perl可以使用MSOFFICE :: WORD :: HTML :: WRITER编辑现有Word文档吗?
我有一个Word文档,想添加一个图像徽标,我从CPAN msoffice :: Word :: HTML :: Writer
找到了此模块。 可以操纵新的Word文档,例如写图像
$doc->write("<img src='files/my_image.gif'>");
我的问题我如何使用此模块msoffice :: Word :: HTML :: Writer
已经存在的Word文档,例如来自
方法似乎创建一个新的Word文档,但是没有选择已创建的文档。new
method> new
I have a Word document and want to add to it an image logo, I found this module from CPAN MsOffice::Word::HTML::Writer
which can manipulate new word documents like for example writing image
$doc->write("<img src='files/my_image.gif'>");
My question how I can open with this module MsOffice::Word::HTML::Writer
an already existed word document, as from the new
method seems create a new Word document, but there are no option to open already created document.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文档中的示例首先是图像,然后引用它:
但是模块文档说它是为了制作Word Docs,而不是编辑它们:
The examples in the docs show that you have to attach an image first, then reference it:
But the module docs say that it's for making Word docs, not editing them: