Implement bold font; make tests pass again.
- NEU: Überschriften und pathologische Werte werden fett gedruckt. - FIX: Kleinere Bugfixes.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user