parseStyleFamily

fnOdfStyleFamily parseStyleFamily(string family) @safe pure nothrow

Converts an ODF style:family attribute string to an OdfStyleFamily enum value.

Parameters

familyThe raw attribute value (e.g. "text", "paragraph").

Returns

The matching OdfStyleFamily, or OdfStyleFamily.UNKNOWN if

the string is not recognised.