public final class MovieShape extends HSLFPictureShape
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MOVIE_THUMBNAIL |
static int |
MOVIE_AVI |
static int |
MOVIE_MPEG |
_hyperlink, ADJUST_VALUES, DEFAULT_LINE_WIDTH
Constructor and Description |
---|
MovieShape(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a
Picture object |
MovieShape(int movieIdx,
HSLFPictureData pictureData)
Create a new
Picture |
MovieShape(int movieIdx,
HSLFPictureData pictureData,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new
Picture |
Modifier and Type | Method and Description |
---|---|
protected EscherContainerRecord |
createSpContainer(int idx,
boolean isChild)
Create a new Placeholder and initialize internal structures
|
java.lang.String |
getPath() |
boolean |
isAutoPlay() |
void |
setAutoPlay(boolean flag) |
void |
setMovieIndex(int idx)
Assign a movie to this shape
|
afterInsert, getClipping, getEscherBSERecord, getPictureData, getPictureIndex, getPictureName, getShapeType, setPictureName
createHyperlink, createSpContainer, getAdjustValue, getFillColor, getGeometry, getHyperlink, getLineBackgroundColor, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getPlaceholder, getPlaceholderDetails, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, isPlaceholder, setFillColor, setHyperlink, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyle
draw, getAnchor, getClientData, getClientDataRecord, getClientRecords, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType, setSheet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlternativePictureData
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyle
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
public static final int DEFAULT_MOVIE_THUMBNAIL
public static final int MOVIE_MPEG
public static final int MOVIE_AVI
public MovieShape(int movieIdx, HSLFPictureData pictureData)
Picture
pictureData
- the picture datapublic MovieShape(int movieIdx, HSLFPictureData pictureData, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Picture
pictureData
- the picture dataparent
- the parent shapepublic MovieShape(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Picture
objectescherRecord
- the EscherSpContainer
record which holds information about
this picture in the Slide
parent
- the parent shape of this pictureprotected EscherContainerRecord createSpContainer(int idx, boolean isChild)
createSpContainer
in class HSLFPictureShape
idx
- the index of the picture which refers to EscherBSE
container.EscherContainerRecord
which holds shape datapublic void setMovieIndex(int idx)
idx
- the index of the movieHSLFSlideShow.addMovie(String, int)
public void setAutoPlay(boolean flag)
public boolean isAutoPlay()
public java.lang.String getPath()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.