gpt4 book ai didi

javascript - 用于 Javascript 的开放 XML SDK

转载 作者:行者123 更新时间:2023-11-28 02:07:07 24 4
gpt4 key购买 nike

我正在使用 Open XML SDK for javascript...

我是从here下载的

我使用此 SDK 创建 Word 文档并将其保存在桌面上...

现在我想修改此文档的内容

例如:如果文本中有单词“firstname”,我想用“John”等更改该单词...

第二个我想要的是,在保存文档之前将其放入 .rar 或 .zip 文件中,然后像 .rar 一样保存在桌面上

有人可以帮助我吗?

最佳答案

if in the text is word "firstname", I want to change this word with "John" and so on...

second what I want is that before I save document put it in .rar or .zip file and then save it like .rar on desktop

every Open XML file is essentially a Zip archive containing many other files. Office-specific data is stored in multiple XML files inside that archive. This is in direct contrast with the old WordML and SpreadsheetML formats which were single, non-compressed XML files. Although more complex, the new approach offers a few benefits:

引用文献

关于javascript - 用于 Javascript 的开放 XML SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17614252/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com