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/PropertyHandle.java
}
	/**
	 * Determines if the given slot can contain the <code>content</code>.
	 * 
	 * @param content
	 *            the design element handle to check
	 * 
	 * @return <code>true</code> if the slot with the given
	 *         <code>slotId</code> can contain the <code>content</code>,
	 *         otherwise <code>false</code>.
	 */
	public boolean canContain( DesignElementHandle content )
	{
		return getElementHandle( ).canContain( propDefn.getName( ), content );
	}
	/**
	 * Gets the content at the given position.
	 * 
	 * @param posn
	 *            the index where the content resides
	 * @return
	 */
	public DesignElementHandle getContent( int posn )
	{
		Object value = get( posn );
		if ( value instanceof DesignElementHandle )
			return (DesignElementHandle) value;
		return null;
	}
}