google_api_slides v0.2.0 GoogleApi.Slides.V1.Model.TextElement View Source

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

Attributes

  • autoText (AutoText): A TextElement representing a spot in the text that is dynamically replaced with content that can change over time. Defaults to: null.
  • endIndex (integer()): The zero-based end index of this text element, exclusive, in Unicode code units. Defaults to: null.
  • paragraphMarker (ParagraphMarker): 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. Defaults to: null.
  • startIndex (integer()): The zero-based start index of this text element, in Unicode code units. Defaults to: null.
  • textRun (TextRun): 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. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Slides.V1.Model.TextElement{
  autoText: GoogleApi.Slides.V1.Model.AutoText.t(),
  endIndex: any(),
  paragraphMarker: GoogleApi.Slides.V1.Model.ParagraphMarker.t(),
  startIndex: any(),
  textRun: GoogleApi.Slides.V1.Model.TextRun.t()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.