Bug 160176 Create design by a template
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
*/
	public Library openLibrary( URL systemId, InputStream is,
			ModuleOption options ) throws DesignFileException
	{
		if ( is == null )
			throw new IllegalArgumentException(
					"The input stream must not be null" ); 
		Library library = LibraryReader.getInstance( ).read( this, systemId,
				is, options );
		libraries.add( library );
		return library;
	}
	/**
	 * Creates a new design based on a template. The template name can be null
	 * if no template is desired.
	 * 
	 * @param templateName
	 *            The name of the template for the design, or null if no
	 *            template is needed.
	 * @return A handle to the report design.
	 */
	public ReportDesign createDesign( String templateName )
	{
		ReportDesign design = new ReportDesign( this );
		design.setValid( true );
		designs.add( design );
		return design;
	}
	/**
	 * Creates a new design not based on a template.