📂 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: NestingLevel.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 NestingLevel extends \Google\Model
{
  /**
   * The bullet alignment is unspecified.
   */
  public const BULLET_ALIGNMENT_BULLET_ALIGNMENT_UNSPECIFIED = 'BULLET_ALIGNMENT_UNSPECIFIED';
  /**
   * The bullet is aligned to the start of the space allotted for rendering the
   * bullet. Left-aligned for LTR text, right-aligned otherwise.
   */
  public const BULLET_ALIGNMENT_START = 'START';
  /**
   * The bullet is aligned to the center of the space allotted for rendering the
   * bullet.
   */
  public const BULLET_ALIGNMENT_CENTER = 'CENTER';
  /**
   * The bullet is aligned to the end of the space allotted for rendering the
   * bullet. Right-aligned for LTR text, left-aligned otherwise.
   */
  public const BULLET_ALIGNMENT_END = 'END';
  /**
   * The glyph type is unspecified or unsupported.
   */
  public const GLYPH_TYPE_GLYPH_TYPE_UNSPECIFIED = 'GLYPH_TYPE_UNSPECIFIED';
  /**
   * An empty string.
   */
  public const GLYPH_TYPE_NONE = 'NONE';
  /**
   * A number, like `1`, `2`, or `3`.
   */
  public const GLYPH_TYPE_DECIMAL = 'DECIMAL';
  /**
   * A number where single digit numbers are prefixed with a zero, like `01`,
   * `02`, or `03`. Numbers with more than one digit are not prefixed with a
   * zero.
   */
  public const GLYPH_TYPE_ZERO_DECIMAL = 'ZERO_DECIMAL';
  /**
   * An uppercase letter, like `A`, `B`, or `C`.
   */
  public const GLYPH_TYPE_UPPER_ALPHA = 'UPPER_ALPHA';
  /**
   * A lowercase letter, like `a`, `b`, or `c`.
   */
  public const GLYPH_TYPE_ALPHA = 'ALPHA';
  /**
   * An uppercase Roman numeral, like `I`, `II`, or `III`.
   */
  public const GLYPH_TYPE_UPPER_ROMAN = 'UPPER_ROMAN';
  /**
   * A lowercase Roman numeral, like `i`, `ii`, or `iii`.
   */
  public const GLYPH_TYPE_ROMAN = 'ROMAN';
  /**
   * The alignment of the bullet within the space allotted for rendering the
   * bullet.
   *
   * @var string
   */
  public $bulletAlignment;
  /**
   * The format string used by bullets at this level of nesting. The glyph
   * format contains one or more placeholders, and these placeholders are
   * replaced with the appropriate values depending on the glyph_type or
   * glyph_symbol. The placeholders follow the pattern `%[nesting_level]`.
   * Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph
   * format follows the pattern `%[nesting_level]`. Note that the prefix and
   * suffix are optional and can be arbitrary strings. For example, the glyph
   * format `%0.` indicates that the rendered glyph will replace the placeholder
   * with the corresponding glyph for nesting level 0 followed by a period as
   * the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format
   * `%0.` at nesting level 0 will result in a list with rendered glyphs `A.`
   * `B.` `C.` The glyph format can contain placeholders for the current nesting
   * level as well as placeholders for parent nesting levels. For example, a
   * list can have a glyph format of `%0.` at nesting level 0 and a glyph format
   * of `%0.%1.` at nesting level 1. Assuming both nesting levels have DECIMAL
   * glyph types, this would result in a list with rendered glyphs `1.` `2.` `
   * 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that
   * replaces a placeholder in the glyph format for a particular paragraph
   * depends on the paragraph's order within the list.
   *
   * @var string
   */
  public $glyphFormat;
  /**
   * A custom glyph symbol used by bullets when paragraphs at this level of
   * nesting is unordered. The glyph symbol replaces placeholders within the
   * glyph_format. For example, if the glyph_symbol is the solid circle
   * corresponding to Unicode U+25cf code point and the glyph_format is `%0`,
   * the rendered glyph would be the solid circle.
   *
   * @var string
   */
  public $glyphSymbol;
  /**
   * The type of glyph used by bullets when paragraphs at this level of nesting
   * is ordered. The glyph type determines the type of glyph used to replace
   * placeholders within the glyph_format when paragraphs at this level of
   * nesting are ordered. For example, if the nesting level is 0, the
   * glyph_format is `%0.` and the glyph type is DECIMAL, then the rendered
   * glyph would replace the placeholder `%0` in the glyph format with a number
   * corresponding to the list item's order within the list.
   *
   * @var string
   */
  public $glyphType;
  protected $indentFirstLineType = Dimension::class;
  protected $indentFirstLineDataType = '';
  protected $indentStartType = Dimension::class;
  protected $indentStartDataType = '';
  /**
   * The number of the first list item at this nesting level. A value of 0 is
   * treated as a value of 1 for lettered lists and Roman numeral lists. For
   * values of both 0 and 1, lettered and Roman numeral lists will begin at `a`
   * and `i` respectively. This value is ignored for nesting levels with
   * unordered glyphs.
   *
   * @var int
   */
  public $startNumber;
  protected $textStyleType = TextStyle::class;
  protected $textStyleDataType = '';

  /**
   * The alignment of the bullet within the space allotted for rendering the
   * bullet.
   *
   * Accepted values: BULLET_ALIGNMENT_UNSPECIFIED, START, CENTER, END
   *
   * @param self::BULLET_ALIGNMENT_* $bulletAlignment
   */
  public function setBulletAlignment($bulletAlignment)
  {
    $this->bulletAlignment = $bulletAlignment;
  }
  /**
   * @return self::BULLET_ALIGNMENT_*
   */
  public function getBulletAlignment()
  {
    return $this->bulletAlignment;
  }
  /**
   * The format string used by bullets at this level of nesting. The glyph
   * format contains one or more placeholders, and these placeholders are
   * replaced with the appropriate values depending on the glyph_type or
   * glyph_symbol. The placeholders follow the pattern `%[nesting_level]`.
   * Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph
   * format follows the pattern `%[nesting_level]`. Note that the prefix and
   * suffix are optional and can be arbitrary strings. For example, the glyph
   * format `%0.` indicates that the rendered glyph will replace the placeholder
   * with the corresponding glyph for nesting level 0 followed by a period as
   * the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format
   * `%0.` at nesting level 0 will result in a list with rendered glyphs `A.`
   * `B.` `C.` The glyph format can contain placeholders for the current nesting
   * level as well as placeholders for parent nesting levels. For example, a
   * list can have a glyph format of `%0.` at nesting level 0 and a glyph format
   * of `%0.%1.` at nesting level 1. Assuming both nesting levels have DECIMAL
   * glyph types, this would result in a list with rendered glyphs `1.` `2.` `
   * 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that
   * replaces a placeholder in the glyph format for a particular paragraph
   * depends on the paragraph's order within the list.
   *
   * @param string $glyphFormat
   */
  public function setGlyphFormat($glyphFormat)
  {
    $this->glyphFormat = $glyphFormat;
  }
  /**
   * @return string
   */
  public function getGlyphFormat()
  {
    return $this->glyphFormat;
  }
  /**
   * A custom glyph symbol used by bullets when paragraphs at this level of
   * nesting is unordered. The glyph symbol replaces placeholders within the
   * glyph_format. For example, if the glyph_symbol is the solid circle
   * corresponding to Unicode U+25cf code point and the glyph_format is `%0`,
   * the rendered glyph would be the solid circle.
   *
   * @param string $glyphSymbol
   */
  public function setGlyphSymbol($glyphSymbol)
  {
    $this->glyphSymbol = $glyphSymbol;
  }
  /**
   * @return string
   */
  public function getGlyphSymbol()
  {
    return $this->glyphSymbol;
  }
  /**
   * The type of glyph used by bullets when paragraphs at this level of nesting
   * is ordered. The glyph type determines the type of glyph used to replace
   * placeholders within the glyph_format when paragraphs at this level of
   * nesting are ordered. For example, if the nesting level is 0, the
   * glyph_format is `%0.` and the glyph type is DECIMAL, then the rendered
   * glyph would replace the placeholder `%0` in the glyph format with a number
   * corresponding to the list item's order within the list.
   *
   * Accepted values: GLYPH_TYPE_UNSPECIFIED, NONE, DECIMAL, ZERO_DECIMAL,
   * UPPER_ALPHA, ALPHA, UPPER_ROMAN, ROMAN
   *
   * @param self::GLYPH_TYPE_* $glyphType
   */
  public function setGlyphType($glyphType)
  {
    $this->glyphType = $glyphType;
  }
  /**
   * @return self::GLYPH_TYPE_*
   */
  public function getGlyphType()
  {
    return $this->glyphType;
  }
  /**
   * The amount of indentation for the first line of paragraphs at this level of
   * nesting.
   *
   * @param Dimension $indentFirstLine
   */
  public function setIndentFirstLine(Dimension $indentFirstLine)
  {
    $this->indentFirstLine = $indentFirstLine;
  }
  /**
   * @return Dimension
   */
  public function getIndentFirstLine()
  {
    return $this->indentFirstLine;
  }
  /**
   * The amount of indentation for paragraphs at this level of nesting. Applied
   * to the side that corresponds to the start of the text, based on the
   * paragraph's content direction.
   *
   * @param Dimension $indentStart
   */
  public function setIndentStart(Dimension $indentStart)
  {
    $this->indentStart = $indentStart;
  }
  /**
   * @return Dimension
   */
  public function getIndentStart()
  {
    return $this->indentStart;
  }
  /**
   * The number of the first list item at this nesting level. A value of 0 is
   * treated as a value of 1 for lettered lists and Roman numeral lists. For
   * values of both 0 and 1, lettered and Roman numeral lists will begin at `a`
   * and `i` respectively. This value is ignored for nesting levels with
   * unordered glyphs.
   *
   * @param int $startNumber
   */
  public function setStartNumber($startNumber)
  {
    $this->startNumber = $startNumber;
  }
  /**
   * @return int
   */
  public function getStartNumber()
  {
    return $this->startNumber;
  }
  /**
   * The text style of bullets at this level of nesting.
   *
   * @param TextStyle $textStyle
   */
  public function setTextStyle(TextStyle $textStyle)
  {
    $this->textStyle = $textStyle;
  }
  /**
   * @return TextStyle
   */
  public function getTextStyle()
  {
    return $this->textStyle;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NestingLevel::class, 'Google_Service_Docs_NestingLevel');
← Back