ooodev.format.inner.modify.calc.page.header.border.shadow module
- class ooodev.format.inner.modify.calc.page.header.border.shadow.InnerShadow(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76)[source]
Bases:
ShadowStruct
Page Style Header/Footer Border Shadow
See also
New in version 0.9.0.
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.inner.modify.calc.page.header.border.shadow.Shadow(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Bases:
CellStyleBaseMulti
Page Style Header Border Shadow
See also
New in version 0.9.0.
- __init__(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Constructor
- Parameters:
location (ShadowLocation, optional) – contains the location of the shadow. Default to
ShadowLocation.BOTTOM_RIGHT
.color (
Color
, optional) – contains the color value of the shadow. Defaults toStandardColor.GRAY
.transparent (bool, optional) – Shadow transparency. Defaults to False.
width (float, UnitT, optional) – contains the size of the shadow (in
mm
units) or Class UnitT. Defaults to1.76
.style_name (CalcStylePageKind, str, optional) – Specifies the Page Style that instance applies to. Default is Default Page Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Return type:
None
See also
- classmethod from_style(doc, style_name=CalcStylePageKind.DEFAULT, style_family='PageStyles')[source]
Gets instance from Document.
- Parameters:
doc (object) – UNO Document Object.
style_name (CalcStylePageKind, str, optional) – Specifies the Paragraph Style that instance applies to. Default is Default Paragraph Style.
style_family (str, optional) – Style family. Default
PageStyles
.
- Returns:
Shadow
instance from document properties.- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_inner: InnerShadow
Gets/Sets Inner Shadow instance
- Return type:
- property prop_style_name: str
Gets/Sets property Style Name
- Return type:
str