Implement bold font; make tests pass again.
- NEU: Überschriften und pathologische Werte werden fett gedruckt. - FIX: Kleinere Bugfixes.
This commit is contained in:
@ -21,6 +21,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
using zaaReloaded2.Formatter;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
|
||||
namespace Tests.Formatter
|
||||
{
|
||||
@ -95,5 +96,13 @@ namespace Tests.Formatter
|
||||
Assert.IsFalse(_docWriter.HasBufferedText);
|
||||
Assert.AreEqual(String.Empty, _docWriter.ToString());
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TextMarkup()
|
||||
{
|
||||
_docWriter.Document = new Document();
|
||||
_docWriter.WriteLine("This is not bold. <b>This is bold!</b>");
|
||||
_docWriter.Flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user