Import from MS Word

You can import requirements documents from MS Word to preserve the structure, rich text formatting, embedded tables, and pictures of the imported document. The same approach applies to importing structured PDF files as MS Word 2013 or later can convert PDF files to a Word document, see Opening PDFs in Word.

Before importing a MS Word document into ReqView, you should clean its content in MS Word to meet the following prerequisites:

  • Documents must have consistent section hierarchy as determined by heading paragraph styles (“Heading 1”, “Heading 2”, and so forth) because it is used for reconstructing the document tree structure.
  • The numbering of section headings must be disabled, as ReqView numbers the sections automatically.
  • The imported document must not have a table layout. You can convert requirements stored in a MS Word table to text simply by using Convert to Text button found under Table Tools on the Layout tab.

You can then save the document as HTML file and import it into ReqView, this will create a new document object with a unique ID for each MS Word paragraph:

  • The new document object’s heading or text description will be set accordingly, preserving rich text format (bold, italic, underlined, text color, sub/superscript).
  • Tables, bulleted and numbered lists are appended to the text description of the preceding imported document object.
  • Images are imported as separate document objects with an attachment.

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 structured correctly 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.7.0