`` `` element, defining page dimensions and orientation.
| 84 | |
| 85 | |
| 86 | class CT_PageSz(BaseOxmlElement): |
| 87 | """``<w:pgSz>`` element, defining page dimensions and orientation.""" |
| 88 | |
| 89 | w: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType] |
| 90 | "w:w", ST_TwipsMeasure |
| 91 | ) |
| 92 | h: Length | None = OptionalAttribute( # pyright: ignore[reportAssignmentType] |
| 93 | "w:h", ST_TwipsMeasure |
| 94 | ) |
| 95 | orient: WD_ORIENTATION = OptionalAttribute( # pyright: ignore[reportAssignmentType] |
| 96 | "w:orient", WD_ORIENTATION, default=WD_ORIENTATION.PORTRAIT |
| 97 | ) |
| 98 | |
| 99 | |
| 100 | class CT_SectPr(BaseOxmlElement): |
nothing calls this directly
no test coverage detected
searching dependent graphs…