public void Execute()
        {
            IParagraph paragraph = _documentItem.Paragraph;

            _previousText = paragraph.GetText();
            paragraph.SetText(_newText);
        }
 private void SaveParagraph(IParagraph paragraph)
 {
     _streamWriter.WriteLine("<p>");
     _streamWriter.WriteLine($"  {_stringFunctions.EncodeHtmlSymbols( paragraph.GetText())}");
     _streamWriter.WriteLine("</p>");
 }
 private void SaveParagraph(IParagraph paragraph)
 {
     _streamWriter.WriteLine("<p>");
     _streamWriter.WriteLine($"  {paragraph.GetText()}");
     _streamWriter.WriteLine("</p>");
 }