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
* (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.parser.DesignParseState#getElement()
	 */
	public abstract DesignElement getElement( );
	private boolean checkContainer( DesignElement container, int slotID,
			DesignElement content )
	{
		ElementDefn containerDefn = (ElementDefn) container.getDefn( );
		
		
		
		assert containerDefn.isContainer( );
		if ( !StringUtil.isBlank( containmentPropName ) )
		{
			PropertyDefn propDefn = (PropertyDefn) containerDefn
					.getProperty( containmentPropName );
			assert propDefn != null;
			assert propDefn.canContain( content );
			
			
			
			if ( container.getExtendsElement( ) != null )
			{
				handler
						.getErrorHandler( )
						.semanticWarning(
								new ContentException(
										container,
										containmentPropName,