The document templates allow you to use CSS
something like this should work:
overflow-wrap: break-word;
Just add it in the properties pane
[EDIT]
Based on this previous forumpost, it seems this property does not work for PDF. I guess as a workaround you could print word or HTML and convert it to PDF.
It took me a few minutes to get it right, but you might want to try this trick: