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
if ( ( content instanceof ExtendedItem && handler.versionNumber < VersionUtil.VERSION_3_2_8 ) )
				return;
			handler.getErrorHandler( ).semanticError(
					new NameException( content, name,
							NameException.DESIGN_EXCEPTION_NAME_REQUIRED ) );
			return;
		}
		int id = contentDefn.getNameSpaceID( );
		if ( name != null
				&& id != MetaDataConstants.NO_NAME_SPACE
				&& new ContainerContext( container, slotID )
						.isManagedByNameSpace( ) )
		{
			NameSpace ns = module.getNameSpace( id );
			if ( module.getNameSpace( id ).contains( name ) )
			{
				handler.getErrorHandler( ).semanticError(
						new NameException( content, name,
								NameException.DESIGN_EXCEPTION_DUPLICATE ) );
				return;
			}
			DesignElement parent = content.getExtendsElement( );
			if ( id == Module.ELEMENT_NAME_SPACE && parent != null )
			{
				if ( parent.getContainerInfo( ).getSlotID( ) != IModuleModel.COMPONENT_SLOT )
				
				
				{
					handler
							.getErrorHandler( )