public class XWPFHyperlinkRun extends XWPFRun
XWPFRun.FontCharRange
Constructor and Description |
---|
XWPFHyperlinkRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink hyperlink,
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR run,
IRunBody p) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnchor() |
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink |
getCTHyperlink() |
XWPFHyperlink |
getHyperlink(XWPFDocument document)
If this Hyperlink is an external reference hyperlink,
return the object for it.
|
java.lang.String |
getHyperlinkId()
Returns the ID of the hyperlink, if one is set.
|
void |
setHyperlinkId(java.lang.String id) |
addBreak, addBreak, addBreak, addCarriageReturn, addChart, addPicture, addTab, getCharacterSpacing, getColor, getCTR, getDocument, getEmbeddedPictures, getEmphasisMark, getFontFamily, getFontFamily, getFontName, getFontSize, getKerning, getLang, getParagraph, getParent, getPhonetic, getPictureText, getSubscript, getText, getTextHightlightColor, getTextPosition, getTextScale, getUnderline, getUnderlineColor, getUnderlineThemeColor, getVerticalAlignment, isBold, isCapitalized, isDoubleStrikeThrough, isEmbossed, isHighlighted, isImprinted, isItalic, isShadowed, isSmallCaps, isStrike, isStrikeThrough, isVanish, removeBreak, removeCarriageReturn, removeTab, setBold, setCapitalized, setCharacterSpacing, setColor, setDoubleStrikethrough, setEmbossed, setEmphasisMark, setFontFamily, setFontFamily, setFontSize, setImprinted, setItalic, setKerning, setShadow, setSmallCaps, setStrike, setStrikeThrough, setStyle, setSubscript, setText, setText, setTextHighlightColor, setTextPosition, setTextScale, setUnderline, setUnderlineColor, setUnderlineThemeColor, setVanish, setVerticalAlignment, text, toString
public XWPFHyperlinkRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink hyperlink, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR run, IRunBody p)
@Internal public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink getCTHyperlink()
public java.lang.String getAnchor()
public java.lang.String getHyperlinkId()
public void setHyperlinkId(java.lang.String id)
public XWPFHyperlink getHyperlink(XWPFDocument document)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.