Bug 180089 BIRT model - TOC predefined styles
In ROM we need to support predefined styles for TOC too. This will allow user to easily create a TOC style, by creating one of two styles. Suggestion i have is - TOC ( Applies to all TOC nodes ) - TOC-level1 ( If defined applies to first level toc nodes ) - TOC-level2 ........... - TOC-level5
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportDesignHandleTest.java
* @throws Exception
	 *             if any exception
	 */
	public void testConfigVars( ) throws Exception
	{
		PropertyHandle configVars = designHandle
				.getPropertyHandle( ReportDesign.CONFIG_VARS_PROP );
		List list = configVars.getListValue( );
		assertEquals( 2, list.size( ) );
		ConfigVariable var = designHandle.findConfigVariable( "var1" ); 
		assertEquals( "mumble.jpg", var.getValue( ) ); 
		designHandle.dropConfigVariable( "var2" ); 
		list = configVars.getListValue( );
		assertEquals( 1, list.size( ) );
		ConfigVariable newvar = new ConfigVariable( );
		newvar.setName( "newvar2" ); 
		newvar.setValue( "new value 2" ); 
		designHandle.addConfigVariable( newvar );
		newvar = new ConfigVariable( );
		newvar.setName( "new var1" ); 
		newvar.setValue( "new value 1" ); 
		designHandle.replaceConfigVariable( var, newvar );
		list = configVars.getListValue( );
		assertEquals( 2, list.size( ) );
		designHandle.dropConfigVariable( "newvar2" ); 
		designHandle.dropConfigVariable( "new var1" ); 
		configVars.setValue( null );
		assertNull( configVars.getValue( ) );
		ConfigVariable structure3 = StructureFactory.createConfigVar( );
		structure3.setName( "myvar" );