我是perl脚本的新手....我需要将doc转换为doc,因为我将在原始文档中进行文本更改,以便如何使用perl脚本启动此转换,我尝试转换为html并更改该文本和html文件转换为doc ...但我不知道如何启动它以及如何使用perl进行转换?
input :
Orginal.doc
sample bold text
output.doc
sample italic text
如何转换这种情况? ....使用perl脚本..
我认为其他想法: doc to html and html to doc
答案 0 :(得分:1)
答案 1 :(得分:0)
只需使用Win32::OLE
直接修改。
以下是加载现有word文档并在更改后将其保存到新文件的有用示例:A Solution to the edit Word documents with Perl problem
。顺便说一下,人们可以通过谷歌搜索来找到它:editing a word doc using perl