📂 File Browser

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

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AffineTransform.php
▶ Open 📄 View Source
🐘 AutoText.php
▶ Open 📄 View Source
🐘 Autofit.php
▶ Open 📄 View Source
🐘 BatchUpdatePresentationRequest.php
▶ Open 📄 View Source
🐘 BatchUpdatePresentationResponse.php
▶ Open 📄 View Source
🐘 Bullet.php
▶ Open 📄 View Source
🐘 ColorScheme.php
▶ Open 📄 View Source
🐘 ColorStop.php
▶ Open 📄 View Source
🐘 CreateImageRequest.php
▶ Open 📄 View Source
🐘 CreateImageResponse.php
▶ Open 📄 View Source
🐘 CreateLineRequest.php
▶ Open 📄 View Source
🐘 CreateLineResponse.php
▶ Open 📄 View Source
🐘 CreateParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 CreateShapeRequest.php
▶ Open 📄 View Source
🐘 CreateShapeResponse.php
▶ Open 📄 View Source
🐘 CreateSheetsChartRequest.php
▶ Open 📄 View Source
🐘 CreateSheetsChartResponse.php
▶ Open 📄 View Source
🐘 CreateSlideRequest.php
▶ Open 📄 View Source
🐘 CreateSlideResponse.php
▶ Open 📄 View Source
🐘 CreateTableRequest.php
▶ Open 📄 View Source
🐘 CreateTableResponse.php
▶ Open 📄 View Source
🐘 CreateVideoRequest.php
▶ Open 📄 View Source
🐘 CreateVideoResponse.php
▶ Open 📄 View Source
🐘 CropProperties.php
▶ Open 📄 View Source
🐘 DeleteObjectRequest.php
▶ Open 📄 View Source
🐘 DeleteParagraphBulletsRequest.php
▶ Open 📄 View Source
🐘 DeleteTableColumnRequest.php
▶ Open 📄 View Source
🐘 DeleteTableRowRequest.php
▶ Open 📄 View Source
🐘 DeleteTextRequest.php
▶ Open 📄 View Source
🐘 Dimension.php
▶ Open 📄 View Source
🐘 DuplicateObjectRequest.php
▶ Open 📄 View Source
🐘 DuplicateObjectResponse.php
▶ Open 📄 View Source
🐘 Group.php
▶ Open 📄 View Source
🐘 GroupObjectsRequest.php
▶ Open 📄 View Source
🐘 GroupObjectsResponse.php
▶ Open 📄 View Source
🐘 Image.php
▶ Open 📄 View Source
🐘 ImageProperties.php
▶ Open 📄 View Source
🐘 InsertTableColumnsRequest.php
▶ Open 📄 View Source
🐘 InsertTableRowsRequest.php
▶ Open 📄 View Source
🐘 InsertTextRequest.php
▶ Open 📄 View Source
🐘 LayoutPlaceholderIdMapping.php
▶ Open 📄 View Source
🐘 LayoutProperties.php
▶ Open 📄 View Source
🐘 LayoutReference.php
▶ Open 📄 View Source
🐘 Line.php
▶ Open 📄 View Source
🐘 LineConnection.php
▶ Open 📄 View Source
🐘 LineFill.php
▶ Open 📄 View Source
🐘 LineProperties.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 MasterProperties.php
▶ Open 📄 View Source
🐘 MergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 NestingLevel.php
▶ Open 📄 View Source
🐘 NotesProperties.php
▶ Open 📄 View Source
🐘 OpaqueColor.php
▶ Open 📄 View Source
🐘 OptionalColor.php
▶ Open 📄 View Source
🐘 Outline.php
▶ Open 📄 View Source
🐘 OutlineFill.php
▶ Open 📄 View Source
🐘 Page.php
▶ Open 📄 View Source
🐘 PageBackgroundFill.php
▶ Open 📄 View Source
🐘 PageElement.php
▶ Open 📄 View Source
🐘 PageElementProperties.php
▶ Open 📄 View Source
🐘 PageProperties.php
▶ Open 📄 View Source
🐘 ParagraphMarker.php
▶ Open 📄 View Source
🐘 ParagraphStyle.php
▶ Open 📄 View Source
🐘 Placeholder.php
▶ Open 📄 View Source
🐘 Presentation.php
▶ Open 📄 View Source
🐘 Range.php
▶ Open 📄 View Source
🐘 Recolor.php
▶ Open 📄 View Source
🐘 RefreshSheetsChartRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllShapesWithImageRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllShapesWithImageResponse.php
▶ Open 📄 View Source
🐘 ReplaceAllShapesWithSheetsChartRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllShapesWithSheetsChartResponse.php
▶ Open 📄 View Source
🐘 ReplaceAllTextRequest.php
▶ Open 📄 View Source
🐘 ReplaceAllTextResponse.php
▶ Open 📄 View Source
🐘 ReplaceImageRequest.php
▶ Open 📄 View Source
🐘 Request.php
▶ Open 📄 View Source
🐘 RerouteLineRequest.php
▶ Open 📄 View Source
🐘 Response.php
▶ Open 📄 View Source
🐘 RgbColor.php
▶ Open 📄 View Source
🐘 Shadow.php
▶ Open 📄 View Source
🐘 Shape.php
▶ Open 📄 View Source
🐘 ShapeBackgroundFill.php
▶ Open 📄 View Source
🐘 ShapeProperties.php
▶ Open 📄 View Source
🐘 SheetsChart.php
▶ Open 📄 View Source
🐘 SheetsChartProperties.php
▶ Open 📄 View Source
🐘 Size.php
▶ Open 📄 View Source
🐘 SlideProperties.php
▶ Open 📄 View Source
🐘 SlidesList.php
▶ Open 📄 View Source
🐘 SolidFill.php
▶ Open 📄 View Source
🐘 SpeakerSpotlight.php
▶ Open 📄 View Source
🐘 SpeakerSpotlightProperties.php
▶ Open 📄 View Source
🐘 StretchedPictureFill.php
▶ Open 📄 View Source
🐘 SubstringMatchCriteria.php
▶ Open 📄 View Source
🐘 Table.php
▶ Open 📄 View Source
🐘 TableBorderCell.php
▶ Open 📄 View Source
🐘 TableBorderFill.php
▶ Open 📄 View Source
🐘 TableBorderProperties.php
▶ Open 📄 View Source
🐘 TableBorderRow.php
▶ Open 📄 View Source
🐘 TableCell.php
▶ Open 📄 View Source
🐘 TableCellBackgroundFill.php
▶ Open 📄 View Source
🐘 TableCellLocation.php
▶ Open 📄 View Source
🐘 TableCellProperties.php
▶ Open 📄 View Source
🐘 TableColumnProperties.php
▶ Open 📄 View Source
🐘 TableRange.php
▶ Open 📄 View Source
🐘 TableRow.php
▶ Open 📄 View Source
🐘 TableRowProperties.php
▶ Open 📄 View Source
🐘 TextContent.php
▶ Open 📄 View Source
🐘 TextElement.php
▶ Open 📄 View Source
🐘 TextRun.php
▶ Open 📄 View Source
🐘 TextStyle.php
▶ Open 📄 View Source
🐘 ThemeColorPair.php
▶ Open 📄 View Source
🐘 Thumbnail.php
▶ Open 📄 View Source
🐘 UngroupObjectsRequest.php
▶ Open 📄 View Source
🐘 UnmergeTableCellsRequest.php
▶ Open 📄 View Source
🐘 UpdateImagePropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateLineCategoryRequest.php
▶ Open 📄 View Source
🐘 UpdateLinePropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdatePageElementAltTextRequest.php
▶ Open 📄 View Source
🐘 UpdatePageElementTransformRequest.php
▶ Open 📄 View Source
🐘 UpdatePageElementsZOrderRequest.php
▶ Open 📄 View Source
🐘 UpdatePagePropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateParagraphStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateShapePropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateSlidePropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateSlidesPositionRequest.php
▶ Open 📄 View Source
🐘 UpdateTableBorderPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTableCellPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTableColumnPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTableRowPropertiesRequest.php
▶ Open 📄 View Source
🐘 UpdateTextStyleRequest.php
▶ Open 📄 View Source
🐘 UpdateVideoPropertiesRequest.php
▶ Open 📄 View Source
🐘 Video.php
▶ Open 📄 View Source
🐘 VideoProperties.php
▶ Open 📄 View Source
🐘 WeightedFontFamily.php
▶ Open 📄 View Source
🐘 WordArt.php
▶ Open 📄 View Source
🐘 WriteControl.php
▶ Open 📄 View Source

