Word-Wrap not allowed in document template

1
We're using the document template to export a document in pdf. Because one of the attributes is a very long barcode, it is printed as one long row of characters on the pdf. So I need to wrap the barcode, but it doesn't work with css. I've tried word-wrap:break-word; on the table cell, but then I'm getting a xsl-fo error that word-wrap is not supported.
asked
3 answers
7

Hi Samet,

 

try the below css code to wrap the text.

/*

text-overflow: initial !important;

white-space: normal !important;

*/

answered
1

Hi,

 

select the Static label → under tab Custom Styles

use css styling try the white-space, see below :

 

For more explanation, take a look at the following link:

https://developer.mozilla.org/de/docs/Web/CSS/white-space

 

I hope this helps. 

Regards

Jasper Lawrence

answered
0

In HTML to only way to achieve this is using CSS 3, so the only workaround I can think of is inserting some spaces.

answered