import and print data to exam form in calc

i mad AMC exam form (optical mark recognition)like this:
image description
and i made calc file to shadded students numbers and print students name on the forms (in attachment file).
the problem: i don’t know how i can print the calc file on all forms automaticaly, now, the calc file can shadded and print the name for 1st student (only).

(Inserted by @Lupp: See also: Print shadded on exam form (View topic) • Apache OpenOffice Community Forum)