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
}
	/**
	 * Gets all bookmarks defined in this module.
	 * 
	 * @return All bookmarks defined in this module.
	 */
	public List getAllBookmarks( )
	{
		
		
		return ( (ReportDesign) module ).collectPropValues( BODY_SLOT,
				IReportItemModel.BOOKMARK_PROP );
	}
	/**
	 * Gets all TOCs defined in this module.
	 * 
	 * @return All TOCs defined in this module.
	 */
	public List getAllTocs( )
	{
		List tocs = ( (ReportDesign) module ).collectPropValues( BODY_SLOT,
				IReportItemModel.TOC_PROP );
		
		List resultList = new ArrayList( );
		Iterator iterator = tocs.iterator( );
		while ( iterator.hasNext( ) )
		{
			TOC toc = (TOC) iterator.next( );
			resultList.add( toc.getProperty( module, TOC.TOC_EXPRESSION ) );
		}