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/writer/ModuleWriter.java
&& prop.isList( );
		List list = (List) obj.getLocalProperty( getModule( ), propName );
		if ( list == null || list.size( ) == 0 )
			return;
		writer.startElement( DesignSchemaConstants.LIST_PROPERTY_TAG );
		writer.attribute( DesignSchemaConstants.NAME_ATTRIB, propName );
		PropertyDefn propDef = (ElementPropertyDefn) obj.getDefn( )
				.getProperty( propName );
		PropertyDefn memberDefn = (PropertyDefn) propDef.getStructDefn( )
				.getMember( memberName );
		Iterator iter = list.iterator( );
		while ( iter.hasNext( ) )
		{
			IStructure struct = (IStructure) iter.next( );
			propertyWithoutName( struct, memberDefn.getName( ) );
		}
		writer.endElement( );
	}
	/**
	 * Writes the structure list, each of which has only one member.
	 * 
	 * @param obj
	 *            the design element
	 * @param propName
	 *            the name of the list property
	 */
	protected void writeStructure( DesignElement obj, String propName )
	{
		PropertyDefn prop = (ElementPropertyDefn) obj.getDefn( ).getProperty(
				propName );