Bug 195951 Focus for PNG does not work [13]
Description: Focus for PNG does not work. Build number: 2.2.0.v20070710-1223 Steps to reproduce: 1. New a Chart, set Output Format as PNG, in "Format Chart" tab, add interactivity for Value Series, Event: Focus, Action: Hyperlink or invoke script. 2. Preview, focus in Value Series. Expected result: Interactivity works. Actual result: It does not work. Error log: N/A
chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/util/TriggerSupportMatrixTest.java
{
			InputStream is = TriggerSupportMatrixTest.class.getClassLoader( )
					.getResourceAsStream( HTML_PATH );
			int c = 0;
			while ( ( c = is.read( ) ) != -1 )
			{
				sb.append( (char) c );
			}
			is.close( );
		}
		catch ( IOException e )
		{
			e.printStackTrace( );
		}
		return sb.toString( );
	}
	private String getMatrixGeneratedString( )
	{
		StringBuffer sb = new StringBuffer( );
		
		sb.append( "<table border=\"1\">" + SPLITOR ); 
		sb.append( " <tr>" + SPLITOR ); 
		printTd( sb, "&nbsp;" ); 
		for ( int i = 0; i < ACTION_TYPES.length; i++ )
		{
			printTd( sb, ACTION_TYPES[i].getLiteral( ) );
		}
		sb.append( " </tr>" + SPLITOR ); 
		
		printTriggerCondition( sb, TriggerCondition.ONCLICK_LITERAL );