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
{
	String fileName = "TableItemParseTest.xml"; 
	String outFileName = "TableItemParseTest_out.xml"; 
	String goldenFileName = "TableItemParseTest_golden.xml"; 
	String semanticCheckFileName = "TableItemParseTest_1.xml"; 
	/*
	 * @see TestCase#setUp()
	 */
	protected void setUp( ) throws Exception
	{
		super.setUp( );
	}
	/**
	 * Test to read hide rules.
	 * 
	 * @param handle
	 *            the table row handle
	 * 
	 * @throws Exception
	 *             if open the design file with errors.
	 */
	public void testReadVisibilityRules( RowHandle handle ) throws Exception
	{
		Iterator rules = handle.visibilityRulesIterator( );
		assertNotNull( rules );
		
		HideRuleHandle hideHandle = (HideRuleHandle) rules.next( );
		assertNotNull( hideHandle );
		assertEquals( DesignChoiceConstants.FORMAT_TYPE_PDF, hideHandle
				.getFormat( ) );