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
* @see org.eclipse.birt.report.model.util.AbstractParseState#startElement(java.lang.String)
	 */
	public AbstractParseState startElement( String tagName )
	{
		ElementDefn defn = (ElementDefn) getElement( ).getDefn( );
		if ( DesignSchemaConstants.OVERRIDDEN_VALUES_TAG
				.equalsIgnoreCase( tagName ) )
		{
			if ( defn.getSlotCount( ) > 0 && defn.canExtend( ) )
			{
				return new OverriddenValuesState(
						(ModuleParserHandler) getHandler( ), getElement( ) );
			}
		}
		return super.startElement( tagName );
	}
	public void end( ) throws SAXException
	{
		super.end( );
		
		if ( getElement( ).getExtendsElement( ) != null
				&& getElement( ).getDefn( ).isContainer( ) )
		{
			addTheVirualElements2Map( getElement( ) );
			if ( !handler.unhandleIDElements.contains( getElement( ) ) )
				handler.unhandleIDElements.add( getElement( ) );
		}
	}
}