Source code for

# region Import
from __future__ import annotations
from typing import Tuple
import uno

from ooodev.format.inner.common.props.area_hatch_props import AreaHatchProps
from import Hatch as InnerHatch
from ooodev.format.inner.kind.format_kind import FormatKind

# endregion Import

[docs]class Hatch(InnerHatch): """ Hatch area of the header. .. versionadded:: 0.9.2 """ # region Methods def _supported_services(self) -> Tuple[str, ...]: try: return self._supported_services_values except AttributeError: self._supported_services_values = ( "", "", ) return self._supported_services_values # endregion Methods # region Properties @property def _props(self) -> AreaHatchProps: try: return self._props_internal_attributes except AttributeError: self._props_internal_attributes = AreaHatchProps( color="HeaderFillColor", style="HeaderFillStyle", bg="HeaderFillBackground", hatch_prop="HeaderFillHatch", ) return self._props_internal_attributes @property def prop_format_kind(self) -> FormatKind: """Gets the kind of style""" try: return self._format_kind_prop except AttributeError: self._format_kind_prop = FormatKind.HEADER return self._format_kind_prop
# endregion Properties