OOO Development Tools

Book:

  • Python LibreOffice Programming

Help:

  • Help Documentation

Guides:

  • Guides

Misc:

  • Events
  • Version History
  • Credits and Acknowledgements

DEVELOPER API:

  • ooodev
    • adapter
    • calc
    • config
    • conn
    • dialog
    • draw
    • events
    • exceptions
    • form
    • format
      • Subpackages
        • ooodev.format.calc package
        • ooodev.format.chart2 package
        • ooodev.format.draw package
        • ooodev.format.impress package
        • ooodev.format.inner package
        • ooodev.format.proto package
        • ooodev.format.writer package
      • Submodules
      • Module contents
    • formatters
    • Globals
    • gui
    • io
    • listeners
    • loader
    • macro
    • meta
    • office
    • proto
    • theme
    • units
    • uno_helper
    • utils
    • wrapper
    • write

DEVELOPING ODEV:

  • Dev Docs
OOO Development Tools
  • ooodev
  • format
  • ooodev.format.writer package
  • ooodev.format.writer.modify package
  • ooodev.format.writer.modify.page package
  • ooodev.format.writer.modify.page.footer package
  • ooodev.format.writer.modify.page.footer.area package
  • Edit on GitHub

ooodev.format.writer.modify.page.footer.area package

Module contents

class ooodev.format.writer.modify.page.footer.area.Color(*, color=-1, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Color

Page Footer Color

See also

  • Write Modify Page Footer Area

New in version 0.9.0.

__init__(*, color=-1, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • color (Color, optional) – Footer Area Color.

  • style_name (WriterStylePageKind, 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

  • Write Modify Page Footer Area

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.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='', style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Gradient

Page Footer Gradient Color

See also

  • Write Modify Page Footer Area

New in version 0.9.0.

__init__(*, 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='', style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • style (GradientStyle, optional) – Specifies the style of the gradient. Defaults to GradientStyle.LINEAR.

  • step_count (int, optional) – Specifies the number of steps of change color. Defaults to 0.

  • offset (Offset, int, optional) – Specifies the X and Y coordinate, where the gradient begins. X is effectively the center of the RADIAL, ELLIPTICAL, SQUARE and RECT style gradients. Defaults to Offset(50, 50).

  • angle (Angle, int, optional) – Specifies angle of the gradient. Defaults to 0.

  • border (int, optional) – Specifies percent of the total width where just the start color is used. Defaults to 0.

  • grad_color (ColorRange, optional) – Specifies the color at the start point and stop point of the gradient. Defaults to ColorRange(Color(0), Color(16777215)).

  • grad_intensity (IntensityRange, optional) – Specifies the intensity at the start point and stop point of the gradient. Defaults to IntensityRange(100, 100).

  • name (str, optional) – Specifies the Fill Gradient Name.

  • style_name (StyleParaKind, 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

  • Write Modify Page Footer Area

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.area.Hatch(*, style=HatchStyle.SINGLE, color=0, space=0.0, angle=0, bg_color=-1, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Hatch

Page Footer Hatch

See also

  • Write Modify Page Footer Area

New in version 0.9.0.

__init__(*, style=HatchStyle.SINGLE, color=0, space=0.0, angle=0, bg_color=-1, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • style (HatchStyle, optional) – Specifies the kind of lines used to draw this hatch. Default HatchStyle.SINGLE.

  • color (Color, optional) – Specifies the color of the hatch lines. Default 0.

  • space (float, UnitT, optional) – Specifies the space between the lines in the hatch (in mm units) or Class UnitT. Default 0.0

  • angle (Angle, int, optional) – Specifies angle of the hatch in degrees. Default to 0.

  • bg_color (Color, optional) – Specifies the background Color. Set this -1 (default) for no background color.

  • style_name (StyleParaKind, 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

  • Write Modify Page Footer Area

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.area.Img(*, bitmap=None, name='', mode=ImgStyleKind.TILED, size=None, position=None, pos_offset=None, tile_offset=None, auto_name=False, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Img

Page Footer Background Image

See also

  • Write Modify Page Footer Area

New in version 0.9.0.

__init__(*, bitmap=None, name='', mode=ImgStyleKind.TILED, size=None, position=None, pos_offset=None, tile_offset=None, auto_name=False, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • bitmap (XBitmap, optional) – Bitmap instance. If name is not already in the Bitmap Table then this property is required.

  • name (str, optional) – Specifies the name of the image. This is also the name that is used to store bitmap in LibreOffice Bitmap Table.

  • mode (ImgStyleKind, optional) – Specifies the image style, tiled, stretched etc. Default ImgStyleKind.TILED.

  • size (SizePercent, SizeMM, optional) – Size in percent (0 - 100) or size in mm units.

  • position (RectanglePoint) – Tiling position of Image.

  • pos_offset (Offset, optional) – Tiling position offset.

  • tile_offset (OffsetColumn, OffsetRow, optional) – The tiling offset.

  • auto_name (bool, optional) – Specifies if name is ensured to be unique. Defaults to False.

  • style_name (StyleParaKind, 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

  • Write Modify Page Footer Area

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.area.Pattern(*, bitmap=None, name='', tile=True, stretch=False, auto_name=False, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Pattern

Page Footer Pattern

See also

  • Write Modify Page Footer Area

New in version 0.9.0.

__init__(*, bitmap=None, name='', tile=True, stretch=False, auto_name=False, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • bitmap (XBitmap, optional) – Bitmap instance. If name is not already in the Bitmap Table then this property is required.

  • name (str, optional) – Specifies the name of the pattern. This is also the name that is used to store bitmap in LibreOffice Bitmap Table.

  • tile (bool, optional) – Specified if bitmap is tiled. Defaults to True.

  • stretch (bool, optional) – Specifies if bitmap is stretched. Defaults to False.

  • auto_name (bool, optional) – Specifies if name is ensured to be unique. Defaults to False.

  • style_name (StyleParaKind, 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

  • Write Modify Page Footer Area

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

Previous Next

© Copyright 2022-2024, :Barry-Thomas-Paul: Moss. Revision f6681664.

Built with Sphinx using a theme provided by Read the Docs.