public final class AnimationInfoAtom extends RecordAtom
Modifier and Type | Field and Description |
---|---|
static int |
AnimateBg
whether the background of the shape is animated
(形状的背景是否动画)
|
static int |
Automatic
whether the animation starts automatically
(动画是否自动开始)
|
static int |
Hide
whether the shape is hidden while the animation is not playing
(动画不播放时形状是否隐藏)
|
static int |
Play
whether an associated sound, media or action verb is activated when the shape is clicked.
(单击形状时是否激活关联的声音、媒体或动作动词。)
|
static int |
Reverse
whether the animation plays in the reverse direction
(动画是否反方向播放)
|
static int |
Sound
whether the animation has an associated sound
(动画是否有关联的声音)
|
static int |
StopSound
whether all playing sounds are stopped when this animation begins
(此动画开始时是否停止所有播放声音)
|
static int |
Synchronous
specifies that the animation, while playing, stops other slide show actions.
(指定动画在播放时停止其他幻灯片放映动作。)
|
Modifier | Constructor and Description |
---|---|
protected |
AnimationInfoAtom()
Constructs a brand new link related atom record.
(构造一个全新的链接相关原子记录。)
|
protected |
AnimationInfoAtom(byte[] source, int start, int len)
Constructs the link related atom record from its source data.
(从其源数据构造与链接相关的原子记录。)
|
Modifier and Type | Method and Description |
---|---|
int |
getDelayTime()
A signed integer that specifies the delay time, in milliseconds, before the animation starts to play.
(一个有符号整数,指定动画开始播放之前的延迟时间(以毫秒为单位)。)
|
int |
getDimColor()
A rgb structure that specifies a color for the dim effect after the animation is complete.
(一个 rgb 结构,指定动画完成后暗淡效果的颜色。)
|
boolean |
getFlag(int bit) |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getMask()
A bit mask specifying options for displaying headers and footers
(指定用于显示页眉和页脚的选项的位掩码)
|
int |
getOrderID()
A signed integer that specifies the order of the animation in the slide.
(一个有符号整数,指定幻灯片中动画的顺序。)
|
long |
getRecordType()
Gets the record type.
(获取记录类型。)
|
int |
getSlideCount()
An unsigned integer that specifies the number of slides that this animation continues playing.
(一个无符号整数,指定此动画继续播放的幻灯片数。)
|
int |
getSoundIdRef()
A 4-byte unsigned integer that specifies a reference to a sound in the SoundCollectionContainer record to locate the embedded audio
(一个 4 字节无符号整数,指定对 SoundCollectionContainer 记录中的声音的引用,以定位嵌入的音频)
|
void |
setDelayTime(int id)
A signed integer that specifies the delay time, in milliseconds, before the animation starts to play.
(一个有符号整数,指定动画开始播放之前的延迟时间(以毫秒为单位)。)
|
void |
setDimColor(int rgb)
A rgb structure that specifies a color for the dim effect after the animation is complete.
(一个 rgb 结构,指定动画完成后暗淡效果的颜色。)
|
void |
setFlag(int bit, boolean value) |
void |
setMask(int mask)
A bit mask specifying options for displaying video
(指定用于显示视频的选项的位掩码)
|
void |
setOrderID(int id)
A signed integer that specifies the order of the animation in the slide.
(一个有符号整数,指定幻灯片中动画的顺序。)
|
void |
setSlideCount(int id)
An unsigned integer that specifies the number of slides that this animation continues playing.
(一个无符号整数,指定此动画继续播放的幻灯片数。)
|
void |
setSoundIdRef(int id)
A 4-byte unsigned integer that specifies a reference to a sound in the SoundCollectionContainer record to locate the embedded audio
(一个 4 字节无符号整数,指定对 SoundCollectionContainer 记录中的声音的引用,以定位嵌入的音频)
|
java.lang.String |
toString() |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written to disk
(将记录的内容写回去,这样就可以写入磁盘了)
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public static final int Reverse
public static final int Automatic
public static final int Sound
public static final int StopSound
public static final int Play
public static final int Synchronous
public static final int Hide
public static final int AnimateBg
protected AnimationInfoAtom()
protected AnimationInfoAtom(byte[] source, int start, int len)
source
- the source data as a byte array.
(source - 作为字节数组的源数据。)
start
- the start offset into the byte array.
(start - 字节数组的起始偏移量。)
len
- the length of the slice in the byte array.
(len - 字节数组中切片的长度。)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public int getDimColor()
public void setDimColor(int rgb)
rgb
- color for the dim effect after the animation is complete
(rgb - 动画完成后暗淡效果的颜色)
public int getMask()
public void setMask(int mask)
mask
- A bit mask specifying options for displaying video
(mask - 一个位掩码,指定显示视频的选项)
public boolean getFlag(int bit)
bit
- the bit to check
(bit - 要检查的位)
public void setFlag(int bit, boolean value)
bit
- the bit to set
(bit - 要设置的位)
value
- whether the specified bit is set
(value - 是否设置了指定位)
public int getSoundIdRef()
public void setSoundIdRef(int id)
id
- reference to a sound
(id - 对声音的引用)
public int getDelayTime()
Automatic
is 0x1, this value MUST be greater than or equal to 0; otherwise, this field MUST be ignored.
(一个有符号整数,指定动画开始播放之前的延迟时间(以毫秒为单位)。如果 Automatic 为 0x1,则该值必须大于或等于 0;否则,该字段必须被忽略。)
public void setDelayTime(int id)
Automatic
is 0x1, this value MUST be greater than or equal to 0; otherwise, this field MUST be ignored.
(一个有符号整数,指定动画开始播放之前的延迟时间(以毫秒为单位)。如果 Automatic 为 0x1,则该值必须大于或等于 0;否则,该字段必须被忽略。)
public int getOrderID()
public void setOrderID(int id)
public int getSlideCount()
public void setSlideCount(int id)
public java.lang.String toString()
toString
in class
java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.