public class InteractiveInfoAtom extends RecordAtom
Modifier and Type | Class and Description |
---|---|
static class |
InteractiveInfoAtom.Action |
static class |
InteractiveInfoAtom.Jump |
static class |
InteractiveInfoAtom.Link |
Modifier and Type | Field and Description |
---|---|
static byte |
ACTION_CUSTOMSHOW |
static byte |
ACTION_HYPERLINK |
static byte |
ACTION_JUMP |
static byte |
ACTION_MACRO |
static byte |
ACTION_MEDIA |
static byte |
ACTION_NONE
Action Table
(行动表)
|
static byte |
ACTION_OLE |
static byte |
ACTION_RUNPROGRAM |
static byte |
JUMP_ENDSHOW |
static byte |
JUMP_FIRSTSLIDE |
static byte |
JUMP_LASTSLIDE |
static byte |
JUMP_LASTSLIDEVIEWED |
static byte |
JUMP_NEXTSLIDE |
static byte |
JUMP_NONE
Jump Table
(跳表)
|
static byte |
JUMP_PREVIOUSSLIDE |
static byte |
LINK_CustomShow |
static byte |
LINK_FirstSlide |
static byte |
LINK_LastSlide |
static byte |
LINK_NextSlide
Types of hyperlinks
(超链接的类型)
|
static byte |
LINK_NULL |
static byte |
LINK_OtherFile |
static byte |
LINK_OtherPresentation |
static byte |
LINK_PreviousSlide |
static byte |
LINK_SlideNumber |
static byte |
LINK_Url |
Modifier | Constructor and Description |
---|---|
protected |
InteractiveInfoAtom()
Constructs a brand new link related atom record.
(构造一个全新的链接相关原子记录。)
|
protected |
InteractiveInfoAtom(byte[] source, int start, int len)
Constructs the link related atom record from its source data.
(从其源数据构造与链接相关的原子记录。)
|
Modifier and Type | Method and Description |
---|---|
byte |
getAction()
Hyperlink Action.
(超链接动作。)
|
byte |
getFlags()
Flags
(标志)
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getHyperlinkID()
Gets the link number.
(获取链接号。)
|
byte |
getHyperlinkType()
hyperlink type
(超链接类型)
|
byte |
getJump()
Jump
(跳)
|
byte |
getOleVerb()
Only valid when action == OLEAction.
(仅当 action == OLEAction 时有效。)
|
long |
getRecordType()
Gets the record type.
(获取记录类型。)
|
int |
getSoundRef()
a reference to a sound in the sound collection.
(对声音集合中声音的引用。)
|
void |
setAction(byte val)
Hyperlink Action
(超链接动作)
|
void |
setFlags(byte val)
Flags
(标志)
|
void |
setHyperlinkID(int number)
Sets the persistent unique identifier of the link
(设置链接的持久唯一标识符)
|
void |
setHyperlinkType(byte val)
hyperlink type
(超链接类型)
|
void |
setJump(byte val)
Jump
(跳)
|
void |
setOleVerb(byte val)
Only valid when action == OLEAction.
(仅当 action == OLEAction 时有效。)
|
void |
setSoundRef(int val)
a reference to a sound in the sound collection.
(对声音集合中声音的引用。)
|
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 byte ACTION_NONE
public static final byte ACTION_MACRO
public static final byte ACTION_RUNPROGRAM
public static final byte ACTION_JUMP
public static final byte ACTION_HYPERLINK
public static final byte ACTION_OLE
public static final byte ACTION_MEDIA
public static final byte ACTION_CUSTOMSHOW
public static final byte JUMP_NONE
public static final byte JUMP_NEXTSLIDE
public static final byte JUMP_PREVIOUSSLIDE
public static final byte JUMP_FIRSTSLIDE
public static final byte JUMP_LASTSLIDE
public static final byte JUMP_LASTSLIDEVIEWED
public static final byte JUMP_ENDSHOW
public static final byte LINK_NextSlide
public static final byte LINK_PreviousSlide
public static final byte LINK_FirstSlide
public static final byte LINK_LastSlide
public static final byte LINK_CustomShow
public static final byte LINK_SlideNumber
public static final byte LINK_Url
public static final byte LINK_OtherPresentation
public static final byte LINK_OtherFile
public static final byte LINK_NULL
protected InteractiveInfoAtom()
protected InteractiveInfoAtom(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 int getHyperlinkID()
public void setHyperlinkID(int number)
number
- the persistent unique identifier of the link
(number - 链接的持久唯一标识符)
public int getSoundRef()
public void setSoundRef(int val)
val
- a reference to a sound in the sound collection
(val - 对声音集合中声音的引用)
public byte getAction()
see ACTION_*
constants for the list of actions
public void setAction(byte val)
see ACTION_*
constants for the list of actions
val
- hyperlink action.
(val - 超链接动作。)
public byte getOleVerb()
public void setOleVerb(byte val)
public byte getJump()
see JUMP_*
constants for the list of actions
public void setJump(byte val)
see JUMP_*
constants for the list of actions
val
- jump
(val - 跳跃)
public byte getFlags()
(标志)
public void setFlags(byte val)
public byte getHyperlinkType()
public void setHyperlinkType(byte val)
val
- hyperlink type
public long getRecordType()
getRecordType
in class
Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.