|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Link
public final class Link
Represents the hyperlink in a text.
Method Summary | |
---|---|
int |
getActionType()
Returns action type of a link. |
int |
getBegin()
Returns the beginning of a link in a text. |
int |
getEnd()
Returns the end of a link in a text. |
java.lang.String |
getExternalHyperlink()
Returns an external hyperlink as String or null if type of
link is not ExternalHyperlink. |
int |
getInternalHyperlink()
Returns Id of a slide for internal hyperlink or -1 if type of link is not InternalHyperlink. |
int |
getJumpType()
Returns jump type of a link if ActionType is JumpAction. |
void |
setBegin(int value)
Sets the beginning of a link in a text. |
void |
setEnd(int value)
Sets the end of a link in a text. |
void |
setExternalHyperlink(java.lang.String hyperlink)
Sets link destination to a custom URL and changes action type to HyperlinkAction. |
void |
setInternalHyperlink(long slideId)
Sets link destination to a slide inside presentation and changes action type to HyperlinkAction. |
void |
setInternalHyperlink(Slide slide)
Sets link destination to a slide inside presentation and changes action type to HyperlinkAction. |
void |
setJump(int jumpType)
Sets the jump destination and changes action type to the JumpAction. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getBegin()
public void setBegin(int value)
value
- new beginning of a link.public int getEnd()
public void setEnd(int value)
value
- new end of a link.public int getActionType()
LinkActionType
.
public int getJumpType()
LinkJumpType
.
public void setJump(int jumpType)
jumpType
- new jump type. See LinkJumpType
.public int getInternalHyperlink()
public java.lang.String getExternalHyperlink()
null
if type of
link is not ExternalHyperlink.
public void setInternalHyperlink(long slideId) throws PptPropertyException
slideId
- Id of a slide.
PptPropertyException
public void setInternalHyperlink(Slide slide)
slide
- slide object.public void setExternalHyperlink(java.lang.String hyperlink)
hyperlink
- URL string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |