Page 1 of 1

Report Formatting and Pagination

Posted: Fri Dec 22, 2023 7:12 pm
by saultpastor
I have two problems with a report using a WYSIWYG editor field.

The first problem is the space at the bottom of the page and at the end of that group. But only that group puts a space at the end.
I have tried several different ways of grouping, it doesn't change it and I suspect there is some limitation due to the number of lines? I have checked the html for the field and there is nothing unusual. Also I deleted the report and recreated the whole thing as a new report thinking maybe something was corrupted in the JSON in the sre_layout field.

The first screenshot is the report:
Report Spaces.png
SOG Edit Form.png
The second issue is the formatting being lost for the numbering indentation. It works fine for bullet points but the numbering doesn't indent on the report.

The first screenshot is the Edit form:
Sog Format.png
And this is what the report looks like:
Also note the paragraph spacing...
Formatting lost in Report.png
What do you think, is this a permanent limitation, an error on my part, or a bug?

Thanks
Craig

Re: Report Formatting and Pagination

Posted: Fri Dec 29, 2023 6:13 pm
by saultpastor
Upon further investigation, it seems that not allowing html for the report causes the code to fill the page. Possibly a clue is the html code ends at the same spot that the page breaks in both cases. Like maybe the report breaks the page based on the raw html and cannot determine the page break for the formatted text?

Craig