|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.poi.hslf.usermodel.HSLFHyperlink
public final class HSLFHyperlink
Represents a hyperlink in a PowerPoint document
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
HSLFHyperlink()
|
|
| Method Summary | |
|---|---|
static HSLFHyperlink |
find(HSLFShape shape)
Find hyperlink assigned to the supplied shape |
static java.util.List<HSLFHyperlink> |
find(HSLFTextShape shape)
Find hyperlinks in a text shape |
static java.util.List<HSLFHyperlink> |
find(java.util.List<HSLFTextParagraph> paragraphs)
Find hyperlinks in a text paragraph |
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(HSLFSlide slide)
|
void |
setAddress(java.lang.String str)
|
void |
setId(int id)
|
void |
setTitle(java.lang.String str)
|
void |
setType(int val)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public HSLFHyperlink()
| Method Detail |
|---|
public int getType()
LINK_* constant
InteractiveInfoAtompublic void setType(int val)
public java.lang.String getAddress()
public void setAddress(HSLFSlide 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()
public static java.util.List<HSLFHyperlink> find(HSLFTextShape shape)
shape - TextRun to lookup hyperlinks in
null if not foundpublic static java.util.List<HSLFHyperlink> find(java.util.List<HSLFTextParagraph> paragraphs)
paragraphs - List of TextParagraph to lookup hyperlinks
public static HSLFHyperlink find(HSLFShape shape)
shape - Shape to lookup hyperlink in
null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||