Bug 119124 Something wrong with page number
Using latest engine api regenreate report. The last page of a 59 pages report is empty. The content of any 1 page report is always empty.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentWriter.java
archive.initialize();
		} catch (IOException e) {
			
			e.printStackTrace();
		}
	}
	public IDocArchiveWriter getArchive( )
	{
		return this.archive;
	}
	public void close()
	{
		try 
		{
			archive.finish();
		} 
		catch (IOException e) 
		{
			
			e.printStackTrace();
		}
	}
	
	public String getReportDocumentName( )
	{
		return archive.getName( );
	}
	/**
	 * save the TOC stream into the report document.
	 *