Contents/Control Methods/DocumentIn this chapterGetTerFields — Retrieve Window VariablesSetTerFields — Set Window VariablesTerGetParam — Retrieve miscellaneous operating variables.TerGetRtfDocInfo — Retrieve the header information about the document.TerGetWordCount — Count number of words in the document.TerInsertDateTime — Insert a date/time field.TerInsertToc — Insert table of contents.TerInsertToc2 — Insert table of contents.TerLoadExtFont — Load an external font file.TerSetDefDir — Set the default directory and file type.TerSetDocTextFlow — Set the right-to-left/left-to-right text flow option for the document.TerSetRtfDocInfo — Set the header information about the document.