Wrap text in a rotated cell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Wrap text in a rotated cell
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
Solved! Go to Solution.
- Labels:
-
Content Authoring
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Dmitry is this done in styler?? Does it work if you use fosi?
Thanks
Bryon
