HotDocs_Online.UtilityTools Object

The UtilityTools class contains a method for converting RTF files to various file formats.

Interface Information

ProgID: HotDocs_Online.UtilityTools.10.1
Version Independent ProgID: HotDocs_Online.UtilityTools
CLSID: {8D2DAA7E-49B6-4215-B755-DEECE74E9F0A}
_UtilityTools Interface: IID: {F3B62769-E623-4866-ADDE-64AE3A91BEE1}
_UtilityTools2 Interface: IID: {ECD94551-1B3A-41c8-A7C6-F3BA1A576D3E}
_UtilityTools3 Interface: IID: {7CC9454A-30C4-4153-BC5C-8401FC4EC521}

Methods

Method Description
AddLogEntry This method adds an entry to the HotDocs Server log file. Although this method is frequently used for error messages, you could use it to record any kind of information in the HotDocs Server log file. For example, you could add a log entry when a user first logs on to your host application.
BuildServerFiles This method creates the files required by HotDocs Server to display an interview for a template.
CheckFileAccess Determine whether a file can be accessed by HotDocsServer.exe.
ConvertFile This method converts a document from one file type to another. For example, you can use it to convert an .RTF or .DOCX file to .HTML or .PDF.
ConvertRTFFile This method converts an RTF document to a PDF, HTML, or TXT document. This method was deprecated in HotDocs Server 11. Its functionality is now available in UtilityTools.ConvertFile.
CreateTempDirectory This method creates a folder on disk using a unique ID where you can save temporary files.
DecryptString This method decrypts a string.
DeleteTempDirectory This method deletes the files in a temporary folder identified by a unique ID.
EncryptString This method encrypts a string.
GetTempDirectoryPath This method returns the path to a temporary folder identified by a unique ID.
GetTempFilePath This method generates a random file name using the specified extension, and returns the full path to that file in the folder indicated.
TouchTempDirectory This method sets the modification time of each file in the specified directory to the current time. This is useful to keep temporary files from being deleted by a process that looks for temporary files older than a specific age.