public final class ParagraphElement
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Docs API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ParagraphElement() |
Modifier and Type | Method and Description |
---|---|
ParagraphElement |
clone() |
AutoText |
getAutoText()
An auto text paragraph element.
|
ColumnBreak |
getColumnBreak()
A column break paragraph element.
|
Integer |
getEndIndex()
The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.
|
Equation |
getEquation()
An equation paragraph element.
|
FootnoteReference |
getFootnoteReference()
A footnote reference paragraph element.
|
HorizontalRule |
getHorizontalRule()
A horizontal rule paragraph element.
|
InlineObjectElement |
getInlineObjectElement()
An inline object paragraph element.
|
PageBreak |
getPageBreak()
A page break paragraph element.
|
Person |
getPerson()
A paragraph element that links to a person or email address.
|
RichLink |
getRichLink()
A paragraph element that links to a Google resource (such as a file in Google Drive, a YouTube
video, or a Calendar event.)
|
Integer |
getStartIndex()
The zero-based start index of this paragraph element, in UTF-16 code units.
|
TextRun |
getTextRun()
A text run paragraph element.
|
ParagraphElement |
set(String fieldName,
Object value) |
ParagraphElement |
setAutoText(AutoText autoText)
An auto text paragraph element.
|
ParagraphElement |
setColumnBreak(ColumnBreak columnBreak)
A column break paragraph element.
|
ParagraphElement |
setEndIndex(Integer endIndex)
The zero-base end index of this paragraph element, exclusive, in UTF-16 code units.
|
ParagraphElement |
setEquation(Equation equation)
An equation paragraph element.
|
ParagraphElement |
setFootnoteReference(FootnoteReference footnoteReference)
A footnote reference paragraph element.
|
ParagraphElement |
setHorizontalRule(HorizontalRule horizontalRule)
A horizontal rule paragraph element.
|
ParagraphElement |
setInlineObjectElement(InlineObjectElement inlineObjectElement)
An inline object paragraph element.
|
ParagraphElement |
setPageBreak(PageBreak pageBreak)
A page break paragraph element.
|
ParagraphElement |
setPerson(Person person)
A paragraph element that links to a person or email address.
|
ParagraphElement |
setRichLink(RichLink richLink)
A paragraph element that links to a Google resource (such as a file in Google Drive, a YouTube
video, or a Calendar event.)
|
ParagraphElement |
setStartIndex(Integer startIndex)
The zero-based start index of this paragraph element, in UTF-16 code units.
|
ParagraphElement |
setTextRun(TextRun textRun)
A text run paragraph element.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public AutoText getAutoText()
null
for nonepublic ParagraphElement setAutoText(AutoText autoText)
autoText
- autoText or null
for nonepublic ColumnBreak getColumnBreak()
null
for nonepublic ParagraphElement setColumnBreak(ColumnBreak columnBreak)
columnBreak
- columnBreak or null
for nonepublic Integer getEndIndex()
null
for nonepublic ParagraphElement setEndIndex(Integer endIndex)
endIndex
- endIndex or null
for nonepublic Equation getEquation()
null
for nonepublic ParagraphElement setEquation(Equation equation)
equation
- equation or null
for nonepublic FootnoteReference getFootnoteReference()
null
for nonepublic ParagraphElement setFootnoteReference(FootnoteReference footnoteReference)
footnoteReference
- footnoteReference or null
for nonepublic HorizontalRule getHorizontalRule()
null
for nonepublic ParagraphElement setHorizontalRule(HorizontalRule horizontalRule)
horizontalRule
- horizontalRule or null
for nonepublic InlineObjectElement getInlineObjectElement()
null
for nonepublic ParagraphElement setInlineObjectElement(InlineObjectElement inlineObjectElement)
inlineObjectElement
- inlineObjectElement or null
for nonepublic PageBreak getPageBreak()
null
for nonepublic ParagraphElement setPageBreak(PageBreak pageBreak)
pageBreak
- pageBreak or null
for nonepublic Person getPerson()
null
for nonepublic ParagraphElement setPerson(Person person)
person
- person or null
for nonepublic RichLink getRichLink()
null
for nonepublic ParagraphElement setRichLink(RichLink richLink)
richLink
- richLink or null
for nonepublic Integer getStartIndex()
null
for nonepublic ParagraphElement setStartIndex(Integer startIndex)
startIndex
- startIndex or null
for nonepublic TextRun getTextRun()
null
for nonepublic ParagraphElement setTextRun(TextRun textRun)
textRun
- textRun or null
for nonepublic ParagraphElement set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public ParagraphElement clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.