📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Docs
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddDocumentTabRequest.php
▶ Open 📄 View Source
🐘 AddDocumentTabResponse.php
▶ Open 📄 View Source
🐘 AutoText.php
▶ Open 📄 View Source
🐘 Background.php
▶ Open 📄 View Source
🐘 BackgroundSuggestionState.php
▶ Open 📄 View Source
🐘 BatchUpdateDocumentRequest.php
▶ Open 📄 View Source
🐘 BatchUpdateDocumentResponse.php
▶ Open 📄 View Source
🐘 Body.php
▶ Open 📄 View Source
🐘 BookmarkLink.php
▶ Open 📄 View Source
🐘 Bullet.php
▶ Open 📄 View Source
🐘 BulletSuggestionState.php
▶ Open 📄 View Source
🐘 Color.php
▶ Open 📄 View Source
🐘 ColumnBreak.php
▶ Open 📄 View Source
🐘 CreateFooterRequest.php
▶ Open 📄 View Source
🐘 CreateFooterResponse.php
▶ Open 📄 View Source
🐘 CreateFootnoteRequest.php
▶ Open 📄 View Source
🐘 CreateFootnoteResponse.php
▶ Open 📄 View Source
🐘 CreateHeaderRequest.php
▶ Open 📄 View Source
🐘 CreateHeaderResponse.php
▶ Open 📄 View Source
🐘 CreateNamedRangeRequest.php
▶ Open 📄 View Source
🐘 CreateNamedRangeResponse.php
▶ Open 📄 View Source
🐘 CreateParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 CropProperties.php
▶ Open 📄 View Source
🐘 CropPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 DateElement.php
▶ Open 📄 View Source
🐘 DateElementProperties.php
▶ Open 📄 View Source
🐘 DateElementPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 DeleteContentRangeRequest.php
▶ Open 📄 View Source
🐘 DeleteFooterRequest.php
▶ Open 📄 View Source
🐘 DeleteHeaderRequest.php
▶ Open 📄 View Source
🐘 DeleteNamedRangeRequest.php
▶ Open 📄 View Source
🐘 DeleteParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 DeletePositionedObjectRequest.php
▶ Open 📄 View Source
🐘 DeleteTabRequest.php
▶ Open 📄 View Source
🐘 DeleteTableColumnRequest.php
▶ Open 📄 View Source
🐘 DeleteTableRowRequest.php
▶ Open 📄 View Source
🐘 Dimension.php
▶ Open 📄 View Source
🐘 DocsList.php
▶ Open 📄 View Source
🐘 Document.php
▶ Open 📄 View Source
🐘 DocumentFormat.php
▶ Open 📄 View Source
🐘 DocumentStyle.php
▶ Open 📄 View Source
🐘 DocumentStyleSuggestionState.php
▶ Open 📄 View Source
🐘 DocumentTab.php
▶ Open 📄 View Source
🐘 EmbeddedDrawingProperties.php
▶ Open 📄 View Source
🐘 EmbeddedDrawingPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 EmbeddedObject.php
▶ Open 📄 View Source
🐘 EmbeddedObjectBorder.php
▶ Open 📄 View Source
🐘 EmbeddedObjectBorderSuggestionState.php
▶ Open 📄 View Source
🐘 EmbeddedObjectSuggestionState.php
▶ Open 📄 View Source
🐘 EndOfSegmentLocation.php
▶ Open 📄 View Source
🐘 Equation.php
▶ Open 📄 View Source
🐘 Footer.php
▶ Open 📄 View Source
🐘 Footnote.php
▶ Open 📄 View Source
🐘 FootnoteReference.php
▶ Open 📄 View Source
🐘 Header.php
▶ Open 📄 View Source
🐘 HeadingLink.php
▶ Open 📄 View Source
🐘 HorizontalRule.php
▶ Open 📄 View Source
🐘 ImageProperties.php
▶ Open 📄 View Source
🐘 ImagePropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 InlineObject.php
▶ Open 📄 View Source
🐘 InlineObjectElement.php
▶ Open 📄 View Source
🐘 InlineObjectProperties.php
▶ Open 📄 View Source
🐘 InlineObjectPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 InsertDateRequest.php
▶ Open 📄 View Source
🐘 InsertInlineImageRequest.php
▶ Open 📄 View Source
🐘 InsertInlineImageResponse.php
▶ Open 📄 View Source
🐘 InsertInlineSheetsChartResponse.php
▶ Open 📄 View Source
🐘 InsertPageBreakRequest.php
▶ Open 📄 View Source
🐘 InsertPersonRequest.php
▶ Open 📄 View Source
🐘 InsertRichLinkRequest.php
▶ Open 📄 View Source
🐘 InsertSectionBreakRequest.php
▶ Open 📄 View Source
🐘 InsertTableColumnRequest.php
▶ Open 📄 View Source
🐘 InsertTableRequest.php
▶ Open 📄 View Source
🐘 InsertTableRowRequest.php
▶ Open 📄 View Source
🐘 InsertTextRequest.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 LinkedContentReference.php
▶ Open 📄 View Source
🐘 LinkedContentReferenceSuggestionState.php
▶ Open 📄 View Source
🐘 ListProperties.php
▶ Open 📄 View Source
🐘 ListPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 MergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 NamedRange.php
▶ Open 📄 View Source
🐘 NamedRanges.php
▶ Open 📄 View Source
🐘 NamedStyle.php
▶ Open 📄 View Source
🐘 NamedStyleSuggestionState.php
▶ Open 📄 View Source
🐘 NamedStyles.php
▶ Open 📄 View Source
🐘 NamedStylesSuggestionState.php
▶ Open 📄 View Source
🐘 NestingLevel.php
▶ Open 📄 View Source
🐘 NestingLevelSuggestionState.php
▶ Open 📄 View Source
🐘 ObjectReferences.php
▶ Open 📄 View Source
🐘 OptionalColor.php
▶ Open 📄 View Source
🐘 PageBreak.php
▶ Open 📄 View Source
🐘 Paragraph.php
▶ Open 📄 View Source
🐘 ParagraphBorder.php
▶ Open 📄 View Source
🐘 ParagraphElement.php
▶ Open 📄 View Source
🐘 ParagraphStyle.php
▶ Open 📄 View Source
🐘 ParagraphStyleSuggestionState.php
▶ Open 📄 View Source
🐘 Person.php
▶ Open 📄 View Source
🐘 PersonProperties.php
▶ Open 📄 View Source
🐘 PinTableHeaderRowsRequest.php
▶ Open 📄 View Source
🐘 PositionedObject.php
▶ Open 📄 View Source
🐘 PositionedObjectPositioning.php
▶ Open 📄 View Source
🐘 PositionedObjectPositioningSuggestionState.php
▶ Open 📄 View Source
🐘 PositionedObjectProperties.php
▶ Open 📄 View Source
🐘 PositionedObjectPropertiesSuggestionState.php
▶ Open 📄 View Source
🐘 Range.php
▶ Open 📄 View Source
🐘 ReplaceAllTextRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllTextResponse.php
▶ Open 📄 View Source
🐘 ReplaceImageRequest.php
▶ Open 📄 View Source
🐘 ReplaceNamedRangeContentRequest.php
▶ Open 📄 View Source
🐘 Request.php
▶ Open 📄 View Source
🐘 Response.php
▶ Open 📄 View Source
🐘 RgbColor.php
▶ Open 📄 View Source
🐘 RichLink.php
▶ Open 📄 View Source
🐘 RichLinkProperties.php
▶ Open 📄 View Source
🐘 SectionBreak.php
▶ Open 📄 View Source
🐘 SectionColumnProperties.php
▶ Open 📄 View Source
🐘 SectionStyle.php
▶ Open 📄 View Source
🐘 Shading.php
▶ Open 📄 View Source
🐘 ShadingSuggestionState.php
▶ Open 📄 View Source
🐘 SheetsChartReference.php
▶ Open 📄 View Source
🐘 SheetsChartReferenceSuggestionState.php
▶ Open 📄 View Source
🐘 Size.php
▶ Open 📄 View Source
🐘 SizeSuggestionState.php
▶ Open 📄 View Source
🐘 StructuralElement.php
▶ Open 📄 View Source
🐘 SubstringMatchCriteria.php
▶ Open 📄 View Source
🐘 SuggestedBullet.php
▶ Open 📄 View Source
🐘 SuggestedDateElementProperties.php
▶ Open 📄 View Source
🐘 SuggestedDocumentStyle.php
▶ Open 📄 View Source
🐘 SuggestedInlineObjectProperties.php
▶ Open 📄 View Source
🐘 SuggestedListProperties.php
▶ Open 📄 View Source
🐘 SuggestedNamedStyles.php
▶ Open 📄 View Source
🐘 SuggestedParagraphStyle.php
▶ Open 📄 View Source
🐘 SuggestedPositionedObjectProperties.php
▶ Open 📄 View Source
🐘 SuggestedTableCellStyle.php
▶ Open 📄 View Source
🐘 SuggestedTableRowStyle.php
▶ Open 📄 View Source
🐘 SuggestedTextStyle.php
▶ Open 📄 View Source
🐘 Tab.php
▶ Open 📄 View Source
🐘 TabProperties.php
▶ Open 📄 View Source
🐘 TabStop.php
▶ Open 📄 View Source
🐘 Table.php
▶ Open 📄 View Source
🐘 TableCell.php
▶ Open 📄 View Source
🐘 TableCellBorder.php
▶ Open 📄 View Source
🐘 TableCellLocation.php
▶ Open 📄 View Source
🐘 TableCellStyle.php
▶ Open 📄 View Source
🐘 TableCellStyleSuggestionState.php
▶ Open 📄 View Source
🐘 TableColumnProperties.php
▶ Open 📄 View Source
🐘 TableOfContents.php
▶ Open 📄 View Source
🐘 TableRange.php
▶ Open 📄 View Source
🐘 TableRow.php
▶ Open 📄 View Source
🐘 TableRowStyle.php
▶ Open 📄 View Source
🐘 TableRowStyleSuggestionState.php
▶ Open 📄 View Source
🐘 TableStyle.php
▶ Open 📄 View Source
🐘 TabsCriteria.php
▶ Open 📄 View Source
🐘 TextRun.php
▶ Open 📄 View Source
🐘 TextStyle.php
▶ Open 📄 View Source
🐘 TextStyleSuggestionState.php
▶ Open 📄 View Source
🐘 UnmergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 UpdateDocumentStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateDocumentTabPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateNamedStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateParagraphStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateSectionStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTableCellStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTableColumnPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTableRowStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateTextStyleRequest.php
▶ Open 📄 View Source
🐘 WeightedFontFamily.php
▶ Open 📄 View Source
🐘 WriteControl.php
▶ Open 📄 View Source

