支持 MS Word 和 C# xmldoc 的帮助生成工具

发布于 2024-07-17 12:07:46 字数 1542 浏览 11 评论 0原文

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

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

发布评论

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

评论(6

静赏你的温柔 2024-07-24 12:07:46

将 MS Word 文件导出为 HTML,然后将它们合并到帮助文件的 HTML 中怎么样? 这是一个选择吗? 可能会有一些格式丢失,但它可能会让您更好地整合所有内容。

How about exporting your MS Word files to HTML and then merging them into the HTML for the help files? Is that an option? There might some loss of formatting, but it might let you integrate everything a little bit better.

你列表最软的妹 2024-07-24 12:07:46

Sandcastle 是开源的,那么为什么不自己发明一些东西呢? 编写一个办公自动化工具毕竟不是那么难。 您甚至可以使用该工具创建业务。

Sandcastle is open source, so why not invent something on your own? Write an office automation tool is not that hard after all. And you can even create a business on that tool.

ペ泪落弦音 2024-07-24 12:07:46

我建议从 SandCastle 开始,然后对其中一种输出文件格式进行后处理以生成 Word 文档。 一旦您充分了解了内容的打包方式,从头开始生成 Office 2007 Word 文档 (*.docx) 并不困难。 Brian JonesOpen XML SDK,提供处理 .NET Office 文档的支持。

如果创建完整的包对于您想要完成的任务来说似乎太复杂或工作量太大,您始终可以决定从现有的 Word 文档开始,然后用您自己的文本替换占位符。

I would suggest starting with SandCastle and then postprocess one of the output file formats to produce Word documents. Producing Office 2007 Word documents (*.docx) from scratch is not that difficult, once you have a good understanding of how things are packaged. Brian Jones has an excellent blog on the Open XML SDK, which provides support for dealing with Office documents from .NET.

And you can always decide to start with an existing Word document and then replace placeholders with your own text, if creating a full package seems to be too complicated or too much work for what you are trying to accomplish.

蓝海 2024-07-24 12:07:46

我认为解决方案是首先将 Word 文件转换为 (X)HTML 或其他非二进制格式,然后导入概念文档和参考文档。 您可以根据文档正文的文本内容自动创建链接(正如您所指出的),或者通过预处理步骤运行概念文档以对其进行注释。 这甚至可以是导入之前运行的脚本。

I think the solution would be to convert your Word files into (X)HTML or another non-binary format first, and then import the conceptual docs along with the reference docs. You can autocreate links based on the text content of the document bodies (as you pointed out) or run the conceptual docs through a preprocessing step to annotate them. This could even be a script run before import.

错爱 2024-07-24 12:07:46

您看过 Doxygen 吗? 它不会对 Word 文件执行任何操作,但它是开源的,因此也许您可以自己添加这些功能。 我真的很喜欢它生成的文档,而且它非常轻量级,所以我将它包含在构建过​​程中以自动重新生成文档。

Have you looked at Doxygen? It doesn't do anything with Word files, but it's open source, so perhaps you could add those features yourself. I really like the docs it produces, and it's very lightweight, so I included it into the build process to regenerate docs automatically.

自由如风 2024-07-24 12:07:46

尝试看看 SandCastle。

Try taking a look at SandCastle.

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