google_api_slides v0.1.0 GoogleApi.Slides.V1.Model.DeleteTextRequest View Source

Deletes text from a shape or a table cell.

Attributes

  • cellLocation (TableCellLocation): The optional table cell location if the text is to be deleted from a table cell. If present, the object_id must refer to a table. Defaults to: null.
  • objectId (String.t): The object ID of the shape or table from which the text will be deleted. Defaults to: null.
  • textRange (Range): The range of text to delete, based on TextElement indexes. There is always an implicit newline character at the end of a shape's or table cell's text that cannot be deleted. `Range.Type.ALL` will use the correct bounds, but care must be taken when specifying explicit bounds for range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text is "ABC", followed by an implicit newline, then the maximum value is 2 for `text_range.start_index` and 3 for `text_range.end_index`. Deleting text that crosses a paragraph boundary may result in changes to paragraph styles and lists as the two paragraphs are merged. Ranges that include only one code unit of a surrogate pair are expanded to include both code units. 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.DeleteTextRequest{
  cellLocation: GoogleApi.Slides.V1.Model.TableCellLocation.t(),
  objectId: any(),
  textRange: GoogleApi.Slides.V1.Model.Range.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.