📄 Source: SectionStyle.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Docs;

class SectionStyle extends \Google\Collection
{
  /**
   * An unspecified column separator style.
   */
  public const COLUMN_SEPARATOR_STYLE_COLUMN_SEPARATOR_STYLE_UNSPECIFIED = 'COLUMN_SEPARATOR_STYLE_UNSPECIFIED';
  /**
   * No column separator lines between columns.
   */
  public const COLUMN_SEPARATOR_STYLE_NONE = 'NONE';
  /**
   * Renders a column separator line between each column.
   */
  public const COLUMN_SEPARATOR_STYLE_BETWEEN_EACH_COLUMN = 'BETWEEN_EACH_COLUMN';
  /**
   * The content direction is unspecified.
   */
  public const CONTENT_DIRECTION_CONTENT_DIRECTION_UNSPECIFIED = 'CONTENT_DIRECTION_UNSPECIFIED';
  /**
   * The content goes from left to right.
   */
  public const CONTENT_DIRECTION_LEFT_TO_RIGHT = 'LEFT_TO_RIGHT';
  /**
   * The content goes from right to left.
   */
  public const CONTENT_DIRECTION_RIGHT_TO_LEFT = 'RIGHT_TO_LEFT';
  /**
   * The section type is unspecified.
   */
  public const SECTION_TYPE_SECTION_TYPE_UNSPECIFIED = 'SECTION_TYPE_UNSPECIFIED';
  /**
   * The section starts immediately after the last paragraph of the previous
   * section.
   */
  public const SECTION_TYPE_CONTINUOUS = 'CONTINUOUS';
  /**
   * The section starts on the next page.
   */
  public const SECTION_TYPE_NEXT_PAGE = 'NEXT_PAGE';
  protected $collection_key = 'columnProperties';
  protected $columnPropertiesType = SectionColumnProperties::class;
  protected $columnPropertiesDataType = 'array';
  /**
   * 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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var string
   */
  public $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.
   *
   * @var bool
   */
  public $flipPageOrientation;
  protected $marginBottomType = Dimension::class;
  protected $marginBottomDataType = '';
  protected $marginFooterType = Dimension::class;
  protected $marginFooterDataType = '';
  protected $marginHeaderType = Dimension::class;
  protected $marginHeaderDataType = '';
  protected $marginLeftType = Dimension::class;
  protected $marginLeftDataType = '';
  protected $marginRightType = Dimension::class;
  protected $marginRightDataType = '';
  protected $marginTopType = Dimension::class;
  protected $marginTopDataType = '';
  /**
   * 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.
   *
   * @var int
   */
  public $pageNumberStart;
  /**
   * Output only. The type of section.
   *
   * @var string
   */
  public $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.
   *
   * @var bool
   */
  public $useFirstPageHeaderFooter;

  /**
   * The section's columns properties. If empty, the section contains one column
   * with the default properties in the Docs editor. A section can be updated to
   * have no more than 3 columns. When updating this property, setting a
   * concrete value is required. Unsetting this property will result in a 400
   * bad request error.
   *
   * @param SectionColumnProperties[] $columnProperties
   */
  public function setColumnProperties($columnProperties)
  {
    $this->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');
← Back