Bug 189813 After modify a wrong preview report, when preview in Web viewer it can not process the document file[1102]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/toc/TOCBuilder.java
{
			id = TOC_PREFIX;
		}
		id = id + "_" + parentNode.getChildren( ).size( );
		String formats = mergeHideFormats( parent, hiddenFormats);
		node.setNodeID( id );
		node.setBookmark( bookmark == null ? id : bookmark );
		node.setParent( parentNode );
		node.setHideFormats( formats );
		node.setIsGroupRoot( isGroupRoot );
		node.setTOCValue( tocValue );
		node.setElementId( elementId );
		parentNode.getChildren( ).add( node );
		TOCEntry entry = new TOCEntry( parent, parent.getRoot( ), node );
		entry.setHideFormats( formats );
		return entry;
	}
	public TOCEntry startEntry( TOCEntry parent, Object tocValue, String bookmark, long elementId )
	{
		return startEntry( parent, tocValue, bookmark, null, elementId );
	}
	public TOCEntry startDummyEntry( TOCEntry parent, String hiddenFormats )
	{
		if ( parent == null )
		{
			parent = rootEntry;
		}
		TOCEntry entry = new TOCEntry( parent, parent.getRoot( ), parent
				.getNode( ) );
		entry.setHideFormats( mergeHideFormats( parent, hiddenFormats ) );