anchor.diff:        case WordExitAction of
         aExit :
         begin
  -        // document wasnt opened, so jus exit function.
  +        // document wasnt opened, so just exit function.
           Result.Successful := false;
           Result.OutputFile := '';
           Exit();
  
positive.code:         NonsensePassword := 'tfm554!ghAGWRDD';
  
          try
            //Open doc and save in requested format.
            Wordapp.documents.Open( FileToConvert,  // FileName
                                  false,          // ConfirmConversions
                                  true,            // ReadOnly
                                  EmptyParam,    // AddToRecentFiles,
                                  NonsensePassword    // PasswordDocument,
                                      // PasswordTemplate,
                                      // Revert,
                                     // WritePasswordDocument,
                                     // WritePasswordTemplate,
                                      // Format,
                                     // Encoding,
                                     // Visible,
                                      // OpenAndRepair,
                                      // DocumentDirection,
                                      // NoEncodingDialog,
                                      // XMLTransform     *)
  
                                  );
  
            // For some reason if the document contains a TableofContents, it hangs Word.  In older
  
negative.code: ﻿unit WordUtils;
  (*************************************************************
  Copyright © 2012 Toby Allen (http://github.com/tobya)
  
  