Section
Available Section style options:
borderBottomColor
. Border bottom color.borderBottomSize
. Border bottom size in twip.borderLeftColor
. Border left color.borderLeftSize
. Border left size in twip.borderRightColor
. Border right color.borderRightSize
. Border right size in twip.borderTopColor
. Border top color.borderTopSize
. Border top size in twip.breakType
. Section break type (nextPage, nextColumn, continuous, evenPage, oddPage).colsNum
. Number of columns.colsSpace
. Spacing between columns.footerHeight
. Spacing to bottom of footer.gutter
. Page gutter spacing.headerHeight
. Spacing to top of header.marginTop
. Page margin top in twip.marginLeft
. Page margin left in twip.marginRight
. Page margin right in twip.marginBottom
. Page margin bottom in twip.orientation
. Page orientation (portrait
, which is default, orlandscape
). See\PhpOffice\PhpWord\Style\Section::ORIENTATION_...
class constants for possible valuespageSizeH
. Page height in twip. Implicitly defined byorientation
option. Any changes are discouraged.pageSizeW
. Page width in twip. Implicitly defined byorientation
option. Any changes are discouraged.vAlign
. Vertical Page Alignment See\PhpOffice\PhpWord\SimpleType\VerticalJc
for possible values