To put you in context: I'm generating InDesign documents dynamically, using an external plugIn for Sitecore (Adaptive Print Studio aka PXM). To create the InDesign documents, I'm generating an XML document containing all the InDesign elements with their attributes pre set.
In some part of all of the XML document, I'm including some texts in Inline elements, however I haven't been able to find any Inline property to make an inline element fits automatically Its content (text).
Anyone knows if there is any Inline text property to let it auto-adjust its size to fit Its content?
Thanks in advance for your help.
Are you looking to resize the text to fit the frame, or the frame to fit the text?
If it's the latter then check out the AutoSize text frame feature
This is something I wrote about doing for datamerges, but it would apply to almost any text frame that is being automated.