Bug 173037 How to get drill-through "action/targetFileType" property at runtime?
My report design contains drill-through hyperlinks to another report design or particular report document. The link target document type is represented by action/targetFileType property in the design XML file, for example: <structure name="action"> <property name="reportName">cust_orders_payments.rptdocument</property> <property name="targetFileType">report-document</property> ... </structure> At runtime, I receive IAction object, for example in a custom IHTMLActionHandler implementation, but it has no targetFileType property. Is it possible to obtain it somehow or is it a bug?
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/content/ReportContentReaderAndWriterTest.java
import org.eclipse.birt.report.engine.content.impl.TableBandContent;
import org.eclipse.birt.report.engine.content.impl.TableContent;
import org.eclipse.birt.report.engine.content.impl.TextContent;
import org.eclipse.birt.report.engine.ir.DimensionType;
/**
 * 
 */
public class ReportContentReaderAndWriterTest extends EngineCase
{
	protected final int VERSION_1 = 1;
	
	protected ReportContent reportContent = new ReportContent( );
	protected CellContent createCellContent( )
	{
		CellContent content = new CellContent( reportContent );
		content.setName( "cellTest" );
		content.setWidth( new DimensionType( 100, "100" ) );
		content.setHeight( new DimensionType( "100" ) );
		ActionContent hyperlink = new ActionContent( );
		hyperlink.setHyperlink( "link", "target" );
		Map attr = new HashMap( );
		attr.put( "test", "1" );
		hyperlink.setDrillThrough( "bookmartTest", true, "reportTest", attr,
				attr, "target", "html" );
		content.setHyperlinkAction( hyperlink );
		/*
		 * StyleDeclaration inlineStyle = new StyleDeclaration();
		 * inlineStyle.setCssText( "inlineStyleTest" ); content.setInlineStyle(
		 * inlineStyle );
		 */