public final class EmbeddedObject
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
EmbeddedObject() |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedObject |
clone() |
String |
getDescription()
The description of the embedded object.
|
EmbeddedDrawingProperties |
getEmbeddedDrawingProperties()
The properties of an embedded drawing.
|
EmbeddedObjectBorder |
getEmbeddedObjectBorder()
The border of the embedded object.
|
ImageProperties |
getImageProperties()
The properties of an image.
|
LinkedContentReference |
getLinkedContentReference()
A reference to the external linked source content.
|
Dimension |
getMarginBottom()
The bottom margin of the embedded object.
|
Dimension |
getMarginLeft()
The left margin of the embedded object.
|
Dimension |
getMarginRight()
The right margin of the embedded object.
|
Dimension |
getMarginTop()
The top margin of the embedded object.
|
Size |
getSize()
The visible size of the image after cropping.
|
String |
getTitle()
The title of the embedded object.
|
EmbeddedObject |
set(String fieldName,
Object value) |
EmbeddedObject |
setDescription(String description)
The description of the embedded object.
|
EmbeddedObject |
setEmbeddedDrawingProperties(EmbeddedDrawingProperties embeddedDrawingProperties)
The properties of an embedded drawing.
|
EmbeddedObject |
setEmbeddedObjectBorder(EmbeddedObjectBorder embeddedObjectBorder)
The border of the embedded object.
|
EmbeddedObject |
setImageProperties(ImageProperties imageProperties)
The properties of an image.
|
EmbeddedObject |
setLinkedContentReference(LinkedContentReference linkedContentReference)
A reference to the external linked source content.
|
EmbeddedObject |
setMarginBottom(Dimension marginBottom)
The bottom margin of the embedded object.
|
EmbeddedObject |
setMarginLeft(Dimension marginLeft)
The left margin of the embedded object.
|
EmbeddedObject |
setMarginRight(Dimension marginRight)
The right margin of the embedded object.
|
EmbeddedObject |
setMarginTop(Dimension marginTop)
The top margin of the embedded object.
|
EmbeddedObject |
setSize(Size size)
The visible size of the image after cropping.
|
EmbeddedObject |
setTitle(String title)
The title of the embedded object.
|
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 getDescription()
null for nonepublic EmbeddedObject setDescription(String description)
description - description or null for nonepublic EmbeddedDrawingProperties getEmbeddedDrawingProperties()
null for nonepublic EmbeddedObject setEmbeddedDrawingProperties(EmbeddedDrawingProperties embeddedDrawingProperties)
embeddedDrawingProperties - embeddedDrawingProperties or null for nonepublic EmbeddedObjectBorder getEmbeddedObjectBorder()
null for nonepublic EmbeddedObject setEmbeddedObjectBorder(EmbeddedObjectBorder embeddedObjectBorder)
embeddedObjectBorder - embeddedObjectBorder or null for nonepublic ImageProperties getImageProperties()
null for nonepublic EmbeddedObject setImageProperties(ImageProperties imageProperties)
imageProperties - imageProperties or null for nonepublic LinkedContentReference getLinkedContentReference()
null for nonepublic EmbeddedObject setLinkedContentReference(LinkedContentReference linkedContentReference)
linkedContentReference - linkedContentReference or null for nonepublic Dimension getMarginBottom()
null for nonepublic EmbeddedObject setMarginBottom(Dimension marginBottom)
marginBottom - marginBottom or null for nonepublic Dimension getMarginLeft()
null for nonepublic EmbeddedObject setMarginLeft(Dimension marginLeft)
marginLeft - marginLeft or null for nonepublic Dimension getMarginRight()
null for nonepublic EmbeddedObject setMarginRight(Dimension marginRight)
marginRight - marginRight or null for nonepublic Dimension getMarginTop()
null for nonepublic EmbeddedObject setMarginTop(Dimension marginTop)
marginTop - marginTop or null for nonepublic Size getSize()
null for nonepublic EmbeddedObject setSize(Size size)
size - size or null for nonepublic String getTitle()
null for nonepublic EmbeddedObject setTitle(String title)
title - title or null for nonepublic EmbeddedObject set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic EmbeddedObject clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.