public class XSLFHyperlink extends Object implements Hyperlink<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Hyperlink address.
|
String |
getLabel()
Return text label for this hyperlink
|
HyperlinkType |
getType()
Return the type of this hyperlink
|
HyperlinkType |
getTypeEnum()
Deprecated.
|
CTHyperlink |
getXmlObject() |
void |
linkToEmail(String emailAddress)
Link to an email
|
void |
linkToFirstSlide()
Link to the first slide in this slideshow
|
void |
linkToLastSlide()
Link to the last slide in this slideshow
|
void |
linkToNextSlide()
Link to the next slide (relative from the current)
|
void |
linkToPreviousSlide()
Link to the previous slide (relative from the current)
|
void |
linkToSlide(Slide<XSLFShape,XSLFTextParagraph> slide)
Link to a slide in this slideshow
|
void |
linkToUrl(String url)
Link to a web page / URL
|
void |
setAddress(String address)
Hyperlink address.
|
void |
setLabel(String label)
Sets text label for this hyperlink
|
@Internal public CTHyperlink getXmlObject()
public void setAddress(String address)
Hyperlink
setAddress
in interface Hyperlink
address
- the address of this hyperlinkpublic String getAddress()
Hyperlink
getAddress
in interface Hyperlink
public String getLabel()
Hyperlink
public void setLabel(String label)
Hyperlink
public HyperlinkType getType()
Hyperlink
getType
in interface Hyperlink
HyperlinkType.forInt(int)
@Deprecated @Removal(version="4.2") public HyperlinkType getTypeEnum()
Hyperlink
getTypeEnum
in interface Hyperlink
public void linkToEmail(String emailAddress)
Hyperlink
emailAddress
- the email addresspublic void linkToUrl(String url)
Hyperlink
url
- the urlpublic void linkToSlide(Slide<XSLFShape,XSLFTextParagraph> slide)
Hyperlink
slide
- the linked slidepublic void linkToNextSlide()
Hyperlink
public void linkToPreviousSlide()
Hyperlink
public void linkToFirstSlide()
Hyperlink
public void linkToLastSlide()
Hyperlink
Copyright © 2010 - 2020 Adobe. All Rights Reserved