Bug 132508 Mouse Click->URL Redirect does not work on Legend in PDF
Descrition: Add an interactivity action on the chart legend (mouse click, URL redirect), when preview in pdf. It does not take effect. Steps to reproduce: 1.Create a chart, bind dataset. 2.In the "Format Chart" tab of chart builder, add an interactivity to the legend. Type: Mouse Click, Action: URL Redirect. 3.Preview in PDF, it could not take effect.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFImageLM.java
import org.eclipse.birt.report.engine.executor.IReportItemExecutor;
import org.eclipse.birt.report.engine.ir.ExtendedItemDesign;
import org.eclipse.birt.report.engine.layout.ILineStackingLayoutManager;
import org.eclipse.birt.report.engine.layout.area.impl.AreaFactory;
import org.eclipse.birt.report.engine.layout.area.impl.ContainerArea;
import org.eclipse.birt.report.engine.layout.area.impl.ImageArea;
import org.eclipse.birt.report.model.api.IResourceLocator;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import com.lowagie.text.BadElementException;
import com.lowagie.text.Image;
/**
 * 
 * This layout mananger implements formatting and locating of image content.
 * <p>
 * Image is an atomic conponent, so it can not be split. if the size exceeds the
 * boundry, user agent should overflow or clip it.
 * <p>
 * if layout manager can not retrieve the instrinsic dimension of image, layout
 * mangager set the instrinsic dimension to the default value (1,1). logger will
 * log this error, but this can not interrupt the layout process.
 * <p>
 * this layout manager genrate image area which perhaps has border, render
 * should take reponsibility to draw the image and its border
 * <p>
 * the dimension algorithm shows as following table:
 * <p>
 * <table>
 * <tr>
 * <td>scale</td>
 * <td>height</td>