Hi all, Is there any style property for a table cell in document templates to wrap very long words? Have a look in how it looks in a PDF:
The document templates allow you to use CSS
something like this should work:
Just add it in the properties pane
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:
Enable Render XHTML on the text object:
Wrap the text you want to display ($YourTextString) with the following:
Since you enabled XHTML rendering on your text, the html code will be evaluated… strangely using the same style templates on the cell/text won’t do the same for some reason…
The width will limit the text to the allowed space (this number you’ll have to tweak for your own template).
overflow-hidden will stop the text from overflowing in another line
white-space:nowrap will ensure your text will be displayed in one single line