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/src/org/eclipse/birt/report/model/parser/ReportElementState.java
for ( int i = 0; i < highlightRules.size( ); i++ )
				{
					HighlightRule highlightRule = (HighlightRule) highlightRules
							.get( i );
					highlightRule.setTestExpression( (String) handler.tempValue
							.get( IStyleModel.HIGHLIGHT_RULES_PROP ) );
				}
				handler.tempValue.remove( IStyleModel.HIGHLIGHT_RULES_PROP );
			}
		}
		
		if ( handler.tempValue.get( IStyleModel.MAP_RULES_PROP ) != null )
		{
			List mapRules = element.getListProperty( handler.getModule( ),
					IStyleModel.MAP_RULES_PROP );
			if ( mapRules != null )
			{
				for ( int i = 0; i < mapRules.size( ); i++ )
				{
					MapRule mapRule = (MapRule) mapRules.get( i );
					mapRule.setTestExpression( (String) handler.tempValue
							.get( IStyleModel.MAP_RULES_PROP ) );
				}
				handler.tempValue.remove( IStyleModel.MAP_RULES_PROP );
			}
		}
	}
	/*
	 * (non-Javadoc)
	 *