|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.InteractiveInfoAtom
public class InteractiveInfoAtom
Tne atom that holds metadata on Links in the document. (The actual link is held Document.ExObjList.ExHyperlink)
Field Summary | |
---|---|
static int |
ACTION_CUSTOMSHOW
|
static int |
ACTION_HYPERLINK
|
static int |
ACTION_JUMP
|
static int |
ACTION_MACRO
|
static int |
ACTION_MEDIA
|
static int |
ACTION_NONE
Action Table |
static int |
ACTION_OLE
|
static int |
ACTION_RUNPROGRAM
|
static int |
JUMP_ENDSHOW
|
static int |
JUMP_FIRSTSLIDE
|
static int |
JUMP_LASTSLIDE
|
static int |
JUMP_LASTSLIDEVIEWED
|
static int |
JUMP_NEXTSLIDE
|
static int |
JUMP_NONE
Jump Table |
static int |
JUMP_PREVIOUSSLIDE
|
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
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. |
Method Summary | |
---|---|
byte |
getAction()
Hyperlink Action. |
byte |
getFlags()
Flags |
int |
getHyperlinkID()
Gets the link number. |
byte |
getHyperlinkType()
hyperlink type |
byte |
getJump()
Jump |
byte |
getOleVerb()
Only valid when 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. |
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 |
Methods inherited from class org.apache.poi.hslf.record.RecordAtom |
---|
getChildRecords, isAnAtom |
Methods inherited from class org.apache.poi.hslf.record.Record |
---|
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ACTION_NONE
public static final int ACTION_MACRO
public static final int ACTION_RUNPROGRAM
public static final int ACTION_JUMP
public static final int ACTION_HYPERLINK
public static final int ACTION_OLE
public static final int ACTION_MEDIA
public static final int ACTION_CUSTOMSHOW
public static final int JUMP_NONE
public static final int JUMP_NEXTSLIDE
public static final int JUMP_PREVIOUSSLIDE
public static final int JUMP_FIRSTSLIDE
public static final int JUMP_LASTSLIDE
public static final int JUMP_LASTSLIDEVIEWED
public static final int JUMP_ENDSHOW
Constructor Detail |
---|
protected InteractiveInfoAtom()
protected InteractiveInfoAtom(byte[] source, int start, int len)
source
- the source data as a byte array.start
- the start offset into the byte array.len
- the length of the slice in the byte array.Method Detail |
---|
public int getHyperlinkID()
public void setHyperlinkID(int number)
number
- the persistent unique identifier of the linkpublic int getSoundRef()
public void setSoundRef(int val)
val
- a reference to a sound in the sound collectionpublic 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.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
- jumppublic byte getFlags()
public void setFlags(byte val)
public byte getHyperlinkType()
public void setHyperlinkType(byte val)
val
- hyperlink typepublic long getRecordType()
getRecordType
in class Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
writeOut
in class Record
out
- the output stream to write to.
java.io.IOException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |