本文整理了Java中org.apache.poi.xwpf.usermodel.XWPFHyperlinkRun.getHyperlinkId()
方法的一些代码示例,展示了XWPFHyperlinkRun.getHyperlinkId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XWPFHyperlinkRun.getHyperlinkId()
方法的具体详情如下:
包路径:org.apache.poi.xwpf.usermodel.XWPFHyperlinkRun
类名称:XWPFHyperlinkRun
方法名:getHyperlinkId
[英]Returns the ID of the hyperlink, if one is set.
[中]返回超链接的ID(如果已设置)。
代码示例来源:origin: org.apache.poi/poi-ooxml
/**
* If this Hyperlink is an external reference hyperlink,
* return the object for it.
*/
public XWPFHyperlink getHyperlink(XWPFDocument document) {
String id = getHyperlinkId();
if (id == null)
return null;
return document.getHyperlinkByID(id);
}
}
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
/**
* If this Hyperlink is an external reference hyperlink,
* return the object for it.
*/
public XWPFHyperlink getHyperlink(XWPFDocument document) {
String id = getHyperlinkId();
if(id == null)
return null;
return document.getHyperlinkByID(id);
}
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
/**
* If this Hyperlink is an external reference hyperlink,
* return the object for it.
*/
public XWPFHyperlink getHyperlink(XWPFDocument document) {
String id = getHyperlinkId();
if (id == null)
return null;
return document.getHyperlinkByID(id);
}
}
代码示例来源:origin: apache/tika
if (hyperlinkRun.getHyperlinkId() == null ||
!hyperlinkRun.getHyperlinkId().equals(lastHyperlinkId)) {
if (inHyperlink) {
inHyperlink = false;
lastHyperlinkId = hyperlinkRun.getHyperlinkId();
fmtg = closeStyleTags(xhtml, fmtg);
XWPFHyperlink link = hyperlinkRun.getHyperlink(document);
代码示例来源:origin: com.github.lafa.tikaNoExternal/tika-parsers
if (hyperlinkRun.getHyperlinkId() == null ||
!hyperlinkRun.getHyperlinkId().equals(lastHyperlinkId)) {
if (inHyperlink) {
inHyperlink = false;
lastHyperlinkId = hyperlinkRun.getHyperlinkId();
fmtg = closeStyleTags(xhtml, fmtg);
XWPFHyperlink link = hyperlinkRun.getHyperlink(document);
代码示例来源:origin: org.apache.tika/tika-parsers
if (hyperlinkRun.getHyperlinkId() == null ||
!hyperlinkRun.getHyperlinkId().equals(lastHyperlinkId)) {
if (inHyperlink) {
inHyperlink = false;
lastHyperlinkId = hyperlinkRun.getHyperlinkId();
fmtg = closeStyleTags(xhtml, fmtg);
XWPFHyperlink link = hyperlinkRun.getHyperlink(document);
内容来源于网络,如有侵权,请联系作者删除!