Bug 186805 Set Adobe PDF File Property "PDF Producer" to BIRT
In order to promote BIRT in the broader community, the PDF emitter should set the "PDF Producer" property to: BIRT Report Engine using iText Ideally, we should include the BIRT version and iText version: BIRT Report Engine x.y.z using iText a.b This information is shown in the Adobe PDF Properties dialog as "PDF Producer". See attched screenshot.
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFPageDevice.java
doc = new Document();
		PDFPage.reset( );
		try
		{
			writer = PdfWriter.getInstance( doc, new BufferedOutputStream(
					output ) );
			if ( null != title )
				doc.addTitle( title );
		}
		catch( DocumentException de )
		{
			logger.log( Level.SEVERE, de.getMessage( ), de );
		}
	}
	
	public void close( ) throws Exception
	{
		writer.setPageEmpty( false );
		if(doc.isOpen( ))
		{
			doc.close();
		}
	}
	public IPage newPage( int width, int height, Color backgroundColor )
	{
		currentPage = new PDFPage( width, height, doc, writer );
		currentPage.drawBackgroundColor( backgroundColor, 0, 0, width, height );
		return currentPage;
	}