We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
将 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.
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.
我建议从 SandCastle 开始,然后对其中一种输出文件格式进行后处理以生成 Word 文档。 一旦您充分了解了内容的打包方式,从头开始生成 Office 2007 Word 文档 (
*.docx
) 并不困难。 Brian Jones 在 Open 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.
我认为解决方案是首先将 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.
您看过 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.
尝试看看 SandCastle。
Try taking a look at SandCastle.