Customizing report alias substitution

I am working with Reports and am hoping to do some custom formatting in docx. The default Cuba reporting takes aliases such as “${stuff.substuff}” and makes the appropriate substitutions. Once that finishes, I would like to do some additional substitutions, because some of the aliases need special formatting. So, I’m thinking of having my own escapes for some aliases (like “=(stuff.substuff}”) and doing my own substitutions from java.
In analyzing the Cuba code for guidance, it looks like there are some good routines that might help with this. I also noticed that docx4j appears to be utilized, which might come in handy. I’m hoping to get some advice on the best way to proceed. Is there a routine I might use (or adapt) so as to handle my substitutions? Or should I be going about this a different way?
Thanks
Eric

Hi Eric,
We can’t provide an ability to create custom substitutions.
As the workaround, you can apply special formatting for parameters in the groovy datasets.

Thanks.