ooodev.format.writer.direct.page.header.area package

Module contents

class ooodev.format.writer.direct.page.header.area.Color(color=-1)[source]

Bases: AbstractColor

Color of the header area.

New in version 0.9.2.

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.direct.page.header.area.Gradient(*, style=GradientStyle.LINEAR, step_count=0, offset=Offset(x=50, y=50), angle=0, border=0, grad_color=ColorRange(start=0, end=16777215), grad_intensity=IntensityRange(start=100, end=100), name='')[source]

Bases: Gradient

Gradient of the header area of a page style

New in version 0.9.2.

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.direct.page.header.area.Hatch(*, style=HatchStyle.SINGLE, color=0, space=0.0, angle=0, bg_color=-1)[source]

Bases: Hatch

Hatch area of the header.

New in version 0.9.2.

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.direct.page.header.area.Img(*, bitmap=None, name='', mode=ImgStyleKind.TILED, size=None, position=None, pos_offset=None, tile_offset=None, auto_name=False)[source]

Bases: Img

Img style for header area

New in version 0.9.2.

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.direct.page.header.area.Pattern(*, bitmap=None, name='', tile=True, stretch=False, auto_name=False)[source]

Bases: Pattern

Pattern fill for header area.

New in version 0.9.2.

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind