Bug 163904 [Regression]Toc content should consistent with the layout content in PDF[0002]
Build number:20061109 RCP Steps to reproduce: 1.open attched report 2.preview in PDF Expected result: Toc content should be consistent with layout content Actual result: Toc content isn't consistent with layout content
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
if( output == null )
			{
				Object value = services.getOption( RenderOptionBase.OUTPUT_STREAM );
				if( value != null && value instanceof OutputStream )
				{
					output = ( OutputStream ) value;
				}
				
				
				
				else
				{
					try
					{
						file = new File( REPORT_FILE );
						output = new FileOutputStream( file );
					}
					catch ( FileNotFoundException e )
					{
						logger.log(Level.SEVERE, e.getMessage( ), e );
					}
				}
			}
		}
		
		/**
		 * Creates a document and create a PdfWriter
		 * @param rc 					the report content.
		 */