Rearrange rectangular shapes from straight to curved line.

I need to arrange rectangles on a straight line (red) to a curved line (green) without distorting the size of the rectangles nor the distance between them. I did this by arranging each individual rectangle separately which takes forever. Is there an quicker solution to this major problem of mine?CorelDraw Community Problem.cdr