The great thing in Help Capture of course is having a html page generated reflecting what was in the captured area. Here we show what you can do to control what actually appears on the page after Generate Document and on the Drag Drop Captured Items dialog
See also: localizing the roles.xml file
The location of the template GenerateDocument.htm. Default: C:\Program Files (x86)\Help Generator\projectfolder\templates\generate\GenerateDocument.htm
You can edit this template to add (or remove!) text, or one or more bookmarks, or change positions of items displayed. You can choose any of the following bookmarks [...] to add to this HTML template.
[keywords] : adds <meta name="keywords" content="keyword 1, keyword 2, ..."> in the <header> section.
The keywords are obtained from the control sections it found.
[topsection]: <h1> filled with what was found as the top window caption.
[controlsectionslist]: an unordered list of links to bookmarked sections
[controlsections]: Sections corresponding to the hierarchy of controls on a form. The highest level control is <h2 class=hgc>Control Caption</h2> where style class hgc is defined in css/style.css (help generator control)
[image]: <img> with href to location of captured image
[imagewithmap]: <img> (as above) with image map
Control what actually appears inside the sections on the generated page.
This is the order in which the extra text items are inserted in the page sections.
You can change the items on the list using the buttons at the bottom: Add, Edit and Delete.
If you press the Add button, a textbox appears. Here you can enter any text you like, including html tags and captured string as available in the dropdown
Each item in the listbox is preceded by a checkbox. This feature is allows the 'Drag Drop Captured Items' dialog to show additional elements as compared to what is put in the sections in 'Generate Document'.
|Available where/when:||checked||not checked|
|Drag Drop Captured Items dialog||yes||yes|
For example, in the above image you see the Shortcut: ... item unchecked. This causes the text not to appear in the generated document'. However it will be available in the 'Drag Drop Captured Items' dialog.