Esempio n. 1
0
        public void Execute()
        {
            IParagraph paragraph = _documentItem.Paragraph;

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