Paper Office
paper-xlsxAPI referencechart.print_settings

PageMargins

paper-xlsx 0.2.1 API reference

Identical to openpyxl.worksheet.page.Pagemargins but element names are different :-/

PageMargins(l=0.75, r=0.75, t=1, b=1, header=0.5, footer=0.5)

Attributes

b

attributeb
= b

bottom

attributebottom
= Alias('b')
attributefooter
= footer
attributeheader
= header

idx_base

attributeidx_base
= 0

l

attributel
= l

left

attributeleft
= Alias('l')

namespace

attributenamespace
= None

r

attributer
= r
attributeright
= Alias('r')

t

attributet
= t

tagname

attributetagname
= 'pageMargins'

top

attributetop
= Alias('t')

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page