How to automatically adjust font size inside a text frame in relatorio (fodt)

In a Relatorio report using LibreOffice Writer (FODT), how can I make the text inside a frame or table dynamically increase or decrease in size based on its content?
If I add a Text Box with the property “Fit to frame”, it works with normal text.
But as far as I know, relatorio code can’t been added to a Text Box.
Thanks beforehand.

You must rely on the rendering of LibreOffice.
For example for table, you can use relative width.

For Text Box if you can not insert placeholder nor hyperlink, it is not usable with relatorio.

But I think that relative width is to adapt the row’s size to the text, but what I need is to adapt the font’s size of the text to a fixed size of a container, be it a table or another object.