Right clicking on some items in the project analyzer could result to an access violation error.All APIs calling MoveTopics (such as CreateMultipleTopics) could produce a table of contents with multiple project topics.Images placed in table cells could be incorrectly resized in Word and PDF documentation formats.Importing a document which was locked by another application failed silently: an error message is now shown.Importing a document into the current topic now correctly handles anchor hyperlinks to itself.HTML importer now correctly uses the project's default font and hyperlinks settings to import HTML content.Splitting an imported Word document could miss some empty topics, or create a corrupted table of contents.New link formats to create hyperlinks to specific topics, navigation or counters when importing external documents (e.g.New user interface APIs to iterate over selected items in trees (keywords, library items, topics), and cancel current edits.New editor APIs to insert HTML content, move the cursor, check if editor is empty.Selected content in topic editor can be converted to snippet using the right click popup menu.not linked to the item) which can be used to create topic templates. Documents, HTML, variables and snippets library items can now be inserted within the current topic as raw content (e.g.This update includes multiple other enhancements and bug fixes as you can see in the change log below. We also improved Word and PDF table generation and optimized the overall documentation generation process to make it faster with less memory consumption. The HTML importer now uses the project’s default font and hyperlink settings, while HelpNDoc now correctly warns when a document is locked by another application. We have greatly improved the document importers in this updates to provide a more reliable way to split documents and import anchors. Newly available APIs can also interact with the user interface to iterate over selected topics, keywords or library items. ![]() New APIs can be used to insert HTML content in the topic editor, and we have now introduced new hyperlink formats to be able to insert links to specific or relative topics, counters… this makes it possible to create scripts to manipulate the content of a topic such as inserting a list of children topics, with hyperlinks to those topics… This update includes new APIs to manage the topic editor and user interface. HelpNDoc’s powerful and unique scripting capabilities make it very easy to automate project creation and maintenance. New API methods to update topic’s content You could also leverage this feature to convert the whole topic as a snippet, and use it as a topic template thanks to the newly added ability to insert snippets content in topics. And you’re done! You can now reuse this snippet anywhere you’d like while only maintaining it once in your project’s library. Starting with this update, you can simply select the desired content, right click on it, then click Convert to snippet: HelpNDoc will ask if you’d like to leave the content as-is or replace it with the newly created snippet. You might want to convert that content to a reusable snippet as they are perfect for this kind of situations. Over time, you might find that some content is repeated multiple times throughout your documentation project, which implies additional maintenance and wasted time. But what if you do not have any snippets yet and you’d like to convert some content to a snippet ? This update has you covered. ![]() Inserting a snippet’s content into a topic is great. The possibilities are endless! Convert topics content to a reusable snippet This uses a snippet as an example, but the same can be done with a document, variable or raw HTML code. ![]() Click Insert content in topic: the content of that snippet is now inserted into your topic.Hover over the Insert in topic menu item.From your project’s library, right-click on the newly created snippet.Create a new snippet and define its content.As an example, here is how you could use this feature to create a topic template: Have you ever wanted to create templates for your topics ? Do you have a piece of content that you need to frequently insert in your documentation such as complex tables, specific layouts… ? Thanks to this new major update, you can now easily insert the content of a document, snippet, variable or raw HTML library item right in your topics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |