Bug 191155 Cross table that exoport to library is invalid
Description: Cross table that exoport to library is invalid Step: 1.New a report, new a datasource, dataset and date cute. 2.Insert a cross table and binding the data cute. 3.Drop the dimensions and measures into cross table. 4.Export the report to library 5.New another report and use the library 6.Drop the cross table from library into layout 7.Preview Actual result: The cross table is invalid and pop up the error
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/ElementExporter.java
* @param source
	 *            handle of the element to duplicate
	 * @param destination
	 *            handle of of the destination element
	 * @throws SemanticException
	 *             if error encountered when adding contents into slot.
	 */
	private void duplicateSlots( DesignElementHandle source,
			DesignElementHandle destination ) throws SemanticException
	{
		int slotCount = source.getDefn( ).getSlotCount( );
		for ( int i = 0; i < slotCount; i++ )
		{
			SlotHandle sourceSlotHandle = source.getSlot( i );
			SlotHandle destinationSlotHandle = destination.getSlot( i );
			Iterator iter = sourceSlotHandle.iterator( );
			while ( iter.hasNext( ) )
			{
				DesignElementHandle contentHandle = (DesignElementHandle) iter
						.next( );
				DesignElementHandle newContentHandle = duplicateElement(
						contentHandle, true );
				addToSlot( destinationSlotHandle, newContentHandle );
			}
		}
		Iterator props = source.getElement( ).getPropertyDefns( ).iterator( );
		while ( props.hasNext( ) )
		{
			IPropertyDefn propDefn = (IPropertyDefn) props.next( );
			if ( propDefn.getTypeCode( ) != IPropertyType.ELEMENT_TYPE )