Bug 160641 Image from Fragments can not be preview
Details: Image from Fragments can not be preview Step: 1.New an image and select "Image file in BIRT resource folder" 2.Select the image that in Fragments. 3.Preview Actual result: The image can not be preview Excepted result: The image can be preview
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
ReportDesignHandle designHandle = report.getDesign( ).getReportDesign( );
				String title = designHandle.getStringProperty(  IModuleModel.TITLE_PROP );
				if ( null != title )
					doc.addTitle( title );
			}
			catch( DocumentException de )
			{
				logger.log( Level.SEVERE, de.getMessage( ), de );
			}
		}
		/**
		 * Closes the document.
		 * @param rc 					the report content.
		 */
		public void end(IReportContent rc)
		{
			
			TOCHandler tocHandler = new TOCHandler( rc.getTOCTree( "pdf",
					ULocale.getDefault( ) ).getRoot( ) );
			TOCNode tocRoot = tocHandler.getTOCRoot();
			if (tocRoot == null || tocRoot.getChildren().isEmpty())
			{
				writer.setViewerPreferences(PdfWriter.PageModeUseNone);
			}
			else
			{
				writer.setViewerPreferences(PdfWriter.PageModeUseOutlines);
				PdfOutline root = cb.getRootOutline();
				tocHandler.createTOC(tocRoot, root);
			}