*
* @param file the meta file.
*/
public void replay(final WmfFile file)
{
final WmfObject object = file.getObject(objectId);
if (object == null)
{
throw new IllegalStateException("No Such Object defined: " + objectId);
}
switch (object.getType())
{
case WmfObject.OBJ_REGION:
file.getCurrentState().setLogRegion((MfLogRegion) object);
break;
default: