如何将 SharePoint 列表项合并到 Word 2003 文档中

发布于 2024-08-02 16:54:37 字数 125 浏览 0 评论 0原文

我想在WSS 3.0上构建一个像“打印列表”这样的功能,并且我计划将列表数据转换为Word文档然后打印它。有没有办法将列表项合并到 Word 2003 文档中,我用 Google 搜索了一些解决方案,但它们仅适用于 Word 2007。

I want to build a feature like "Print List" on WSS 3.0, and I planned to convert List data into Word document then print it. Is there any way to merge List items into Word 2003 document, I Googled some solutions but they only work with Word 2007.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

仅一夜美梦 2024-08-09 16:54:37

您需要编写一个自定义解决方案,循环遍历列表项并生成 WordML。这是 Word 2003 的 XML 格式。这里是 可以帮助您入门的指南

生成 XML 文件后,您可以使用标准 ASP.NET 方法提供下载。这是 一个应该有效的示例。或者,您可以将结果存储在文档库中并指示用户从那里下载它。

You would need to write a custom solution that loops through the list items and generates WordML. This is the XML format for Word 2003. Here is a guide that can get you started.

Once the XML file has been generated you can offer it for download using standard ASP.NET methods. Here is an example that should work. Alternatively you could store the result in a document library and point users to download it from there.

寻找我们的幸福 2024-08-09 16:54:37

拥有“*.doc”文件的要求有多重要?如果您只需要能够使用 Word 2003 打开文档,您只需安装 微软Office兼容包

How important requirement is to have "*.doc" file? If you just need to able to open document with Word 2003 you can just install Microsoft Office Compatibility Pack

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文