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/parser/TableItemParseTest.java
assertEquals( "filter expression", filterHandle.getExpr( ) ); 
		assertEquals( "value1 expression", filterHandle.getValue1( ) ); 
		assertEquals( "value2 expression", filterHandle.getValue2( ) ); 
		SlotHandle groupHeaderSlot = group.getHeader( );
		assertEquals( 2, groupHeaderSlot.getCount( ) );
		SlotHandle groupFooterSlot = group.getFooter( );
		assertEquals( 1, groupFooterSlot.getCount( ) );
		
		
		
		
		
		
		
		SlotHandle footerSlot = table.getFooter( );
		assertNotNull( footerSlot );
		assertEquals( 1, footerSlot.getCount( ) );
		
		table = (TableHandle) designHandle.findElement( "componentsTable" ); 
		assertNotNull( table );
		
		table = (TableHandle) designHandle.findElement( "scratchpadTable" ); 
		assertNotNull( table );
		
		table = (TableHandle) designHandle.findElement( "freeformTable" ); 
		assertNotNull( table );
		
		table = (TableHandle) designHandle.findElement( "listHeaderTable" ); 
		assertNotNull( table );