Hi,
Newline within simple String value is not supported yet for docx reports. We have an issue for that.
There are possible WA:
Use rich text
Use RichTextArea to input data to field and use HTML formatter for that value (Report Parameters and Field Formatters :: Jmix Documentation).
But this may not work for you if you have a lot of fields.
Use custom ContentInliner
You can try to implement you own custom ContentInliner to support newline for current values.
You will also need to register new ContentInliner - override existing bean JmixInlinersProvider (declared in ReportsConfiguration) and add custom ContentInliner:
@Primary
@Bean
public JmixInlinersProvider inlinersProvider(FileStorageContentInliner fileStorageContentInliner, CustomContentInliner customContentInliner) {
return new JmixInlinersProvider(fileStorageContentInliner, customContentInliner);
}
And in report you will need to apply formatter related to new ContentInliner.
Regards,
Ivan