Returning values from subreport

There was no easy way to return to a master report values that were calculated inside a subreport. A new tag <returnValue> is available at subreport level and enables users to map master report variables to subreport variables and also specify the way the returned value should be handled (used in a calculation or just copied).

The supplied demo/samples/subreport sample show how this new feature can be used.