Implement bold font; make tests pass again.

- NEU: Überschriften und pathologische Werte werden fett gedruckt.
- FIX: Kleinere Bugfixes.
This commit is contained in:
Daniel Kraus
2015-08-14 11:22:11 +02:00
parent 39e8b1f81d
commit 32d4e8d955
8 changed files with 100 additions and 16 deletions

View File

@ -153,15 +153,20 @@ namespace zaaReloaded2.Formatter
string name = IncludeMaterial ? LabItem.QualifiedName : LabItem.Name;
// Insert the formatted text into the document.
formatter.Write(
string output =
String.Format(
"{0} {1}{2}{3}",
name,
value,
unit,
reference
));
);
if (!LabItem.IsNormal)
{
output = String.Format("<b>{0}</b>", output);
}
formatter.Write(output);
HasBeenUsed = true;
}