Bug 205709 Translation table is missed when report design is flattened
It happens when a report design with a localization property file and some library (otherwise it's not flattened!) is executed. Such report document has no transaltion table and then can not be localized. The problem is in org.eclipse.birt.report.model.util.ReportDesignSerializer#visitReportDesign which does not copy the translation table from ReportDesignSerializer#sourceDesign to ReportDesignSerializer#targetDesign.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ReportDesignSerializer.java
DesignElement newRefEelement = getCache( refElement );
				if ( newRefEelement == null )
				{
					newRefEelement = visitExternalElement( refElement );
				}
				values.add( new ElementRefValue( null, newRefEelement ) );
			}
			else
				newElement.setProperty( propDefn, item );
		}
		newElement.setProperty( propDefn, values );
	}
	/**
	 * Localize values if the property type is structure reference value.
	 * 
	 * @param newElement
	 *            the target element
	 * @param propDefn
	 *            the property definition
	 * @param value
	 *            the original property value
	 */
	private void handleStructureRefValue( DesignElement newElement,
			PropertyDefn propDefn, StructRefValue value )
	{
		if ( !isLocalImage( ( value ).getQualifiedReference( ) ) )
		{
			EmbeddedImage targetEmbeddedImage = (EmbeddedImage) value
					.getTargetStructure( );
			EmbeddedImage newEmbeddedIamge = localizeExternalEmbeddedImage( targetEmbeddedImage );