View Source GoogleApi.Slides.V1.Model.TextElement (google_api_slides v0.22.0)

A TextElement describes the content of a range of indices in the text content of a Shape or TableCell.

Attributes

  • autoText (type: GoogleApi.Slides.V1.Model.AutoText.t, default: nil) - A TextElement representing a spot in the text that is dynamically replaced with content that can change over time.
  • endIndex (type: integer(), default: nil) - The zero-based end index of this text element, exclusive, in Unicode code units.
  • paragraphMarker (type: GoogleApi.Slides.V1.Model.ParagraphMarker.t, default: nil) - A marker representing the beginning of a new paragraph. The start_index and end_index of this TextElement represent the range of the paragraph. Other TextElements with an index range contained inside this paragraph's range are considered to be part of this paragraph. The range of indices of two separate paragraphs will never overlap.
  • startIndex (type: integer(), default: nil) - The zero-based start index of this text element, in Unicode code units.
  • textRun (type: GoogleApi.Slides.V1.Model.TextRun.t, default: nil) - A TextElement representing a run of text where all of the characters in the run have the same TextStyle. The start_index and end_index of TextRuns will always be fully contained in the index range of a single paragraph_marker TextElement. In other words, a TextRun will never span multiple paragraphs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Slides.V1.Model.TextElement{
  autoText: GoogleApi.Slides.V1.Model.AutoText.t() | nil,
  endIndex: integer() | nil,
  paragraphMarker: GoogleApi.Slides.V1.Model.ParagraphMarker.t() | nil,
  startIndex: integer() | nil,
  textRun: GoogleApi.Slides.V1.Model.TextRun.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.