@Beta public class XSLFPictureShape extends XSLFSimpleShape implements PictureShape<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
Insets |
getClipping()
Returns the clipping values as percent ratio relatively to the image size.
|
XSLFPictureData |
getPictureData()
Return the data on the (internal) picture.
|
URI |
getPictureLink()
For an external linked picture, return the last-seen
path to the picture.
|
boolean |
isExternalLinkedPicture()
Is this an internal picture (image data included within
the PowerPoint file), or an external linked picture
(image lives outside)?
|
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application
as a placeholder.
|
createHyperlink, getAdjustValue, getAnchor, getFillColor, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getHyperlink, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeType, getStrokeStyle, setAnchor, setFillColor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyle
draw, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getSheet, getXmlObject, isPlaceholder, setParent
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getShapeType, getStrokeStyle, isPlaceholder, setFillColor, setShapeType, setStrokeStyle
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
public boolean isExternalLinkedPicture()
public XSLFPictureData getPictureData()
getPictureData
in interface PictureShape<XSLFShape,XSLFTextParagraph>
public void setPlaceholder(Placeholder placeholder)
SimpleShape
setPlaceholder
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setPlaceholder
in class XSLFShape
placeholder
- the placeholder or null to remove the reference to the placeholderPlaceholderDetails.setPlaceholder(Placeholder)
public URI getPictureLink()
public Insets getClipping()
PictureShape
getClipping
in interface PictureShape<XSLFShape,XSLFTextParagraph>
Copyright © 2010 - 2020 Adobe. All Rights Reserved