public class XWPFHyperlinkRun extends XWPFRun
Constructor and Description |
---|
XWPFHyperlinkRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink hyperlink,
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR run,
XWPFParagraph p) |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getHyperlinkId()
Returns the ID of the hyperlink, if one is set.
|
void |
setHyperlinkId(String id) |
addBreak, addBreak, addBreak, addCarriageReturn, addPicture, getColor, getCTR, getDocument, getEmbeddedPictures, getFontFamily, getFontSize, getParagraph, getPictureText, getSubscript, getText, getTextPosition, getUnderline, isBold, isItalic, isStrike, removeBreak, removeCarriageReturn, setBold, setColor, setFontFamily, setFontSize, setItalic, setStrike, setSubscript, setText, setText, setTextPosition, setUnderline, toString
public XWPFHyperlinkRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink hyperlink, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR run, XWPFParagraph p)
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHyperlink getCTHyperlink()
public String getAnchor()
public String getHyperlinkId()
public void setHyperlinkId(String id)
public XWPFHyperlink getHyperlink(XWPFDocument document)
Copyright © 2020. All rights reserved.