I need a way to break long lines that are currently being done arbitrarily by a prepress operator in Quark. Currently our prepress gets a data file and flows it into a Quark doc running Xdata. Afterwards they view the compiled Quark doc and look for long lines and visually break them with soft returns.
My job it to port this work over to XMPie. I've already laid-out the proper text style in InDesign, started a uPlan but I'm stuck on how to beak a line in QLingo. I could just let the text flow and afterwards hack the resulting PDF file to fix poor line breaks (client fussy on style) but I was hoping for a way to break the lines using QLingo.
I would be grateful if someone could tell me how to look at a line, check number of words or letters, if longer than 'x' then break line at 'y'. I do need to turn hyphenations off in XMPie if it overrides InDesign. I already did so in InDesign. This code is way beyond my experience level.
Thank you in advance if you can help me with this,
Ed