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.borders package
  • Edit on GitHub

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

Module contents

class ooodev.format.writer.modify.page.footer.borders.Padding(*, left=None, right=None, top=None, bottom=None, padding_all=None, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Padding

Page Style Footer Border Padding.

See also

  • Write Modify Page Footer Borders

New in version 0.9.0.

__init__(*, left=None, right=None, top=None, bottom=None, padding_all=None, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • left (float, UnitT, optional) – Left (in mm units) or Class UnitT.

  • right (float, UnitT, optional) – Right (in mm units) or Class UnitT.

  • top (float, UnitT, optional) – Top (in mm units) or Class UnitT.

  • bottom (float, UnitT, optional) – Bottom (in mm units) or Class UnitT.

  • all (float, UnitT, optional) – Left, right, top, bottom (in mm units) or Class UnitT. If argument is present then left, right, top, and bottom arguments are ignored.

  • 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.

  • padding_all (float | None) –

Return type:

None

See also

  • Write Modify Page Footer Borders

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.borders.Shadow(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Shadow

Page Style Footer Border Shadow

See also

  • Write Modify Page Footer Borders

New in version 0.9.0.

__init__(*, location=ShadowLocation.BOTTOM_RIGHT, color=8421504, transparent=False, width=1.76, style_name=WriterStylePageKind.STANDARD, 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 to StandardColor.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 to 1.76.

  • 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 Borders

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

class ooodev.format.writer.modify.page.footer.borders.Sides(*, left=None, right=None, top=None, bottom=None, all=None, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Bases: Sides

Page Footer Style Border Sides.

See also

  • Write Modify Page Footer Borders

New in version 0.9.0.

__init__(*, left=None, right=None, top=None, bottom=None, all=None, style_name=WriterStylePageKind.STANDARD, style_family='PageStyles')[source]

Constructor

Parameters:
  • left (Side | None, optional) – Determines the line style at the left edge.

  • right (Side | None, optional) – Determines the line style at the right edge.

  • top (Side | None, optional) – Determines the line style at the top edge.

  • bottom (Side | None, optional) – Determines the line style at the bottom edge.

  • all (Side | None, optional) – Determines the line style at the top, bottom, left, right edges. If this argument has a value then arguments top, bottom, left, right are ignored

  • 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 Borders

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

Previous Next

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

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