public static XElement BuildStatus(string title, StatusColor color, bool outline)
{
return Element(
"ac:structured-macro",
Attribute("ac:name", "status"),
Element(
"ac:parameter",
Attribute("ac:name", "subtle"),
outline.ToString().ToLowerInvariant()),
Element(
"ac:parameter",
Attribute("ac:name", "colour"),
color.ToString()),
Element(
"ac:parameter",
Attribute("ac:name", "title"),
title));
}