SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .importCssStyles( cssHandle, styleList );
if ( selection != null && selection instanceof DesignElementHandle ) { DesignElementHandle element = (DesignElementHandle) selection; if ( selection instanceof ThemeHandle ) { LibraryHandle libraryHandle = (LibraryHandle) ( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) ); libraryHandle.importCssStyles( cssHandle, styleList, element.getName( ) ); } else if ( element.getContainer( ) instanceof ThemeHandle ) { LibraryHandle libraryHandle = (LibraryHandle) ( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) ); libraryHandle.importCssStyles( cssHandle, styleList, element.getContainer( ).getName( ) ); } else if ( element instanceof StyleHandle ) { SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .importCssStyles( cssHandle, styleList ); } } else {  if ( SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) instanceof LibraryHandle ) { LibraryHandle libraryHandle = (LibraryHandle) ( SessionHandleAdapter.getInstance( ).getReportDesignHandle( ) ); libraryHandle.importCssStyles( cssHandle, styleList ); } else if ( SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) instanceof ReportDesignHandle ) { SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .importCssStyles( cssHandle, styleList ); } }
	public boolean performFinish( )	{		CssStyleSheetHandle cssHandle = stylePage.getCssHandle( );		if ( cssHandle != null )		{			List styleList = stylePage.getStyleList( );			SessionHandleAdapter.getInstance( )					.getReportDesignHandle( )					.importCssStyles( cssHandle, styleList );		}		return true;	}