如何为 WPF 应用程序创建 chm 帮助文件?
对于 WPF UI 应用程序,需要创建 CHM 帮助文件。
如何创建 chm 帮助文件?
首先在ms word中创建文档并将其转换为chm帮助文件?或者任何其他方法?
请
谢谢拉姆
帮忙
For a WPF UI application, a CHM Help file needs to be created.
How to create a chm help file?
First create the document in ms word and convert it into chm help file? or any other method?
Please help
Thanks
Ramm
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我使用 Sandcastle 帮助文件生成器 (SHFB) 生成 CHM。
为了编写内容,我遵循了 Sandcastle MAML 指南中的指导和示例,codeplex 上提供。这涉及到我以一种名为“MAML”的格式编写文档,这是一种用于描述帮助文件的 XML 方言。
它看起来像这样:
除了在各个页面上创作内容之外,您还需要指定大纲 - 所有页面如何组合在一起。一旦你完成设置,就非常容易了。然后生成CHM只需要运行SHFB。
不要被标签名“developerConceptualContent”吓倒。生成的 .chm 没有任何内容使其仅对开发人员有用。
SHFB 工具是免费的。
I used Sandcastle Help File Builder (SHFB) to generate the CHM.
To write the content, I followed the guidance and example in the Sandcastle MAML Guide, available on codeplex. This involved me writing doc in a format called "MAML", which is an XML dialect for describing the help files.
It looks like this:
In addition to authoring the content on various pages, you need to specify the outline - how all the pages fit together. Once you get it set up it's pretty easy. Then generating the CHM just requires running SHFB.
Don't be put off by the tagname "developerConceptualContent". There's nothing about the .chm generated that makes it useful only for developers.
The SHFB tool is free.
使用 Word 创建帮助文件是一种选择。为此,您需要获取 HTML 帮助来自 Microsoft 的 SDK(免费),然后将您的文档转换为 HTML 并使用 HTML 帮助编译器进行编译。
然而,有一些很好的集成工具可以帮助您大大加快这个过程。我听说过的一个好消息是 JGSoft 的 HelpScribbler。它不是免费的,但与手动操作相比可以节省计时器。
Using word to create your help files is one option. To do this you would need to get hold of the HTML Help SDK from Microsoft (free) and then convert your documents to HTML and compile using the HTML Help compiler.
However there are some good integrated tools that could help you greatly speed up this process. One I've heard good things about is HelpScribbler from JGSoft. It's not free but would save timer over doing things manually.