public StyleMap parseProperty(String key, String[] values)
{
String value = values[0];
if (!isBoolean(value)) {
String message = Interpolator.instance().interpolate("#0 is not a boolean in #1", value, key);
throw new ExcelWorkbookException(message);
}
StyleMap styleMap = new StyleMap();
styleMap.put(key, Boolean.parseBoolean(value));
return styleMap;
}