The IncludeText field inserts the text and graphics contained in the document named in the field code. You can insert the entire document or a portion of the document referred to by a bookmark. This field was formerly called the Include field.
Notes: Because field codes can be visible to anyone reading your document, be sure that the information you place in field codes is not information that you want kept private.
-
If the source document is a Word document, you can edit the inserted text resulting from the IncludeText field and save the changes back to the source document. Edit the inserted text, and then press Ctrl+Shift+F7.
-
The IncludeText field doesn't make use of OLE.
Syntax
When you view the IncludeText field code in your document, the syntax looks like this:
{ INCLUDETEXT "FileName" [Bookmark ] [Switches ] }
Note: A field code tells the field what to show. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9.
Instructions
"FileName"
The name and location of the document. If the location includes a long file name with spaces, enclose it in quotation marks. Replace single backslashes with double backslashes to specify the path, for example:
"C:\\My Documents\\Manual.doc"
Bookmark
The name of a bookmark that refers to the portion of the Microsoft Word document you want to include.
Switches
\!
Prevents Word from updating fields in the inserted text unless the fields are first updated in the source document.
\c ClassName
Here are file format converters provided with Word and their corresponding class names:
WordPerfect version 6.x
WordPerfect6x
WordPerfect 5.x for Windows
WrdPrfctWin
Example
This field inserts the portion of the file referred to by the Summary bookmark:
{ INCLUDETEXT "C:\\Winword\\Port Development RFP" Summary }