GoogleApi.Slides.V1.Model.InsertTextRequest (google_api_slides v0.24.0)
View SourceInserts text into a shape or a table cell.
Attributes
-
cellLocation
(type:GoogleApi.Slides.V1.Model.TableCellLocation.t
, default:nil
) - The optional table cell location if the text is to be inserted into a table cell. If present, the object_id must refer to a table. -
insertionIndex
(type:integer()
, default:nil
) - The index where the text will be inserted, in Unicode code units, based on TextElement indexes. The index is zero-based and is computed from the start of the string. The index may be adjusted to prevent insertions inside Unicode grapheme clusters. In these cases, the text will be inserted immediately after the grapheme cluster. -
objectId
(type:String.t
, default:nil
) - The object ID of the shape or table where the text will be inserted. -
text
(type:String.t
, default:nil
) - The text to be inserted. Inserting a newline character will implicitly create a new ParagraphMarker at that index. The paragraph style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of neighboring text. In most cases, the text will be added to the TextRun that exists at the insertion index. Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Slides.V1.Model.InsertTextRequest{ cellLocation: GoogleApi.Slides.V1.Model.TableCellLocation.t() | nil, insertionIndex: integer() | nil, objectId: String.t() | nil, text: String.t() | nil }