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/api/ReportDesignHandle.java
return resultList;
	}
	/**
	 * Gets report items which holds a template definition, that is, report item
	 * in body slot and page slot. Notice, nested template items is excluded.
	 * 
	 * @return report items which holds a template definition, nested template
	 *         items is excluded.
	 */
	public List getReportItemsBasedonTempalates( )
	{
		ArrayList rtnList = new ArrayList( );
		ArrayList tempList = new ArrayList( );
		List contents = new ContainerContext( getElement( ), BODY_SLOT )
				.getContents( module );
		contents.addAll( new ContainerContext( getElement( ), PAGE_SLOT )
				.getContents( module ) );
		findTemplateItemIn( contents.iterator( ), tempList );
		for ( Iterator iter = tempList.iterator( ); iter.hasNext( ); )
		{
			rtnList.add( ( (DesignElement) iter.next( ) ).getHandle( module ) );
		}
		return Collections.unmodifiableList( rtnList );
	}
	/**
	 * Auxilary method, help to find design element which holds and template
	 * definition.
	 * 
	 * @param contents
	 *            the contents to search.