Import from MS Word

Review this article to learn how to import requirements documents from MS Word to preserve the structure, rich text formatting, embedded tables, and pictures. Save your MS Word document to HTML, and then import it into ReqView.

The ReqView importer reads the HTML file saved from MS Word and creates a new document object with a unique ID for each MS Word document paragraph. The new document object will set either heading if the object corresponds to a MS Word section heading, or text description preserving rich text format (bold, italic, underlined, text color, sub/superscript). Tables, bulleted, and numbered lists are appended to the description of the preceding imported document object. Images are imported as separate document objects with an attachment.

Import Requirements from MS Word

Review the following prerequisites for an MS Word document to use the importer:

  • Documents must have a consistent section hierarchy as determined by heading paragraph styles (“Heading 1”, “Heading 2”, and so forth) because it is used for reconstructing the tree document structure.
  • The numbering of section headings must be disabled, as ReqView numbers the sections automatically.
  • HTML files must be saved with UTF-8 encoding.

Follow these steps:

  1. Open the imported document in MS Word and remove its title page, table of contents, page headers, or footers and all other content which you do not want to import into ReqView.

  2. Open the MS Word Navigation Pane (click View and select Navigation Pane) and check that the document is correctly structured with headings and paragraphs according to the above prerequisites.

    Sample Imported Document Structure:

    HtmlImport_01.png

  3. Open Save As dialog and choose Web Page, Filtered file type to save the document. Open Tools and select Web Options…:

    HtmlImport_02.png

  4. For better image quality, select the Browsers tab and select “Use PNG as a graphics format”:

    HtmlImport_03b.png

  5. As UTF-8 encoding is mandatory to ensure correct handling of non-English characters in imported documents, select the Encoding tab and choose Unicode (UTF-8). Note: Unicode and Unicode (Big Endian) options are not allowed:

    HtmlImport_03.png

  6. To remove Office specific tags, in the Save As dialog click Save and then click Yes:

    HtmlImport_04.png

  7. Open a ReqView project and select the document object where you want the imported requirements to be inserted. Then click File, mouseover Import, mouseover MS Word HTML Document, and select whether you want to import new objects Before, After or As Children of the selected object:

    HtmlImport_05.png

  8. In the Import HTML Document dialog, select the saved HTML document using the “HTML file name” browse button:

    HtmlImport_06.png

  9. The images in the document are placed in a folder with “_files” appended. Open it, and select all of them using the “Image files” browse button:

    HtmlImport_07.png

  10. Click OK. You imported your HTML document:

    HtmlImport_08.png

Updated for version 2.6.0