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/ModuleHandle.java
* @param sourceIndex
	 *            source position. The range is
	 *            <code>sourceIndex &gt;= 0 && sourceIndex &lt; list.size()</code>
	 * @param destIndex
	 *            destination position.The range is
	 *            <code> destIndex &gt;= 0 && destIndex &lt; list.size()</code>
	 * @throws SemanticException
	 */
	public void shiftScriptLibs( int sourceIndex, int destIndex )
			throws SemanticException
	{
		ElementPropertyDefn propDefn = module.getPropertyDefn( SCRIPTLIBS_PROP );
		ComplexPropertyCommand cmd = new ComplexPropertyCommand( getModule( ),
				getElement( ) );
		cmd.moveItem( new CachedMemberRef( propDefn ), sourceIndex, destIndex );
	}
	/**
	 * Add script lib
	 * 
	 * @param scriptLib
	 *            script lib
	 * @throws SemanticException
	 */
	public void addScriptLib( ScriptLib scriptLib ) throws SemanticException
	{
		ElementPropertyDefn propDefn = module.getPropertyDefn( SCRIPTLIBS_PROP );
		ComplexPropertyCommand cmd = new ComplexPropertyCommand( getModule( ),
				getElement( ) );
		cmd.addItem( new CachedMemberRef( propDefn ), scriptLib );
	}