You are here: Doc-To-Help 2007 Source Documents > Adding a Document to a Project > Adding a Source Document

Adding a Source Document

Adding a Word Document

1.   On the Icon bar, click Project.

2.   Select the Documents item from the left pane.

3.   Right-click anywhere in the document list in the right pane and choose Add Documents from the shortcut menu. The Add Documents dialog box opens.

4.   Select Word Documents (*.doc, *.docx, *.docm) from the Files of type drop–down list if it is not selected already.

5.   Select the document you wish to add and click Open.

Note that the new document has been added to the list. This new document contains the default properties and can be modified as necessary.

Adding an HTML Document

1.   On the Icon bar, click Project.

2.   Select the Documents item from the left pane.

3.   Right-click anywhere in the document list in the right pane and choose Add Documents from the shortcut menu. The Add Documents dialog box opens.

4.   Select HTML Format (*.htm, *.html) from the Files of type drop-down list if it is not selected already.

5.   Select the document you wish to add and click Open. If the document you selected is not located within the folder specified in the project's HTMLSourceFolder property, the following warning appears:

6.   Click Yes to continue or No to cancel and return to the project editor.

7.   If you did not receive this warning, or if Yes was clicked in the previous step, the Adding HTML Documents window appears.

      Under Number of topics per document, specify Single or Multiple topics.

      Under Add document as, select Child or Sibling of the selected document. Child places the document a level below the selected document. Sibling places the document on the same level as the selected document.

      Specify a title for the new document in the Title text box.

      Choose a document style from the Document Style drop-down list. If the style you are looking for is not listed, select Show all styles, which lists all paragraph styles in the project.

      Add default style sheet to the document is checked by default. This ensures that the cascading style sheet specified in the HTMLDefaultCSS property of the project is automatically attached to the new document. If you do not want the style sheet attached, uncheck this box.

8.   Click OK to close the Adding HTML Documents window. The new document is added to the list of documents. This new document contains the default properties and can be modified as necessary.

Alternatively, you can add a new document by clicking the Project menu, choosing New Document, then choosing the document.