Skip to content

Hyperlink

清沐 edited this page Mar 8, 2020 · 2 revisions

Template

  1. Hyperlink
  • <td url="http://www.google.com" style="color:blue">Google</td>
  • <td><a href="http://www.google.com">google</a></td>
  1. Mail
  • <td email="mailto:[email protected]?subject=Hyperlinks" style="color:blue">mailing address</td>
  • <td style="color:blue"><a href="mailto:[email protected]?subject=Hyperlinks">email address</a></td>

Bean

@ExcelColumn(linkType=LinkType.URL)
String url;

For example, if the URL is separated by ->, the first place will be used as the hyperlink to display the content, and the second place will be used as the actual hyperlink, for example, Google -> http://www.google.com

Clone this wiki locally