Bug 160176 Create design by a template
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignSession.java
* Opens a library given a stream to the library and the the file name of
	 * the library.
	 * 
	 * @param fileName
	 *            The name of the file to open. If null, the library will be
	 *            treated as a new library, and will be saved to a different
	 *            file. If not <code>null</code>, this name must include the
	 *            file name with the filename extension.
	 * @param is
	 *            stream to read the design
	 * @param options
	 *            the options set for this module
	 * @return the opened report design
	 * @throws DesignFileException
	 *             If the file is not found, or the file contains fatal errors.
	 */
	public Library openLibrary( String fileName, InputStream is,
			ModuleOption options ) throws DesignFileException
	{
		if ( is == null )
			throw new IllegalArgumentException(
					"The input stream must not be null" ); 
		Library design = LibraryReader.getInstance( ).read( this, fileName, is,
				options );
		designs.add( design );
		return design;
	}
	/**
	 * Opens a library with the given library file name.
	 *