I’m trying to use the LayOut Ruby API to change existing text objects within LayOut.
When I access a Layout::FormattedText object that’s just an entity on a Page, or is nested in a Group, using the #plain_text= method to assign a new string works fine.
However, when I access a FormattedText object in a Table (or in a Dimension), I’m unable to change the existing text using the #plain_text= method. I can understand this limitation for a Dimension, but any ideas why this won’t work for text in a TableCell?
Does anyone have ideas for how to change the text in a LayOut table programmatically?
Thanks,
Andrew