Word Output
There are some big changes in the generation of printed documents, the key one being you don't need to have Microsoft Word installed on your computer. The DOCX file created does not use any of the proprietary features of Microsoft Word meaning it can be read in any program that can read a DOCX file.
Creating a Word Output
Click the + icon in the Output Presets panel to create a new output and configure it as below.
The first time you generate an output from a project upgraded from a Classic version, you need to double click the preset or select Edit from the context menu and edit it as below.
After the preset is configured, use the icons above the list of presets or hover the mouse over a preset in the list to generate the output, publish it, make further edits or duplicate the preset.
The configuration options are similar to previous versions and are described in detail in the online help. Variables can be included in the Title. Place the cursor where you want the variable and press CTRL + 1.
Preset Configuration
The settings appear in six groups as below.
General
Output Path
By default the Output path will be created as an absolute path but you can choose to create a relative path.
Select or deselect the Save Output Path As Relative To Project to change the setting. Adobe RoboHelp will open Explorer to the current folder where you can either click Save Folder to retain the same path or browse to somewhere else.
- If you are a lone author always working on the same machine, you can choose either but the absolute option is recommended so that you can see exactly where the output will be saved.
- If there are multiple authors and/or you work on more than one machine in a non source controlled environment, then the relative path option may suit you better.
This will enable each author to generate to different folders as long as the same relative relationship is maintained. - The relative path option will work better if a project will be worked on using both Windows and Mac machines.
Word File
The name of the document being generated
Language
The language should be set for the Table of Contents, Index and Glossary page.
Post Generation Script
You can select a script to run after the document has been generated.
Content
Most of the options here are obvious but be aware of a change from Classic versions. Previously in all versions of RoboHelp, the content has been limited by design to just those topics in the print layout TOC rather than all topics in the project not excluded by a condition expression as in online outputs. Now all outputs are based on the TOC used so any change to the TOC will also affect the print output. You can create a separate TOC if required.
Include All Referenced Topics sets whether or not topics not in the TOC but with links from topics in the TOC will also get included.
Classic versions of RoboHelp had an option to limit the depth of the TOC in printed outputs. That is not available in Adobe RoboHelp. After generating your Word document, in Word you can right click alongside the TOC and select Edit Field and click the Table of Contents button. You can then set the level to your requirements. Other editors will have similar functionality.
Metadata
Enter any metadata that you required in the Word document.
Variables can be included in the Title. Place the cursor where you want the variable and press CTRL + Shift + 9.
Master Pages
Adobe RoboHelp ships with a Book master page that is linked to book.css. The styles in that css control the appearance of the TOC, the Index and the Glossary in the output.
If you want to use master pages with your Word output
- You can use the supplied master page and leave the topic css files to apply to the topics
- You can use your own master page and link both your own css and book.css to it.
- You can also copy the book.css styles into your own css and apply just that to the master page.
- Note that if you also use a Word template, any header and/or footer in it will not be applied, even if the master page(s) has/have no header(s) or footer(s). Word headers and footers can still be used if you do not apply a master page as well.
In a new preset, the Master Pages options will show as above. By default it will be assumed that if a master page is selected, it will apply to all sections of the document as defined in the TOC.
Select Specify Separate Master Pages to see further options.
- If the options you set for the First Page of the Chapters & Topics are to be applied to all pages in Chapters & Topics, select the Apply To All Pages checkbox.
- Otherwise clear the Apply To All Pages checkbox and you will be able to apply different master pages to odd and even pages.
- If the Chapters & Topics settings are to be applied to the whole document, click Apply To All Parts Below. Otherwise click the chevrons alongside and apply the required settings.
- If you are applying a template in the Word settings, make sure you only apply headers and footers from one.
- If you select None in any of the dropdowns, the hint to Select an option will still show. None will however be applied.
Layout
Word
Here you can apply a Word template to your document that will be used for mapping.
See Style Hierarchy and Headers and Footers below for information on how that will affect your document.
Tables
Adobe RoboHelp can map to tables that appear in Word's Table Design ribbon.
The tables supplied with Word have three Table Style Options check boxes preselected as shown below. Any tables you create and save in Word will start with the same three check boxes selected.
When generating a Word output Adobe RoboHelp also applies the three check boxes shown below and in most cases the mapped tables will look correct in the generated Word document.
If when designing you tables in Word you change the check boxes selected, after generating from Adobe RoboHelp to Word, you will need to open the document and change the selections to match those in your Word template.
Headers and Footers
If your template has headers and footers, make sure any master pages you apply do not also have headers and footers.
Publish
You can create a Publish Location for this output. Typically that will be used to deliver it to developers. How this is set up is described in Publishing.
Style Hierarchy and Headers and Footers
Style Mapping
When you generate a Word document, Adobe RoboHelp will automatically try to map the topic styles but you can make changes as required in the Word section of the preset. What you see in the Word document will depend on how you set up the mapping and how the CSS rules impact your document.
What you see varies according to certain rules based on whether or not your topics have a single CSS file or multiples CSS, whether or not you use master pages and whether or not you use a Word template. This table explains how it works.
CSS Applied to Topics |
Master Pages Applied To Topics Or In The Preset? |
Word Template Applied In The Preset? |
What You Will See In Word |
Single CSS applied to all topics |
No |
No |
Single CSS The same styles in your document. Multiple CSS What you see in the preview will be from the last CSS found when Adobe RoboHelp searched the topics for the CSS used. For example, all your topics with one exception have one CSS where H1 is Verdana 18pt Bold Blue but the last topic has a different CSS where the definition is Times New Roman 16pt Bold Red. When you map Times New Roman 16pt Bold Red will be shown in the Preview and applied to all H1 content in Word. If none of the styles are duplicated in the different CSS files, there will be no conflict and the topics in Word will be the same as online. |
Single CSS applied to all topics |
Yes |
No |
Master page applied to topics but none applied in preset Word will be the same as your online output except if, as above, there is a conflict of styles. Then the last definition found will apply. Headers and footers will not be applied in Word.
One or more master pages applied in the preset Topic styles and any topic masterpage styles are not used. Word will show the styles defined in the master pages defined in the preset. Headers and footers (if any) from the master page(s) will be applied. |
Single CSS applied to all topics |
Yes |
Yes |
This will depend on how you choose to map. If you map to RoboHelp Style, Word will apply the last example of a style found and apply that definition to all instances of that style in the document. If you map to a template style, that will be applied to all instances of that style in the document. Headers and footers (if any) from the master page(s) will be applied. Headers and footers in the template will not be applied. |
Single CSS applied to all topics |
No |
Yes |
This will be the same as the row above except of course that no master page styles will be available for mapping. Note that there can be no headers and/or footers as these can only come from master pages. |
Generating the Output
Once you have defined the preset, click the generate icon.
Cancelling Generation
While an output is being generated, you can click the Cancel icon at any time.
Generation Errors
When you generate an output using Quick Generate, if it fails for any reason click the Error icon to access the log.
If you generated directly from the preset, you will get an error message. Right click the preset and click View Log.
Viewing the Output
Click the view icon on the Output Presets toolbar. The document will open in whichever program has been associated with the DOCX format.
Demo
Click here to see how more about printed documentation works in RoboHelp 2020. Click here to download a zipped copy of project set up with these outputs so that you can try it out.