/// <summary>
        /// Function to translate all Bunch of documents  selected by the user
        /// </summary>
        /// <param name="outputfilepath">Path of the output File</param>
        /// <param name="subList">List of All documents</param>
        /// <param name="category">whether master/sub doc or Bunch of Docs</param>
        /// <param name="table">Document Properties</param>
        public bool OoxToDaisySub(string outputfilepath, ArrayList subList, string category, Hashtable table, string control, Hashtable MultipleMathMl, string output_Pipeline)
        {
            flag = 0;
            validationErrorMsg = "";
            using (Progress progress = new Progress(this.converter, this.resourceManager, outputfilepath, subList, category, table, control, MultipleMathMl, output_Pipeline))
            {
                DialogResult progressDialogResult = progress.ShowDialog();
                if (progressDialogResult == DialogResult.OK)
                {
                    if (!string.IsNullOrEmpty(progress.ValidationError))
                    {
                        validationErrorMsg = progress.ValidationError;
                        OnMasterSubValidationError(progress.ValidationError);
                    }
                    else if (progress.HasLostElements)
                    {
                        OnLostElements(string.Empty, outputfilepath, progress.LostElements);
                        flag = 1;
                        if (!(AddInHelper.IsSingleDaisyFromMultipleButton(control) && ScriptToExecute == null))
                        {
                            continueDTBookGeneration = IsContinueDTBookGenerationOnLostElements();
                        }
                    }
                    else
                    {
                        if (AddInHelper.IsSingleDaisyFromMultipleButton(control) && ScriptToExecute == null)
                        {
                            OnSuccess();
                        }
                        flag = 1;
                    }
                }
                else if (progressDialogResult == DialogResult.Cancel)
                {
                    DeleteDTBookFilesIfExists(outputfilepath);
                }
                else if (!string.IsNullOrEmpty(progress.ValidationError))
                {
                    OnMasterSubValidationError(progress.ValidationError);
                }
            }

            DeleteTemporaryImages();

            return((flag == 1) && continueDTBookGeneration);
        }