fastpyxl.worksheet.page module

class fastpyxl.worksheet.page.PageMargins(left=0.75, right=0.75, top=1, bottom=1, header=0.5, footer=0.5)[source]

Bases: Serialisable

Information about page margins for view/print layouts. Standard values (in inches) left, right = 0.75 top, bottom = 1 header, footer = 0.5

bottom: float | None
footer: float | None
header: float | None
left: float | None
right: float | None
tagname = 'pageMargins'
top: float | None
class fastpyxl.worksheet.page.PrintOptions(horizontalCentered=None, verticalCentered=None, headings=None, gridLines=None, gridLinesSet=None)[source]

Bases: Serialisable

Worksheet print options

gridLines: bool | None
gridLinesSet: bool | None
headings: bool | None
horizontalCentered: bool | None
tagname = 'printOptions'
verticalCentered: bool | None
class fastpyxl.worksheet.page.PrintPageSetup(worksheet=None, orientation=None, paperSize=None, scale=None, fitToHeight=None, fitToWidth=None, firstPageNumber=None, useFirstPageNumber=None, paperHeight=None, paperWidth=None, pageOrder=None, usePrinterDefaults=None, blackAndWhite=None, draft=None, cellComments=None, errors=None, horizontalDpi=None, verticalDpi=None, copies=None, id=None)[source]

Bases: Serialisable

Worksheet print page setup

property autoPageBreaks
blackAndWhite: bool | None
cellComments: str | None
copies: int | None
draft: bool | None
errors: str | None
firstPageNumber: int | None
fitToHeight: int | None
property fitToPage
fitToWidth: int | None
classmethod from_tree(node)[source]
horizontalDpi: int | None
id: str | None
orientation: str | None
pageOrder: str | None
paperHeight: str | None
paperSize: int | None
paperWidth: str | None
scale: int | None
property sheet_properties

Proxy property

tagname = 'pageSetup'
useFirstPageNumber: bool | None
usePrinterDefaults: bool | None
verticalDpi: int | None