You can import Microsoft Word files into a new project or an existing one.
[Menu Proxy — Headings — Online — Depth3 ]
When you want to import Word files keep in mind that the cleaner a Word document is before import, the cleaner the documentation is after the import process. A clean document means: using an error-free Word document, removing any inline formatting, and using heading, paragraph, and/or character styles in Word.
Example This example illustrates a scenario of what to avoid when attempting to import a Word document.
Imagine a Word file where no Word heading styles are used, but the heading text is styled using inline (or local) formatting. All the content includes several different subjects is in one long document. The following shows part of the original Word document.
Let's say this Word document has been added to the project by dragging and dropping it into the Content Explorer, so the Import Microsoft Word Wizard displays. Since no Word styles were applied, Flare detected no heading styles to map to, and only the List Paragraph style shows in the Paragraph style options.
There are several actions to explore, but some wizard options to pursue might be:
In each case, since the content lives in one document with no heading styles, the Word file converts to one HTML file in Flare. If the intent is to have separate topics for each heading from the Word document, then there is some clean-up work to do. New HTML topics would have to be created in Flare, and the content would have to be copied into the topics manually. Alternatively, the original Word files could be cleaned up and then re-imported into Flare.
The bottom line is, having a clean Word document to begin with results in cleaner documentation after the import.
Before you begin, please note you can control the file names given to new topics that are created from imported Word documents. To do this, apply “Private” field codes to the appropriate headings in the Word documents where new topics will be created (see Specifying Custom File Names for Word Imports). You also have the option of renaming the new topic file names after the import process is finished (see Renaming Topics) .
The following steps describe how to import Word files using the Import Word Wizard. However, you also have the option of adding a Word import file (see Adding a Word Import File) and then using the Word Import Editor (see Word Import Editor—Import and Re-Import) .
This removes the selected file(s) from the list. | |
This moves the selected file or folder lower in the list (if you have more than one to import). | |
This moves the selected file or folder higher in the list (if you have more than one to import). The file at the top is used for the name of the Flare TOC that is created as a result of the import. Also, the order determines how the imported files are arranged in the TOC as topics. | |
This opens the file that is selected in the list. |
Note DOCX is Microsoft Word's platform-independent, open XML format. You must have Microsoft Word 2007 or later installed in order to import this file type. You also must have Word installed on your computer, as opposed to using the feature on the Options dialog (File > Options) to import without Microsoft Office.
Associate a Stylesheet This is purely optional. You can choose an existing stylesheet by clicking . After doing this, styles from that stylesheet become available in the mapping drop-down fields below, so that you can map Word styles to those from the stylesheet you chose. Style Mapping
Example In your Word document, second-level headings use the “Heading 2” style. But in Flare, it is named “h2.” So when the Word style is mapped to the Flare style, the resulting name will be “h2.Heading2.” If you click Discard MS Word styles, the mapping remains in place, but now the resulting name will be “h2” and any formatting from Word for that style is not retained. If you click Restore defaults, the mapping will once again result in the name “h2.Heading2” and its formatting will be retained.
When you select a style row in either the Paragraph or Character section, a preview is shown at the bottom so you can see how it looks. The design of the original Word style is shown on the left, and the look of the mapped style is shown on the right.
(Optional) On the left, select Advanced Options. You can use this page to set various options. Click the quick Help buttons next to each section for more information.
Styles
Note If you choose to create a stylesheet when importing Word documents into a new project, that stylesheet will be automatically selected in the project properties. If you then open the Word Import Editor, deselect the option to create a new stylesheet, and reimport the documents, that stylesheet will continue to exist in the project.
Example You have a Word document with two tables. In the first table, the first row has been set to repeat as a header row. In the second table, the first row has not been set to repeat as a header row. First, you import the Word document but you do not enable the option to set the first row of each table as a header row. As a result, the first row in the first table continues to be a header row, just as it was in the Word document. And the first row in the second table continues to be a regular row, just as it was in the Word document. Next, you import the Word document but you do enable the option to set the first row of each table as a header row. As a result, the first row of each table is now a header row.
Note To use this feature, the table must have been created in Microsoft Word 2007 or later. Also, open the Options dialog ( File > Options ), select the General tab, and make sure that Import/Export Word Files without MS Office is disabled .
Use standard list style type This will use standard bullets (e.g., square, disc) and numbering (e.g., decimal), whether they were used in the Word documents or not.
If this is not enabled, lists are imported with the characters or symbols used for the lists in the Word documents. However, these are contained within span tags in the Flare topics. This allows you to keep special elements, (e.g., Wingdings) that you might have used in Word for custom lists.
Example You have a Word document with lists, and it looks like this:
If the option to use standard list style types is enabled, the topic in Flare will look like this:
If the option is disabled, the topic will look like this:
Convert equations to MathML When importing Microsoft Word files that contain equations, you can convert them from Office Math Markup Language (the format used in Word) to MathML (the web standard and Flare format). If you disable this option, equations from Word are converted to images.
Note To use this feature, the equation must have been created in Microsoft Word 2007 or later. Also, open the Options dialog ( File > Options ), select the General tab, and make sure that Import/Export Word Files without MS Office is disabled .
Create a page layout for each section header/footer Select this option if you want Flare to create new page layouts when you import Word documents that have section breaks, along with headers or footers. For each new section in the Word document that has a different header or footer than the previous section, Flare creates a unique page layout. After the import is finished, you can open and edit the page layouts if necessary (see Page Layouts and Editing Pages) . You can then create chapter breaks for your print-based output and assign these page layouts to the different topics in the output (see Specifying Chapter and Page Layout Breaks) .
If you add a Word import file (see Adding a Word Import File) or if you have previously imported Word files using the wizard, a file is added to the Imports folder in the Project Organizer.
When you double-click this file, it opens in the Word Import Editor. This editor contains most of the same fields and options as the Import Word Wizard.
After completing or changing any of these fields, you can click Reimport in the toolbar.
The following table shows some Word features how what happens to them when you import documents into Flare.
Result After Import
Artwork and Special Effects
If you apply certain special effects or artwork (e.g., arrows) to images in Word and then import them into Flare , those effects will not be retained. For example, a rotated image will return to its straight, original state. However, there are some workarounds that may allow you to keep the effects or artwork. One solution is to apply another effect such as a shadow or 3-D to the image in Word (e.g., add a shadow to a rotated image that you want to keep). This forces Word to save the image as an entirely new image with the effects. Another possible solution is to save the Word document as a web page, manually copy that HTM file into the Flare folder, and then open it within Flare . As for text floating around images, this effect is not supported in Flare . When you import from Word, the text is added below the image.
Image file names are treated in the following ways for linked and embedded images:
Example You have a Word document called "Doggies." Within this document you have an h1 called "Dog Breeds." Under this heading, you have inserted a linked picture of Beagles (file name: beagles.png). You have also embedded a picture of West Highland White Terriers (file name: WestHighlandWhiteTerriers.jpg). After you import the document into Flare, you see that the following has occurred:
First, notice that the beagles.png file name has been preserved, and this file is stored in the root of the Images subfolder.
Second, notice that the image for the West Highland White Terriers was simply named "Dog Breeds.jpg," after the name of the topic that was created as a result of the h1 text. Also, a subfolder called "Doggies" has been created, based on the name of the Word document. That's where this image file is stored.
Image Alt Text and Description
If you have an image in a Word document that contains alt text or a description, both are brought in to Flare. After the Word document is imported, you can open the topic containing the image, right-click on the image, and select Image Properties . In the Image Properties dialog, the description for the image is shown in the Screen Tip field, and the alt text is shown in the Alternate Text field.
When you insert an image in Word, one of the options is to insert it as a linked image.
These types of images are imported into Flare.
Note If you received a Word document with linked images from another person—rather than creating the document yourself—you need to also get the images themselves from that individual. Then you need to re-link the images in the document. Otherwise, Word (and therefore also Flare) will not be able to find them.
If you import a Word document that contains a direct link to a video, it is brought into the Flare project.
This only works for direct video links. For example, if you have Word 2013, you can look for and insert videos from Bing or YouTube. These are direct link videos that are supported. But those from video embed codes are not supported.
Note Flare supports Microsoft Word 2003 and newer versions.
Note A link icon displays on tabs in the XML Editor next to file names that are imported from and linked to another file or Flare project. However, if you are also using the built-in source control technology, the source control icons have a higher precedence and will therefore be displayed instead.
Now you can move on to any of the other basic steps:
Note You do not necessarily need to follow all of the above steps (and their substeps) in the exact order given. For example, as you add topics to a project, you may want to start applying styles and formatting to them right away, before adding other features to the project, such as a glossary. However, the above sequence probably makes the most overall logical sense. For example, you must start a project before adding content and features (i.e., topics, content, cross-references, etc.) to it.