Skip to main content
1-Visitor
July 9, 2014
Solved

Wrap text in a rotated cell

  • July 9, 2014
  • 2 replies
  • 2069 views

Hi guys,

I'm trying to wrap the text in a rotated cell. Is this possible?

I rotated the cell in the attributes but the text didn't split and the table gets too big.

Thanks

Best answer by rdiaz

Hi Bruno,

Unfortunately, this is a limitation of modifying a table in this manner.

You'll need to find a way of wrapping the text manually via the styling code if it's too large for the cell, or resize the cell. Other limitations can be seen in the article detailing this process:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS38621

2 replies

rdiaz5-Regular MemberAnswer
5-Regular Member
July 31, 2014

Hi Bruno,

Unfortunately, this is a limitation of modifying a table in this manner.

You'll need to find a way of wrapping the text manually via the styling code if it's too large for the cell, or resize the cell. Other limitations can be seen in the article detailing this process:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS38621

17-Peridot
August 1, 2014

You can, for example, set fixed cell width with APP code by adding the following to the APP source:

block.widthFlex = false;

block.width = "70mm";

or you can go a little further by getting the text length and setting the cell width based on this.

var currentNodeLength = formatting.evaluateXPath('string-length(.)');

block.width = currentNodeLength+"mm";Editor_Tabellenzelle_Drehung.JPG

18-Opal
November 16, 2016

Dmitry is this done in styler?? Does it work if you use fosi?

Thanks

Bryon