WPF 응용 프로그램을위한 CHM 도움말 파일을 만드는 방법은 무엇입니까?

StackOverflow https://stackoverflow.com/questions/1417045

  •  06-07-2019
  •  | 
  •  

문제

WPF UI 응용 프로그램의 경우 CHM 도움말 파일을 작성해야합니다.

CHM 도움말 파일을 만드는 방법?

먼저 MS Word에서 문서를 작성하여 CHM 도움말 파일로 변환 하시겠습니까? 아니면 다른 방법이 있습니까?

도와주세요

감사

도움이 되었습니까?

해결책

나는 사용했다 Sandcastle 도움말 파일 빌더 (SHFB) CHM을 생성합니다.

내용을 작성하려면 Sandcastle Maml Guide의 지침과 예를 따랐습니다. CodePlex에서 사용할 수 있습니다. 여기에는 "MAML"이라는 형식으로 DOC를 작성하는 것이 포함되었으며, 이는 도움말 파일을 설명하기위한 XML 방언입니다.

다음과 같이 보입니다.

<?xml version="1.0" encoding="utf-8"?>
<topic id="4e9fd731-fc2f-4bdf-9ca2-3a8755411b2f" revisionNumber="1">
  <developerConceptualDocument
     xmlns       ="http://ddue.schemas.microsoft.com/authoring/2003/5"
     xmlns:xlink ="http://www.w3.org/1999/xlink">
    <!--
        <summary>
          <para>Optional summary abstract</para>
        </summary>
        -->
    <introduction>
      <!-- Uncomment this to generate an outline of the section and sub-section
           titles.  Specify a numeric value as the inner text to limit it to
           a specific number of sub-topics when creating the outline.  Specify
           zero (0) to limit it to top-level sections only.  -->
      <!-- <autoOutline /> -->
      <para>
      </para>
    </introduction>
    <!-- Add one or more top-level section elements.  These are collapsible.
         If using <autoOutline />, add an address attribute to identify it
         and specify a title so that it can be jumped to with a hyperlink. -->
    <section address="Section1">
      <title>Section Title</title>
      <content>
        <!-- Uncomment this to create a sub-section outline
             <autoOutline /> -->
        <para>
          Lorem ipsum dolor sit amet, consectetuer adipiscing
          elit. Integer vulputate, nibh non rhoncus euismod, erat odio
          pellentesque lacus, sit amet convallis mi augue et
          odio. Phasellus cursus urna facilisis quam. Suspendisse nec
          metus et sapien scelerisque

        </para>
        <para>
          Quisque pharetra lacus quis sapien. Duis id est
          <externalLink>
            <linkText>dictum sed, sapien</linkText>
            <linkAlternateText>alt text</linkAlternateText>
            <linkUri>http://stackoverflow.com/questions/tagged/chm</linkUri>
          </externalLink>
        </para>
      </content>
    </section>
    <relatedTopics/>
  </developerConceptualDocument>
</topic>

다양한 페이지에서 컨텐츠를 작성하는 것 외에도 모든 페이지가 함께 맞는 방법을 지정해야합니다. 일단 설정하면 꽤 쉽습니다. 그런 다음 CHM을 생성하려면 SHFB를 실행하면됩니다.

Tagname "InveloyerConceptualContent"에 의해 꺼지지 마십시오. .CHM에 대해서는 개발자에게만 유용 할 수있는 것이 없습니다.

SHFB 도구는 무료입니다.

다른 팁

Word를 사용하여 도움말 파일을 작성하는 것이 하나의 옵션입니다. 이렇게하려면 HTML 도움말 SDK Microsoft (무료)에서 문서를 HTML로 변환하고 HTML 도움말 컴파일러를 사용하여 컴파일하십시오.

그러나이 프로세스 속도를 크게 높이는 데 도움이되는 좋은 통합 도구가 있습니다. 내가 좋은 말을 들었습니다 도움이 필요합니다 JGSOFT에서. 무료는 아니지만 수동으로 일을하는 것보다 타이머를 절약 할 수 있습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top