I have a xml file with several branches (newjob), each newjob instance have a several branches too (inserttemplate).
I should print so many inserttemplates as much as the sheet allows, each inserttemplate have text with several CRLF, them create a new sheet to the rest of inserttemplate or part of inserttemplate text.
First I tried insert inserttemplate's text into a text object, but it doesn't show window's crlf correctly.
I made a function that show the inserttemplate's text print correctly, but I can't made new pages, and the show() and crlf() print out of sheet.
So now, I should control how many lines show()+crlf() shows in each page, them to generate the news pages maintaining the inserttemplate coherence.
Any suggestion?