OOXML Page size

Page Size dimensions, orientation and printer paper code.

class benker.parsers.ooxml.w_pg_sz.PgSz(w_pg_sz)

Bases: object

Page Size. – This element specifies the properties (size and orientation) for all pages in the current section.

Example: <w:pgSz w:w="11907" w:h="16839" />, for A4 portrait.

property styles
w_code

Printer Paper Code

w_h

Page Height

w_orient

Page Orientation (Possible values are “landscape” and “portrait”).

w_w

Page Width