📂 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: DocumentStyle.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 DocumentStyle extends \Google\Model
{
  protected $backgroundType = Background::class;
  protected $backgroundDataType = '';
  /**
   * The ID of the default footer. If not set, there's no default footer. 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 not set, there's no default header. If
   * DocumentMode is PAGELESS, this property will not be rendered. This property
   * is read-only.
   *
   * @var string
   */
  public $defaultHeaderId;
  protected $documentFormatType = DocumentFormat::class;
  protected $documentFormatDataType = '';
  /**
   * The ID of the footer used only for even pages. The value of
   * use_even_page_header_footer determines whether to use the default_footer_id
   * or this value for the footer on even pages. If not set, there's no even
   * page footer. 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. The value of
   * use_even_page_header_footer determines whether to use the default_header_id
   * or this value for the header on even pages. If not set, there's no even
   * page header. 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. If not set then a unique
   * footer for the first page does not exist. The value of
   * use_first_page_header_footer determines whether to use the
   * default_footer_id or this value for the footer on the first page. If not
   * set, there's no first page footer. 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. If not set then a unique
   * header for the first page does not exist. The value of
   * use_first_page_header_footer determines whether to use the
   * default_header_id or this value for the header on the first page. If not
   * set, there's no first page header. 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 the page_size, which
   * allows changing the page orientation between portrait and landscape. If
   * DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @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. If
   * DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @var int
   */
  public $pageNumberStart;
  protected $pageSizeType = Size::class;
  protected $pageSizeDataType = '';
  /**
   * Indicates whether DocumentStyle margin_header, SectionStyle margin_header
   * and DocumentStyle margin_footer, SectionStyle margin_footer are respected.
   * When false, the default values in the Docs editor for header and footer
   * margin is used. If DocumentMode is PAGELESS, this property will not be
   * rendered. This property is read-only.
   *
   * @var bool
   */
  public $useCustomHeaderFooterMargins;
  /**
   * Indicates whether to use the even page header / footer IDs for the even
   * pages. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @var bool
   */
  public $useEvenPageHeaderFooter;
  /**
   * Indicates whether to use the first page header / footer IDs for the first
   * page. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @var bool
   */
  public $useFirstPageHeaderFooter;

  /**
   * The background of the document. Documents cannot have a transparent
   * background color.
   *
   * @param Background $background
   */
  public function setBackground(Background $background)
  {
    $this->background = $background;
  }
  /**
   * @return Background
   */
  public function getBackground()
  {
    return $this->background;
  }
  /**
   * The ID of the default footer. If not set, there's no default footer. 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 not set, there's no default header. 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;
  }
  /**
   * Specifies document-level format settings, such as the document mode (pages
   * vs pageless).
   *
   * @param DocumentFormat $documentFormat
   */
  public function setDocumentFormat(DocumentFormat $documentFormat)
  {
    $this->documentFormat = $documentFormat;
  }
  /**
   * @return DocumentFormat
   */
  public function getDocumentFormat()
  {
    return $this->documentFormat;
  }
  /**
   * The ID of the footer used only for even pages. The value of
   * use_even_page_header_footer determines whether to use the default_footer_id
   * or this value for the footer on even pages. If not set, there's no even
   * page footer. 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. The value of
   * use_even_page_header_footer determines whether to use the default_header_id
   * or this value for the header on even pages. If not set, there's no even
   * page header. 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. If not set then a unique
   * footer for the first page does not exist. The value of
   * use_first_page_header_footer determines whether to use the
   * default_footer_id or this value for the footer on the first page. If not
   * set, there's no first page footer. 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. If not set then a unique
   * header for the first page does not exist. The value of
   * use_first_page_header_footer determines whether to use the
   * default_header_id or this value for the header on the first page. If not
   * set, there's no first page header. 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 the page_size, which
   * allows changing the page orientation between portrait and landscape. If
   * DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @param bool $flipPageOrientation
   */
  public function setFlipPageOrientation($flipPageOrientation)
  {
    $this->flipPageOrientation = $flipPageOrientation;
  }
  /**
   * @return bool
   */
  public function getFlipPageOrientation()
  {
    return $this->flipPageOrientation;
  }
  /**
   * The bottom page margin. Updating the bottom page margin on the document
   * style clears the bottom page margin on all section styles. If DocumentMode
   * is PAGELESS, this property will not be rendered.
   *
   * @param Dimension $marginBottom
   */
  public function setMarginBottom(Dimension $marginBottom)
  {
    $this->marginBottom = $marginBottom;
  }
  /**
   * @return Dimension
   */
  public function getMarginBottom()
  {
    return $this->marginBottom;
  }
  /**
   * The amount of space between the bottom of the page and the contents of the
   * footer. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @param Dimension $marginFooter
   */
  public function setMarginFooter(Dimension $marginFooter)
  {
    $this->marginFooter = $marginFooter;
  }
  /**
   * @return Dimension
   */
  public function getMarginFooter()
  {
    return $this->marginFooter;
  }
  /**
   * The amount of space between the top of the page and the contents of the
   * header. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @param Dimension $marginHeader
   */
  public function setMarginHeader(Dimension $marginHeader)
  {
    $this->marginHeader = $marginHeader;
  }
  /**
   * @return Dimension
   */
  public function getMarginHeader()
  {
    return $this->marginHeader;
  }
  /**
   * The left page margin. Updating the left page margin on the document style
   * clears the left page margin on all section styles. It may also cause
   * columns to resize in all sections. If DocumentMode is PAGELESS, this
   * property will not be rendered.
   *
   * @param Dimension $marginLeft
   */
  public function setMarginLeft(Dimension $marginLeft)
  {
    $this->marginLeft = $marginLeft;
  }
  /**
   * @return Dimension
   */
  public function getMarginLeft()
  {
    return $this->marginLeft;
  }
  /**
   * The right page margin. Updating the right page margin on the document style
   * clears the right page margin on all section styles. It may also cause
   * columns to resize in all sections. If DocumentMode is PAGELESS, this
   * property will not be rendered.
   *
   * @param Dimension $marginRight
   */
  public function setMarginRight(Dimension $marginRight)
  {
    $this->marginRight = $marginRight;
  }
  /**
   * @return Dimension
   */
  public function getMarginRight()
  {
    return $this->marginRight;
  }
  /**
   * The top page margin. Updating the top page margin on the document style
   * clears the top page margin on all section styles. If DocumentMode is
   * PAGELESS, this property will not be rendered.
   *
   * @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. If
   * DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @param int $pageNumberStart
   */
  public function setPageNumberStart($pageNumberStart)
  {
    $this->pageNumberStart = $pageNumberStart;
  }
  /**
   * @return int
   */
  public function getPageNumberStart()
  {
    return $this->pageNumberStart;
  }
  /**
   * The size of a page in the document. If DocumentMode is PAGELESS, this
   * property will not be rendered.
   *
   * @param Size $pageSize
   */
  public function setPageSize(Size $pageSize)
  {
    $this->pageSize = $pageSize;
  }
  /**
   * @return Size
   */
  public function getPageSize()
  {
    return $this->pageSize;
  }
  /**
   * Indicates whether DocumentStyle margin_header, SectionStyle margin_header
   * and DocumentStyle margin_footer, SectionStyle margin_footer are respected.
   * When false, the default values in the Docs editor for header and footer
   * margin is used. If DocumentMode is PAGELESS, this property will not be
   * rendered. This property is read-only.
   *
   * @param bool $useCustomHeaderFooterMargins
   */
  public function setUseCustomHeaderFooterMargins($useCustomHeaderFooterMargins)
  {
    $this->useCustomHeaderFooterMargins = $useCustomHeaderFooterMargins;
  }
  /**
   * @return bool
   */
  public function getUseCustomHeaderFooterMargins()
  {
    return $this->useCustomHeaderFooterMargins;
  }
  /**
   * Indicates whether to use the even page header / footer IDs for the even
   * pages. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @param bool $useEvenPageHeaderFooter
   */
  public function setUseEvenPageHeaderFooter($useEvenPageHeaderFooter)
  {
    $this->useEvenPageHeaderFooter = $useEvenPageHeaderFooter;
  }
  /**
   * @return bool
   */
  public function getUseEvenPageHeaderFooter()
  {
    return $this->useEvenPageHeaderFooter;
  }
  /**
   * Indicates whether to use the first page header / footer IDs for the first
   * page. If DocumentMode is PAGELESS, this property will not be rendered.
   *
   * @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(DocumentStyle::class, 'Google_Service_Docs_DocumentStyle');
← Back