public class XSLFHyperlink extends java.lang.Object implements Hyperlink<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Hyperlink address.
|
java.lang.String |
getLabel()
Return text label for this hyperlink
|
HyperlinkType |
getType()
Return the type of this hyperlink
|
org.openxmlformats.schemas.drawingml.x2006.main.CTHyperlink |
getXmlObject() |
void |
linkToEmail(java.lang.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(java.lang.String url)
Link to a web page / URL
|
void |
setAddress(java.lang.String address)
Hyperlink address.
|
void |
setLabel(java.lang.String label)
Sets text label for this hyperlink
|
@Internal public org.openxmlformats.schemas.drawingml.x2006.main.CTHyperlink getXmlObject()
public void setAddress(java.lang.String address)
Hyperlink
setAddress
in interface Hyperlink
address
- the address of this hyperlinkpublic java.lang.String getAddress()
Hyperlink
getAddress
in interface Hyperlink
public java.lang.String getLabel()
Hyperlink
public void setLabel(java.lang.String label)
Hyperlink
public HyperlinkType getType()
Hyperlink
public void linkToEmail(java.lang.String emailAddress)
Hyperlink
emailAddress
- the email addresspublic void linkToUrl(java.lang.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 2022 The Apache Software Foundation or its licensors, as applicable.