Feel free to download your free version of HelpNDoc now to check it out and play with the various API methods available. More than a straightforward help authoring software, HelpNDoc includes various advanced tools to simplify and speed up the documentation creation process, such as its amazing script editor and the various API it can access to. Current topic is not automatically updated: focus the project topic to change the selection HndUi.SetCurrentTopic(HndTopics.GetProjectTopic) HndTopics.DeleteTopic(aFirstLevelChildren.Id) Delete children topics for nTopic := 0 to High(aFirstLevelChildren) do begin Set the final content to the initial topic HndEditor.SetAsTopicContent(oEditor, aParentTopicId) Handle them DoInsertChildrenContent(aFirstLevelChildren, oEditor) HelpNDoc is a modern help authoring tool with an intuitive user interface. Get a list of direct children aFirstLevelChildren := HndTopics.GetTopicDirectChildrenList(aParentTopicId) Try // Add the parent topic's content HndEditor.InsertTopicContent(oEditor, aParentTopicId) HelpNDoc is an easy to use yet powerful and intuitive help authoring environment. We need a temporary editor oEditor := HndEditor.CreateTemporaryEditor() Make sure that we have a valid selection if aParentTopicId = '' then Get the currently selected topic aParentTopicId := HndUi.GetCurrentTopic() Var aFirstLevelChildren: THndTopicsInfoArray HndTopics.GetTopicDirectChildrenList(aList.Id), Handle children DoInsertChildrenContent( Browse HelpNDocs help files created by HelpNDoc to learn how to use it. Insert content HndEditor.InsertTopicContent(anEditor, aList.Id) HelpNDocs documentation is available in multiple formats for online browsing or for download. Iterate through children for nTopic := 0 to High(aList) do begin Procedure DoInsertChildrenContent(aList: THndTopicsInfoArray anEditor: TObject) var nTopic:Integer
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |