hasStyleName

fnbool hasStyleName(const ref OdfStyles styles, string name)

Returns true if any style container (styles, automatic, or default) contains a definition with the given name.

Parameters

stylesThe style container to search.
nameThe style:name to look for.

Returns

true when found, false otherwise.