public final class ParagraphStyle
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 Slides 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ParagraphStyle() |
| Modifier and Type | Method and Description |
|---|---|
ParagraphStyle |
clone() |
String |
getAlignment()
The text alignment for this paragraph.
|
String |
getDirection()
The text direction of this paragraph.
|
Dimension |
getIndentEnd()
The amount indentation for the paragraph on the side that corresponds to the end of the text,
based on the current text direction.
|
Dimension |
getIndentFirstLine()
The amount of indentation for the start of the first line of the paragraph.
|
Dimension |
getIndentStart()
The amount indentation for the paragraph on the side that corresponds to the start of the text,
based on the current text direction.
|
Float |
getLineSpacing()
The amount of space between lines, as a percentage of normal, where normal is represented as
100.0.
|
Dimension |
getSpaceAbove()
The amount of extra space above the paragraph.
|
Dimension |
getSpaceBelow()
The amount of extra space below the paragraph.
|
String |
getSpacingMode()
The spacing mode for the paragraph.
|
ParagraphStyle |
set(String fieldName,
Object value) |
ParagraphStyle |
setAlignment(String alignment)
The text alignment for this paragraph.
|
ParagraphStyle |
setDirection(String direction)
The text direction of this paragraph.
|
ParagraphStyle |
setIndentEnd(Dimension indentEnd)
The amount indentation for the paragraph on the side that corresponds to the end of the text,
based on the current text direction.
|
ParagraphStyle |
setIndentFirstLine(Dimension indentFirstLine)
The amount of indentation for the start of the first line of the paragraph.
|
ParagraphStyle |
setIndentStart(Dimension indentStart)
The amount indentation for the paragraph on the side that corresponds to the start of the text,
based on the current text direction.
|
ParagraphStyle |
setLineSpacing(Float lineSpacing)
The amount of space between lines, as a percentage of normal, where normal is represented as
100.0.
|
ParagraphStyle |
setSpaceAbove(Dimension spaceAbove)
The amount of extra space above the paragraph.
|
ParagraphStyle |
setSpaceBelow(Dimension spaceBelow)
The amount of extra space below the paragraph.
|
ParagraphStyle |
setSpacingMode(String spacingMode)
The spacing mode for the paragraph.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAlignment()
null for nonepublic ParagraphStyle setAlignment(String alignment)
alignment - alignment or null for nonepublic String getDirection()
null for nonepublic ParagraphStyle setDirection(String direction)
direction - direction or null for nonepublic Dimension getIndentEnd()
null for nonepublic ParagraphStyle setIndentEnd(Dimension indentEnd)
indentEnd - indentEnd or null for nonepublic Dimension getIndentFirstLine()
null for nonepublic ParagraphStyle setIndentFirstLine(Dimension indentFirstLine)
indentFirstLine - indentFirstLine or null for nonepublic Dimension getIndentStart()
null for nonepublic ParagraphStyle setIndentStart(Dimension indentStart)
indentStart - indentStart or null for nonepublic Float getLineSpacing()
null for nonepublic ParagraphStyle setLineSpacing(Float lineSpacing)
lineSpacing - lineSpacing or null for nonepublic Dimension getSpaceAbove()
null for nonepublic ParagraphStyle setSpaceAbove(Dimension spaceAbove)
spaceAbove - spaceAbove or null for nonepublic Dimension getSpaceBelow()
null for nonepublic ParagraphStyle setSpaceBelow(Dimension spaceBelow)
spaceBelow - spaceBelow or null for nonepublic String getSpacingMode()
null for nonepublic ParagraphStyle setSpacingMode(String spacingMode)
spacingMode - spacingMode or null for nonepublic ParagraphStyle set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ParagraphStyle clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.