if ( locale == null ) locale = Locale.getDefault( );
	public String findTocByName( String docName, String name,			InputOptions options )	{		IReportDocument doc = ReportEngineService.getInstance( )				.openReportDocument( getReportDesignName( options ), docName,						getModuleOptions( options ) );		String tocId = null;		if ( doc != null )		{			Locale locale = Locale.getDefault( );			if ( options != null )				locale = (Locale) options.getOption( InputOptions.OPT_LOCALE );			ITOCTree tocTree = doc.getTOCTree(					DesignChoiceConstants.FORMAT_TYPE_VIEWER, ULocale							.forLocale( locale ) );			assert tocTree != null;			List tocList = tocTree.findTOCByValue( name );			if ( tocList != null && tocList.size( ) > 0 )				return ( (TOCNode) tocList.get( 0 ) ).getBookmark( );			doc.close( );		}		return tocId;	}