HPCC-9822 Docs:Add linebreak logic

Fix HPCC-9822 Docs:Add linebreak logic
Added linebreak logic to fo(pdf) generation
html generation not automated yet.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>