Issue moved from:
https://sourceforge.net/tracker/index.php?func=detail&aid=1145487&group_id=36382&atid=416705
Consult original issue for any attachments.
[ 1145487 ] JRXlsExporter supporting hyperlinks
Submitted By: Giulio Toffoli - gt78SourceForge.net Subscriber
Date Submitted: 2005-02-21 06:54
Last Updated By: gt78 - Attachment added
Date Last Updated: 2005-02-21 06:54
Number of Comments: 0
Number of Attachments: 1
Assigned To: Nobody/Anonymous
Priority: 5
Summary:
JRXlsExporter supporting hyperlinks
Hi Teodor,
adding this lines on the exportText method it's possible support hyperlink references.
Giulio
Add this to line 944
switch(textElement.getHyperlinkType
())
{
case
JRHyperlink.HYPERLINK_TYPE_REFERENCE :
{
if
(textElement.getHyperlinkReference() != null)
{
cell.setCellFormula("HYPERLINK("" +
textElement.getHyperlinkReference() +"","" +
styledText.getText() + "")");
;
}
break;
}
case
JRHyperlink.HYPERLINK_TYPE_NONE :
default :
{
break;
}
}
No follow-up comments have been posted.
Attached Files:
Name
JRXlsExporter.java
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now