| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.InteractiveInfoAtom
InteractiveInfoAtom | public class InteractiveInfoAtom extends RecordAtom (Code) | | Tne atom that holds metadata on Links in the document.
(The actual link is held Document.ExObjList.ExHyperlink)
author: Nick Burch author: Yegor Kozlov |
Constructor Summary | |
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. |
ACTION_CUSTOMSHOW | final public static int ACTION_CUSTOMSHOW(Code) | | |
ACTION_HYPERLINK | final public static int ACTION_HYPERLINK(Code) | | |
ACTION_JUMP | final public static int ACTION_JUMP(Code) | | |
ACTION_MACRO | final public static int ACTION_MACRO(Code) | | |
ACTION_MEDIA | final public static int ACTION_MEDIA(Code) | | |
ACTION_NONE | final public static int ACTION_NONE(Code) | | Action Table
|
ACTION_OLE | final public static int ACTION_OLE(Code) | | |
ACTION_RUNPROGRAM | final public static int ACTION_RUNPROGRAM(Code) | | |
JUMP_ENDSHOW | final public static int JUMP_ENDSHOW(Code) | | |
JUMP_FIRSTSLIDE | final public static int JUMP_FIRSTSLIDE(Code) | | |
JUMP_LASTSLIDE | final public static int JUMP_LASTSLIDE(Code) | | |
JUMP_LASTSLIDEVIEWED | final public static int JUMP_LASTSLIDEVIEWED(Code) | | |
JUMP_NEXTSLIDE | final public static int JUMP_NEXTSLIDE(Code) | | |
JUMP_NONE | final public static int JUMP_NONE(Code) | | Jump Table
|
JUMP_PREVIOUSSLIDE | final public static int JUMP_PREVIOUSSLIDE(Code) | | |
InteractiveInfoAtom | protected InteractiveInfoAtom()(Code) | | Constructs a brand new link related atom record.
|
InteractiveInfoAtom | protected InteractiveInfoAtom(byte[] source, int start, int len)(Code) | | Constructs the link related atom record from its
source data.
Parameters: source - the source data as a byte array. Parameters: start - the start offset into the byte array. Parameters: len - the length of the slice in the byte array. |
getAction | public byte getAction()(Code) | | Hyperlink Action.
see ACTION_* constants for the list of actions
hyperlink action. |
getFlags | public byte getFlags()(Code) | | Flags
Bit 1: Animated. If 1, then button is animated
Bit 2: Stop sound. If 1, then stop current sound when button is pressed.
Bit 3: CustomShowReturn. If 1, and this is a jump to custom show,
then return to this slide after custom show.
|
getHyperlinkID | public int getHyperlinkID()(Code) | | Gets the link number. You will normally look the
ExHyperlink with this number to get the details.
the link number |
getHyperlinkType | public byte getHyperlinkType()(Code) | | hyperlink type
hyperlink type |
getJump | public byte getJump()(Code) | | Jump
see JUMP_* constants for the list of actions
jump |
getOleVerb | public byte getOleVerb()(Code) | | Only valid when action == OLEAction. OLE verb to use, 0 = first verb, 1 = second verb, etc.
|
getRecordType | public long getRecordType()(Code) | | Gets the record type.
the record type. |
getSoundRef | public int getSoundRef()(Code) | | a reference to a sound in the sound collection.
|
setAction | public void setAction(byte val)(Code) | | Hyperlink Action
see ACTION_* constants for the list of actions
Parameters: val - hyperlink action. |
setFlags | public void setFlags(byte val)(Code) | | Flags
Bit 1: Animated. If 1, then button is animated
Bit 2: Stop sound. If 1, then stop current sound when button is pressed.
Bit 3: CustomShowReturn. If 1, and this is a jump to custom show,
then return to this slide after custom show.
|
setHyperlinkID | public void setHyperlinkID(int number)(Code) | | Sets the persistent unique identifier of the link
Parameters: number - the persistent unique identifier of the link |
setHyperlinkType | public void setHyperlinkType(byte val)(Code) | | hyperlink type
Parameters: val - hyperlink type |
setJump | public void setJump(byte val)(Code) | | Jump
see JUMP_* constants for the list of actions
Parameters: val - jump |
setOleVerb | public void setOleVerb(byte val)(Code) | | Only valid when action == OLEAction. OLE verb to use, 0 = first verb, 1 = second verb, etc.
|
setSoundRef | public void setSoundRef(int val)(Code) | | a reference to a sound in the sound collection.
Parameters: val - a reference to a sound in the sound collection |
writeOut | public void writeOut(OutputStream out) throws IOException(Code) | | Write the contents of the record back, so it can be written
to disk
Parameters: out - the output stream to write to. throws: IOException - if an error occurs. |
|
|