public class SSSlideInfoAtom extends RecordAtom
type | description | direction |
---|---|---|
0 | cut | 0x00 = no transition, 0x01 = black transition |
1 | random | 0x00 |
2 | blinds | 0x00 = vertical, 0x01 = horizontal |
3 | checker | like blinds |
4 | cover | 0x00 = left, 0x01 = up, 0x02 = right, 0x03 = down, 0x04 = left/up, 0x05 = right/up, 0x06 left/down, 0x07 = left/down |
5 | dissolve | 0x00 |
6 | fade | 0x00 |
7 | uncover | like cover |
8 | random bars | like blinds |
9 | strips | like 0x04 - 0x07 of cover |
10 | wipe | like 0x00 - 0x03 of cover |
11 | box in/out | 0x00 = out, 0x01 = in |
13 | split | 0x00 = horizontally out, 0x01 = horizontally in, 0x02 = vertically out, 0x03 = vertically in |
17 | diamond | 0x00 |
18 | plus | 0x00 |
19 | wedge | 0x00 |
20 | push | like 0x00 - 0x03 of cover |
21 | comb | like blinds |
22 | newsflash | 0x00 |
23 | alphafade | 0x00 |
26 | wheel | number of radial divisions (0x01,0x02,0x03,0x04,0x08) |
27 | circle | 0x00 |
255 | undefined | 0x00 |
Modifier and Type | Field and Description |
---|---|
static int |
AUTO_ADVANCE_BIT
A bit that specifies whether the slide will automatically advance after slideTime milliseconds during the slide show.
(指定幻灯片放映期间幻灯片是否在 slideTime 毫秒后自动前进的位。)
|
static int |
CURSOR_VISIBLE_BIT
A bit that specifies whether to display the cursor during the slide show.
(指定幻灯片放映期间是否显示光标的位。)
|
static int |
HIDDEN_BIT
A bit that specifies whether the corresponding slide is hidden and is not displayed during the slide show.
(指定相应幻灯片在幻灯片放映期间是否隐藏和不显示的位。)
|
static int |
LOOP_SOUND_BIT
A bit that specifies whether the sound specified by soundIdRef is looped continuously when playing until the next sound plays.
(一个位,指定 soundIdRef 指定的声音在播放时是否连续循环,直到播放下一个声音。)
|
static int |
MANUAL_ADVANCE_BIT
A bit that specifies whether the presentation slide can be manually advanced by the user during the slide show.
(指定演示幻灯片是否可以在幻灯片放映期间由用户手动推进的位。)
|
static int |
SOUND_BIT
A bit that specifies whether to play the sound specified by soundIfRef.
(指定是否播放 soundIfRef 指定的声音的位。)
|
static int |
STOP_SOUND_BIT
A bit that specifies whether to stop any currently playing sound when the transition starts.
(指定在转换开始时是否停止任何当前播放的声音的位。)
|
Constructor and Description |
---|
SSSlideInfoAtom() |
SSSlideInfoAtom(byte[] source, int offset, int len) |
Modifier and Type | Method and Description |
---|---|
short |
getEffectDirection() |
boolean |
getEffectTransitionFlagByBit(int bitmask) |
short |
getEffectTransitionFlags() |
short |
getEffectType() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
long |
getRecordType()
We are of type 1017
(我们是1017型)
|
int |
getSlideTime() |
int |
getSoundIdRef() |
short |
getSpeed() |
void |
setEffectDirection(short effectDirection) |
void |
setEffectTransitionFlagByBit(int bitmask, boolean enabled)
Use one of the bitmasks MANUAL_ADVANCE_BIT ...
(使用位掩码之一 MANUAL_ADVANCE_BIT ...)
|
void |
setEffectTransitionFlags(short effectTransitionFlags) |
void |
setEffectType(short effectType) |
void |
setSlideTime(int slideTime) |
void |
setSoundIdRef(int soundIdRef) |
void |
setSpeed(short speed) |
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 MANUAL_ADVANCE_BIT
public static final int HIDDEN_BIT
public static final int SOUND_BIT
public static final int LOOP_SOUND_BIT
public static final int STOP_SOUND_BIT
public static final int AUTO_ADVANCE_BIT
public static final int CURSOR_VISIBLE_BIT
public SSSlideInfoAtom()
public SSSlideInfoAtom(byte[] source, int offset, int len)
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
public int getSlideTime()
public void setSlideTime(int slideTime)
public int getSoundIdRef()
public void setSoundIdRef(int soundIdRef)
public short getEffectDirection()
public void setEffectDirection(short effectDirection)
public short getEffectType()
public void setEffectType(short effectType)
public short getEffectTransitionFlags()
public void setEffectTransitionFlags(short effectTransitionFlags)
public void setEffectTransitionFlagByBit(int bitmask, boolean enabled)
bitmask
-
(位掩码 -)
enabled
-
(启用 -)
public boolean getEffectTransitionFlagByBit(int bitmask)
public short getSpeed()
public void setSpeed(short speed)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.