📄 Source: ParagraphStyle.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\Slides;

class ParagraphStyle extends \Google\Model
{
  /**
   * The paragraph alignment is inherited from the parent.
   */
  public const ALIGNMENT_ALIGNMENT_UNSPECIFIED = 'ALIGNMENT_UNSPECIFIED';
  /**
   * The paragraph is aligned to the start of the line. Left-aligned for LTR
   * text, right-aligned otherwise.
   */
  public const ALIGNMENT_START = 'START';
  /**
   * The paragraph is centered.
   */
  public const ALIGNMENT_CENTER = 'CENTER';
  /**
   * The paragraph is aligned to the end of the line. Right-aligned for LTR
   * text, left-aligned otherwise.
   */
  public const ALIGNMENT_END = 'END';
  /**
   * The paragraph is justified.
   */
  public const ALIGNMENT_JUSTIFIED = 'JUSTIFIED';
  /**
   * The text direction is inherited from the parent.
   */
  public const DIRECTION_TEXT_DIRECTION_UNSPECIFIED = 'TEXT_DIRECTION_UNSPECIFIED';
  /**
   * The text goes from left to right.
   */
  public const DIRECTION_LEFT_TO_RIGHT = 'LEFT_TO_RIGHT';
  /**
   * The text goes from right to left.
   */
  public const DIRECTION_RIGHT_TO_LEFT = 'RIGHT_TO_LEFT';
  /**
   * The spacing mode is inherited from the parent.
   */
  public const SPACING_MODE_SPACING_MODE_UNSPECIFIED = 'SPACING_MODE_UNSPECIFIED';
  /**
   * Paragraph spacing is always rendered.
   */
  public const SPACING_MODE_NEVER_COLLAPSE = 'NEVER_COLLAPSE';
  /**
   * Paragraph spacing is skipped between list elements.
   */
  public const SPACING_MODE_COLLAPSE_LISTS = 'COLLAPSE_LISTS';
  /**
   * The text alignment for this paragraph.
   *
   * @var string
   */
  public $alignment;
  /**
   * The text direction of this paragraph. If unset, the value defaults to
   * LEFT_TO_RIGHT since text direction is not inherited.
   *
   * @var string
   */
  public $direction;
  protected $indentEndType = Dimension::class;
  protected $indentEndDataType = '';
  protected $indentFirstLineType = Dimension::class;
  protected $indentFirstLineDataType = '';
  protected $indentStartType = Dimension::class;
  protected $indentStartDataType = '';
  /**
   * The amount of space between lines, as a percentage of normal, where normal
   * is represented as 100.0. If unset, the value is inherited from the parent.
   *
   * @var float
   */
  public $lineSpacing;
  protected $spaceAboveType = Dimension::class;
  protected $spaceAboveDataType = '';
  protected $spaceBelowType = Dimension::class;
  protected $spaceBelowDataType = '';
  /**
   * The spacing mode for the paragraph.
   *
   * @var string
   */
  public $spacingMode;

