Package org.apache.poi.xslf.usermodel
Class XSLFHyperlink
- java.lang.Object
 - 
- org.apache.poi.xslf.usermodel.XSLFHyperlink
 
 
- 
- All Implemented Interfaces:
 Hyperlink,Hyperlink<XSLFShape,XSLFTextParagraph>
public class XSLFHyperlink extends java.lang.Object implements Hyperlink<XSLFShape,XSLFTextParagraph>
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetAddress()Hyperlink address.java.lang.StringgetLabel()Return text label for this hyperlinkHyperlinkTypegetType()Return the type of this hyperlinkHyperlinkTypegetTypeEnum()Deprecated.CTHyperlinkgetXmlObject()voidlinkToEmail(java.lang.String emailAddress)Link to an emailvoidlinkToFirstSlide()Link to the first slide in this slideshowvoidlinkToLastSlide()Link to the last slide in this slideshowvoidlinkToNextSlide()Link to the next slide (relative from the current)voidlinkToPreviousSlide()Link to the previous slide (relative from the current)voidlinkToSlide(Slide<XSLFShape,XSLFTextParagraph> slide)Link to a slide in this slideshowvoidlinkToUrl(java.lang.String url)Link to a web page / URLvoidsetAddress(java.lang.String address)Hyperlink address.voidsetLabel(java.lang.String label)Sets text label for this hyperlink 
 - 
 
- 
- 
Method Detail
- 
getXmlObject
@Internal public CTHyperlink getXmlObject()
 
- 
setAddress
public void setAddress(java.lang.String address)
Description copied from interface:HyperlinkHyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc.- Specified by:
 setAddressin interfaceHyperlink- Parameters:
 address- the address of this hyperlink
 
- 
getAddress
public java.lang.String getAddress()
Description copied from interface:HyperlinkHyperlink address. Depending on the hyperlink type it can be URL, e-mail, path to a file, etc.- Specified by:
 getAddressin interfaceHyperlink- Returns:
 - the address of this hyperlink
 
 
- 
getLabel
public java.lang.String getLabel()
Description copied from interface:HyperlinkReturn text label for this hyperlink 
- 
setLabel
public void setLabel(java.lang.String label)
Description copied from interface:HyperlinkSets text label for this hyperlink 
- 
getType
public HyperlinkType getType()
Description copied from interface:HyperlinkReturn the type of this hyperlink- Specified by:
 getTypein interfaceHyperlink- Returns:
 - the type of this hyperlink
 - See Also:
 HyperlinkType.forInt(int)
 
- 
getTypeEnum
@Deprecated @Removal(version="4.2") public HyperlinkType getTypeEnum()
Deprecated.Description copied from interface:HyperlinkReturn the type of this hyperlink- Specified by:
 getTypeEnumin interfaceHyperlink- Returns:
 - the type of this hyperlink
 
 
- 
linkToEmail
public void linkToEmail(java.lang.String emailAddress)
Description copied from interface:HyperlinkLink to an email- Specified by:
 linkToEmailin interfaceHyperlink<XSLFShape,XSLFTextParagraph>- Parameters:
 emailAddress- the email address
 
- 
linkToUrl
public void linkToUrl(java.lang.String url)
Description copied from interface:HyperlinkLink to a web page / URL- Specified by:
 linkToUrlin interfaceHyperlink<XSLFShape,XSLFTextParagraph>- Parameters:
 url- the url
 
- 
linkToSlide
public void linkToSlide(Slide<XSLFShape,XSLFTextParagraph> slide)
Description copied from interface:HyperlinkLink to a slide in this slideshow- Specified by:
 linkToSlidein interfaceHyperlink<XSLFShape,XSLFTextParagraph>- Parameters:
 slide- the linked slide
 
- 
linkToNextSlide
public void linkToNextSlide()
Description copied from interface:HyperlinkLink to the next slide (relative from the current)- Specified by:
 linkToNextSlidein interfaceHyperlink<XSLFShape,XSLFTextParagraph>
 
- 
linkToPreviousSlide
public void linkToPreviousSlide()
Description copied from interface:HyperlinkLink to the previous slide (relative from the current)- Specified by:
 linkToPreviousSlidein interfaceHyperlink<XSLFShape,XSLFTextParagraph>
 
- 
linkToFirstSlide
public void linkToFirstSlide()
Description copied from interface:HyperlinkLink to the first slide in this slideshow- Specified by:
 linkToFirstSlidein interfaceHyperlink<XSLFShape,XSLFTextParagraph>
 
- 
linkToLastSlide
public void linkToLastSlide()
Description copied from interface:HyperlinkLink to the last slide in this slideshow- Specified by:
 linkToLastSlidein interfaceHyperlink<XSLFShape,XSLFTextParagraph>
 
 - 
 
 -