added repeat for to textopdfv12