  /**
   * The text alignment for this paragraph.
   *
   * Accepted values: ALIGNMENT_UNSPECIFIED, START, CENTER, END, JUSTIFIED
   *
   * @param self::ALIGNMENT_* $alignment
   */
  public function setAlignment($alignment)
  {
    $this->alignment = $alignment;
  }
  /**
   * @return self::ALIGNMENT_*
   */
  public function getAlignment()
  {
    return $this->alignment;
  }
  /**
   * The text direction of this paragraph. If unset, the value defaults to
   * LEFT_TO_RIGHT since text direction is not inherited.
   *
   * Accepted values: TEXT_DIRECTION_UNSPECIFIED, LEFT_TO_RIGHT, RIGHT_TO_LEFT
   *
   * @param self::DIRECTION_* $direction
   */
  public function setDirection($direction)
  {
    $this->direction = $direction;
  }
  /**
   * @return self::DIRECTION_*
   */
  public function getDirection()
  {
    return $this->direction;
  }
  /**
   * The amount indentation for the paragraph on the side that corresponds to
   * the end of the text, based on the current text direction. If unset, the
   * value is inherited from the parent.
   *
   * @param Dimension $indentEnd
   */
  public function setIndentEnd(Dimension $indentEnd)
  {
    $this->indentEnd = $indentEnd;
  }
  /**
   * @return Dimension
   */
  public function getIndentEnd()
  {
    return $this->indentEnd;
  }
  /**
   * The amount of indentation for the start of the first line of the paragraph.
   * If unset, the value is inherited from the parent.
   *
   * @param Dimension $indentFirstLine
   */
  public function setIndentFirstLine(Dimension $indentFirstLine)
  {
    $this->indentFirstLine = $indentFirstLine;
  }
  /**
   * @return Dimension
   */
  public function getIndentFirstLine()
  {
    return $this->indentFirstLine;
  }
  /**
   * The amount indentation for the paragraph on the side that corresponds to
   * the start of the text, based on the current text direction. If unset, the
   * value is inherited from the parent.
   *
   * @param Dimension $indentStart
   */
  public function setIndentStart(Dimension $indentStart)
  {
    $this->indentStart = $indentStart;
  }
  /**
   * @return Dimension
   */
  public function getIndentStart()
  {
    return $this->indentStart;
  }
  /**
   * The amount of space between lines, as a percentage of normal, where normal
   * is represented as 100.0. If unset, the value is inherited from the parent.
   *
   * @param float $lineSpacing
   */
  public function setLineSpacing($lineSpacing)
  {
    $this->lineSpacing = $lineSpacing;
  }
  /**
   * @return float
   */
  public function getLineSpacing()
  {
    return $this->lineSpacing;
  }
  /**
   * The amount of extra space above the paragraph. If unset, the value is
   * inherited from the parent.
   *
   * @param Dimension $spaceAbove
   */
  public function setSpaceAbove(Dimension $spaceAbove)
  {
    $this->spaceAbove = $spaceAbove;
  }
  /**
   * @return Dimension
   */
  public function getSpaceAbove()
  {
    return $this->spaceAbove;
  }
  /**
   * The amount of extra space below the paragraph. If unset, the value is
   * inherited from the parent.
   *
   * @param Dimension $spaceBelow
   */
  public function setSpaceBelow(Dimension $spaceBelow)
  {
    $this->spaceBelow = $spaceBelow;
  }
  /**
   * @return Dimension
   */
  public function getSpaceBelow()
  {
    return $this->spaceBelow;
  }
  /**
   * The spacing mode for the paragraph.
   *
   * Accepted values: SPACING_MODE_UNSPECIFIED, NEVER_COLLAPSE, COLLAPSE_LISTS
   *
   * @param self::SPACING_MODE_* $spacingMode
   */
  public function setSpacingMode($spacingMode)
  {
    $this->spacingMode = $spacingMode;
  }
  /**
   * @return self::SPACING_MODE_*
   */
  public function getSpacingMode()
  {
    return $this->spacingMode;
  }
}

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