anchor.diff:  begin
     LogError(Msg);
     LogError('Exiting with Error Code : ' + inttostr(ErrorNo));
  -  //Ensure word is quit before halting.
  +  // Ensure word is quit before halting.
     DestroyOfficeApp();
     Halt(ErrorNo);
   end;
  
positive.code: begin
    FLogToFile := Value;
  
    //Set up logfile.
    if FLogtoFile then
    begin
      if not assigned(fLogFile) then
  
negative.code: 
            //  UrlToCall := 'action=convert&type='+ FOutputFileFormatString + '&outputfilename=' + URLEncode(FileToCreate)+ '&inputfilename=' + URLEncode(InputFile);
  
              // Make a call to webhook if it exists
            //  CallWebHook(UrlToCall);
  
              AfterConversion(InputFile, FileToCreate);
  
              log('Creating File: ' + FileToCreate,CHATTY);
            end
            else    // Conversion not successful
            begin
                OnConversionError(ConversionInfo.InputFile, ConversionInfo.OutputFile, ConversionInfo.Error);
            end;
  