internal string GetOutput(IEnumerable <string> selectedItems, ITextProcessor textProcessor)
        {
            try
            {
                StringBuilder buffer = new StringBuilder();
                int           count  = selectedItems.Count();
                for (int i = 0; i < count; i++)
                {
                    textProcessor.AppendTextItem(i, count, selectedItems.ElementAt(i), buffer);
                }

                return(buffer.ToString());
            }
            catch (Exception ex)
            {
                logService.Write(LogEntryType.Warning, "Error occured while appending text item in '{0}':  {1}", textProcessor.GetType().Name, ex.Message);
                return(string.Empty);
            }
        }