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
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.
|
java.lang.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.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
ParagraphElement |
setAutoText(AutoText autoText)
An auto text paragraph element.
|
ParagraphElement |
setColumnBreak(ColumnBreak columnBreak)
A column break paragraph element.
|
ParagraphElement |
setEndIndex(java.lang.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 |
setStartIndex(java.lang.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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
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 java.lang.Integer getEndIndex()
null
for nonepublic ParagraphElement setEndIndex(java.lang.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 java.lang.Integer getStartIndex()
null
for nonepublic ParagraphElement setStartIndex(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ParagraphElement clone()
clone
in class com.google.api.client.json.GenericJson