columnProperties = $columnProperties; } /** * @return SectionColumnProperties[] */ public function getColumnProperties() { return $this->columnProperties; } /** * The style of column separators. This style can be set even when there's one * column in the section. When updating this property, setting a concrete * value is required. Unsetting this property results in a 400 bad request * error. * * Accepted values: COLUMN_SEPARATOR_STYLE_UNSPECIFIED, NONE, * BETWEEN_EACH_COLUMN * * @param self::COLUMN_SEPARATOR_STYLE_* $columnSeparatorStyle */ public function setColumnSeparatorStyle($columnSeparatorStyle) { $this->columnSeparatorStyle = $columnSeparatorStyle; } /** * @return self::COLUMN_SEPARATOR_STYLE_* */ public function getColumnSeparatorStyle() { return $this->columnSeparatorStyle; } /** * The content direction of this section. If unset, the value defaults to * LEFT_TO_RIGHT. When updating this property, setting a concrete value is * required. Unsetting this property results in a 400 bad request error. * * Accepted values: CONTENT_DIRECTION_UNSPECIFIED, LEFT_TO_RIGHT, * RIGHT_TO_LEFT * * @param self::CONTENT_DIRECTION_* $contentDirection */ public function setContentDirection($contentDirection) { $this->contentDirection = $contentDirection; } /** * @return self::CONTENT_DIRECTION_* */ public function getContentDirection() { return $this->contentDirection; } /** * The ID of the default footer. If unset, the value inherits from the * previous SectionBreak's SectionStyle. If the value is unset in the first * SectionBreak, it inherits from DocumentStyle's default_footer_id. If * DocumentMode is PAGELESS, this property will not be rendered. This property * is read-only. * * @param string $defaultFooterId */ public function setDefaultFooterId($defaultFooterId) { $this->defaultFooterId = $defaultFooterId; } /** * @return string */ public function getDefaultFooterId() { return $this->defaultFooterId; } /** * The ID of the default header. If unset, the value inherits from the * previous SectionBreak's SectionStyle. If the value is unset in the first * SectionBreak, it inherits from DocumentStyle's default_header_id. If * DocumentMode is PAGELESS, this property will not be rendered. This property * is read-only. * * @param string $defaultHeaderId */ public function setDefaultHeaderId($defaultHeaderId) { $this->defaultHeaderId = $defaultHeaderId; } /** * @return string */ public function getDefaultHeaderId() { return $this->defaultHeaderId; } /** * The ID of the footer used only for even pages. If the value of * DocumentStyle's use_even_page_header_footer is true, this value is used for * the footers on even pages in the section. If it is false, the footers on * even pages use the default_footer_id. If unset, the value inherits from the * previous SectionBreak's SectionStyle. If the value is unset in the first * SectionBreak, it inherits from DocumentStyle's even_page_footer_id. If * DocumentMode is PAGELESS, this property will not be rendered. This property * is read-only. * * @param string $evenPageFooterId */ public function setEvenPageFooterId($evenPageFooterId) { $this->evenPageFooterId = $evenPageFooterId; } /** * @return string */ public function getEvenPageFooterId() { return $this->evenPageFooterId; } /** * The ID of the header used only for even pages. If the value of * DocumentStyle's use_even_page_header_footer is true, this value is used for * the headers on even pages in the section. If it is false, the headers on * even pages use the default_header_id. If unset, the value inherits from the * previous SectionBreak's SectionStyle. If the value is unset in the first * SectionBreak, it inherits from DocumentStyle's even_page_header_id. If * DocumentMode is PAGELESS, this property will not be rendered. This property * is read-only. * * @param string $evenPageHeaderId */ public function setEvenPageHeaderId($evenPageHeaderId) { $this->evenPageHeaderId = $evenPageHeaderId; } /** * @return string */ public function getEvenPageHeaderId() { return $this->evenPageHeaderId; } /** * The ID of the footer used only for the first page of the section. If * use_first_page_header_footer is true, this value is used for the footer on * the first page of the section. If it's false, the footer on the first page * of the section uses the default_footer_id. If unset, the value inherits * from the previous SectionBreak's SectionStyle. If the value is unset in the * first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. * If DocumentMode is PAGELESS, this property will not be rendered. This * property is read-only. * * @param string $firstPageFooterId */ public function setFirstPageFooterId($firstPageFooterId) { $this->firstPageFooterId = $firstPageFooterId; } /** * @return string */ public function getFirstPageFooterId() { return $this->firstPageFooterId; } /** * The ID of the header used only for the first page of the section. If * use_first_page_header_footer is true, this value is used for the header on * the first page of the section. If it's false, the header on the first page * of the section uses the default_header_id. If unset, the value inherits * from the previous SectionBreak's SectionStyle. If the value is unset in the * first SectionBreak, it inherits from DocumentStyle's first_page_header_id. * If DocumentMode is PAGELESS, this property will not be rendered. This * property is read-only. * * @param string $firstPageHeaderId */ public function setFirstPageHeaderId($firstPageHeaderId) { $this->firstPageHeaderId = $firstPageHeaderId; } /** * @return string */ public function getFirstPageHeaderId() { return $this->firstPageHeaderId; } /** * Optional. Indicates whether to flip the dimensions of DocumentStyle's * page_size for this section, which allows changing the page orientation * between portrait and landscape. If unset, the value inherits from * DocumentStyle's flip_page_orientation. If DocumentMode is PAGELESS, this * property will not be rendered. When updating this property, setting a * concrete value is required. Unsetting this property results in a 400 bad * request error. * * @param bool $flipPageOrientation */ public function setFlipPageOrientation($flipPageOrientation) { $this->flipPageOrientation = $flipPageOrientation; } /** * @return bool */ public function getFlipPageOrientation() { return $this->flipPageOrientation; } /** * The bottom page margin of the section. If unset, the value defaults to * margin_bottom from DocumentStyle. If DocumentMode is PAGELESS, this * property will not be rendered. When updating this property, setting a * concrete value is required. Unsetting this property results in a 400 bad * request error. * * @param Dimension $marginBottom */ public function setMarginBottom(Dimension $marginBottom) { $this->marginBottom = $marginBottom; } /** * @return Dimension */ public function getMarginBottom() { return $this->marginBottom; } /** * The footer margin of the section. If unset, the value defaults to * margin_footer from DocumentStyle. If updated, * use_custom_header_footer_margins is set to true on DocumentStyle. The value * of use_custom_header_footer_margins on DocumentStyle indicates if a footer * margin is being respected for this section If DocumentMode is PAGELESS, * this property will not be rendered. When updating this property, setting a * concrete value is required. Unsetting this property results in a 400 bad * request error. * * @param Dimension $marginFooter */ public function setMarginFooter(Dimension $marginFooter) { $this->marginFooter = $marginFooter; } /** * @return Dimension */ public function getMarginFooter() { return $this->marginFooter; } /** * The header margin of the section. If unset, the value defaults to * margin_header from DocumentStyle. If updated, * use_custom_header_footer_margins is set to true on DocumentStyle. The value * of use_custom_header_footer_margins on DocumentStyle indicates if a header * margin is being respected for this section. If DocumentMode is PAGELESS, * this property will not be rendered. When updating this property, setting a * concrete value is required. Unsetting this property results in a 400 bad * request error. * * @param Dimension $marginHeader */ public function setMarginHeader(Dimension $marginHeader) { $this->marginHeader = $marginHeader; } /** * @return Dimension */ public function getMarginHeader() { return $this->marginHeader; } /** * The left page margin of the section. If unset, the value defaults to * margin_left from DocumentStyle. Updating the left margin causes columns in * this section to resize. Since the margin affects column width, it's applied * before column properties. If DocumentMode is PAGELESS, this property will * not be rendered. When updating this property, setting a concrete value is * required. Unsetting this property results in a 400 bad request error. * * @param Dimension $marginLeft */ public function setMarginLeft(Dimension $marginLeft) { $this->marginLeft = $marginLeft; } /** * @return Dimension */ public function getMarginLeft() { return $this->marginLeft; } /** * The right page margin of the section. If unset, the value defaults to * margin_right from DocumentStyle. Updating the right margin causes columns * in this section to resize. Since the margin affects column width, it's * applied before column properties. If DocumentMode is PAGELESS, this * property will not be rendered. When updating this property, setting a * concrete value is required. Unsetting this property results in a 400 bad * request error. * * @param Dimension $marginRight */ public function setMarginRight(Dimension $marginRight) { $this->marginRight = $marginRight; } /** * @return Dimension */ public function getMarginRight() { return $this->marginRight; } /** * The top page margin of the section. If unset, the value defaults to * margin_top from DocumentStyle. If DocumentMode is PAGELESS, this property * will not be rendered. When updating this property, setting a concrete value * is required. Unsetting this property results in a 400 bad request error. * * @param Dimension $marginTop */ public function setMarginTop(Dimension $marginTop) { $this->marginTop = $marginTop; } /** * @return Dimension */ public function getMarginTop() { return $this->marginTop; } /** * The page number from which to start counting the number of pages for this * section. If unset, page numbering continues from the previous section. If * the value is unset in the first SectionBreak, refer to DocumentStyle's * page_number_start. If DocumentMode is PAGELESS, this property will not be * rendered. When updating this property, setting a concrete value is * required. Unsetting this property results in a 400 bad request error. * * @param int $pageNumberStart */ public function setPageNumberStart($pageNumberStart) { $this->pageNumberStart = $pageNumberStart; } /** * @return int */ public function getPageNumberStart() { return $this->pageNumberStart; } /** * Output only. The type of section. * * Accepted values: SECTION_TYPE_UNSPECIFIED, CONTINUOUS, NEXT_PAGE * * @param self::SECTION_TYPE_* $sectionType */ public function setSectionType($sectionType) { $this->sectionType = $sectionType; } /** * @return self::SECTION_TYPE_* */ public function getSectionType() { return $this->sectionType; } /** * Indicates whether to use the first page header / footer IDs for the first * page of the section. If unset, it inherits from DocumentStyle's * use_first_page_header_footer for the first section. If the value is unset * for subsequent sectors, it should be interpreted as false. If DocumentMode * is PAGELESS, this property will not be rendered. When updating this * property, setting a concrete value is required. Unsetting this property * results in a 400 bad request error. * * @param bool $useFirstPageHeaderFooter */ public function setUseFirstPageHeaderFooter($useFirstPageHeaderFooter) { $this->useFirstPageHeaderFooter = $useFirstPageHeaderFooter; } /** * @return bool */ public function getUseFirstPageHeaderFooter() { return $this->useFirstPageHeaderFooter; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SectionStyle::class, 'Google_Service_Docs_SectionStyle');