`w:style` child with `w:name` grandchild having value `name`. |None| if not found.
(self, name: str)
| 308 | return next(iter(self.xpath(xpath)), None) |
| 309 | |
| 310 | def get_by_name(self, name: str) -> CT_Style | None: |
| 311 | """`w:style` child with `w:name` grandchild having value `name`. |
| 312 | |
| 313 | |None| if not found. |
| 314 | """ |
| 315 | xpath = 'w:style[w:name/@w:val="%s"]' % name |
| 316 | return next(iter(self.xpath(xpath)), None) |
| 317 | |
| 318 | def _iter_styles(self): |
| 319 | """Generate each of the `w:style` child elements in document order.""" |
no test coverage detected