isEmbeddable = IViewHTMLOptions.HTML_NOCSS .equalsIgnoreCase( services.getOption( IViewHTMLOptions.HTML_TYPE ) );
targetFile = services.getOption( IViewOptions.TARGET_FILENAME ); if ( targetFile == null ) { targetFile = REPORT_FILE; }  isEmbeddable = IViewHTMLOptions.HTML_NOCSS.equalsIgnoreCase( services .getOption( IViewHTMLOptions.HTML_TYPE ) );
	public void initialize( IEmitterServices services )	{		this.services = services;		IRepository repository = services.getRepository( );		saveImgFile = ( services.getEngineMode( ) == IEmitterServices.ENGINE_STANDALONE_MODE );		isEmbeddable = IViewHTMLOptions.HTML_NOCSS				.equalsIgnoreCase( services.getOption( IViewHTMLOptions.HTML_TYPE ) );		writer = new HTMLWriter( );		resourceManager = new ResourceManager( repository );		if ( services.getEngineMode( ) == IEmitterServices.ENGINE_EMBEDDED_MODE )			hyperlinkProcessor = new EmbeddedHyperlinkProcessor( services					.getBaseURL( ) );		else if ( services.getEngineMode( ) == IEmitterServices.ENGINE_STANDALONE_MODE )			hyperlinkProcessor = new DefaultHyperlinkProcessor( );		imageEmitter = new HTMLImageEmitter( this, isEmbeddable );		pageSetupEmitter = new HTMLPageSetupEmitter( this, isEmbeddable );		tableEmitter = new HTMLTableEmitter( this, isEmbeddable );		textEmitter = new HTMLTextEmitter( this, isEmbeddable );		containerEmitter = new HTMLContainerEmitter( this, isEmbeddable );	}