public final class Hyperlink
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
LINK_FIRSTSLIDE |
static byte |
LINK_LASTSLIDE |
static byte |
LINK_NEXTSLIDE |
static byte |
LINK_NULL |
static byte |
LINK_PREVIOUSSLIDE |
static byte |
LINK_SLIDENUMBER |
static byte |
LINK_URL |
Constructor and Description |
---|
Hyperlink() |
Modifier and Type | Method and Description |
---|---|
protected static Hyperlink |
find(Shape shape)
Find hyperlink assigned to the supplied shape
|
protected static Hyperlink[] |
find(TextRun run)
Find hyperlinks in a text run
|
java.lang.String |
getAddress()
Gets the hyperlink URL
|
int |
getEndIndex()
Gets the ending character position
|
int |
getId() |
int |
getStartIndex()
Gets the beginning character position
|
java.lang.String |
getTitle()
Gets the hyperlink user-friendly title (if different from URL)
|
int |
getType()
Gets the type of the hyperlink action.
|
void |
setAddress(Slide slide) |
void |
setAddress(java.lang.String str) |
void |
setId(int id) |
void |
setTitle(java.lang.String str) |
void |
setType(int val) |
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_SLIDENUMBER
public static final byte LINK_URL
public static final byte LINK_NULL
public int getType()
LINK_*
constantInteractiveInfoAtom
public void setType(int val)
public java.lang.String getAddress()
public void setAddress(Slide slide)
public void setAddress(java.lang.String str)
public int getId()
public void setId(int id)
public java.lang.String getTitle()
public void setTitle(java.lang.String str)
public int getStartIndex()
public int getEndIndex()
protected static Hyperlink[] find(TextRun run)
run
- TextRun
to lookup hyperlinks innull
if not foundCopyright © 2005-2010 Potix Corporation. All Rights Reserved.