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
SlotHandle slotHandle = designHandle.getBody( );
		assertEquals( 1, slotHandle.getCount( ) );
		slotHandle = designHandle.getParameters( );
		assertEquals( 3, slotHandle.getCount( ) );
		List list = designHandle.getFlattenParameters( );
		assertEquals( 4, list.size( ) );
		slotHandle = designHandle.getComponents( );
		assertEquals( 0, slotHandle.getCount( ) );
		slotHandle = designHandle.getDataSets( );
		assertEquals( 1, slotHandle.getCount( ) );
		slotHandle = designHandle.getDataSources( );
		assertEquals( 1, slotHandle.getCount( ) );
		slotHandle = designHandle.getMasterPages( );
		assertEquals( 1, slotHandle.getCount( ) );
		slotHandle = designHandle.getScratchPad( );
		assertEquals( 0, slotHandle.getCount( ) );
		slotHandle = designHandle.getStyles( );
		assertEquals( 0, slotHandle.getCount( ) );
		
		PropertyHandle colorPalette = designHandle
				.getPropertyHandle( ReportDesign.COLOR_PALETTE_PROP );
		assertNull( colorPalette.getListValue( ) );
	}
	/**
	 * Tests cases for reading and setting properties of report design.
	 * 
	 * @throws Exception
	 *             if any exception.
	 */
	public void testReportDesignProperties( ) throws Exception