Bug 136807 [Regression]Preview embedded image with web view will effect other way to preview
Details: [Regression]Preview embedded image with web view will effect other way to preview Step: 1.New a library and insert a embedded image. 2.New a report design and use the library. 3.Drop the image form library into layout. 4.Preview with HTML/PDF. 5.Preview with web view. 6.Preview with HTML/PDF. Actual result: In step 4, image is previewed. In step 5, image can't be previewed. In step 6, image can't be previewed. It means that, after I use web view to preview the embedded image from library, I can't preview this image any ways.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/ImageContent.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.content.impl;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.eclipse.birt.core.util.IOUtil;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IContentVisitor;
import org.eclipse.birt.report.engine.content.IImageContent;
import org.eclipse.birt.report.engine.ir.Expression;
import org.eclipse.birt.report.engine.ir.ImageItemDesign;
import org.eclipse.birt.report.engine.ir.Report;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.elements.structures.EmbeddedImage;
public class ImageContent extends AbstractContent implements IImageContent
{
	protected String altText;
	protected String altTextKey;
	protected String helpTextKey;
	protected String extension;