protected boolean handleHyperLink(IArea area, HSSFCell cell) {
IContent content = area.getContent();
if (content != null) {
IHyperlinkAction hlAction = content.getHyperlinkAction();
if (hlAction != null) {
try {
IReportRunnable runnable = services.getReportRunnable();
String systemId = runnable == null ? null
: runnable.getReportName();
Action act = new Action(systemId, hlAction);
String link = null;
String tooltip = EngineUtil.getActionTooltip(hlAction);
Object ac = services.getOption(RenderOption.ACTION_HANDLER);
if (ac instanceof IHTMLActionHandler) {
link = ((IHTMLActionHandler) ac).getURL(act,
services.getReportContext());
} else {
link = hlAction.getHyperlink();
}
if (link != null) {
HSSFHyperlink hssflink = new HSSFHyperlink(HSSFHyperlink.LINK_URL);
hssflink.setAddress(link);