true when found, false otherwise.bool hasStyleName(const ref OdfStyles styles, string name)Returns true if any style container (styles, automatic, or default) contains a definition with the given name.
styles | The style container to search. |
name | The style:name to look for. |
true when found, false otherwise.