How to fill an alphanumerical column with meaningful spaces in a grid?

HI,

How to fill an alphanumerical column with meaningful spaces in a grid?
Since the “convertspaces” property does not work.

Best regards,
Jorge

Jorge,
Could you clarify what it is you want to do?
Perhaps with examples of what you want as a result.

HI Steve,

The text I want is like the attached image. But this text becomes as below:

AAAAA FFFFF NNNNNNN
XXXXXXXX HHHHHHH
XXXXXXXXXXX HHHHH
YYYYY DDDDD RRRRRRRRRRRRRRR
TTT ZZZZZZZZZZ

Spaces are deleted.

The same thing happens with the Label tag.

Best regards,
Jorge

Spaces.jpg

Forget “convertspaces”.
Do you have the data as you want it; that is, as shown in spaces.jpg?
If so, why do you have to convert anything?

Hi Jorge, hi Steve,

The “convertspaces” property in the COLUMN controls works in my environment when the page is rendered in the browser. It converts a space into & nbsp; so that the space is visible in the browser. But it currently has no impacts on the generated PDF.

Apache FOP per default sets white-space-collapse=“true”, which means that additional spaces are not preserved. If in the PDF generation white-space-collapse=“false” would be used, the white spaces would be visible in the pdf. The cisfo* controls currently don’t support a corresponding property “convertspaces” based on which white-space-collapse could be set to true or false.

A possible workaround could be: In your data use & #160; instead of space. !!! Without blank between &and#, I just had to add it because the forum tool also converts it into a space :slight_smile:
Instead of " A A A " you would have “& #160;AA& #160;& #160;A& #160;”
Then the spaces are rendered in the PDF as expected.

Best Regards,
Christine

Hi Christine.

I will try your solution. Thanks again.

Best regards
Jorge