Mendix PDF generation is… a challenging thing. Most of the apps I’ve worked on while using the platform need them to some extent, and yet Mendix all but refuse to acknowledge it’s a common requirement. As such, the PDF designer is in the dark ages, and you have to get a little messy if you want your user to see nice things.
You’ll have to use some conditional visibility here – one row that shows when boolean is “true” and one one “false”, with each row having your respective style in, such as a strikethrough or some red text.
So rather than this:
You’ll have something like this, with a nested table:
you can create a conditional visibilty, with a damaged vs non-damaged design.
(maybe add class “label label-danger” and “label label-warning” to the text.
than create a “print this page” button, that goes to a new page without a menu, and than ctrl+p and print the HTML to pdf.
there are beter ways of doing this, but this is the simpelist way of creating something that does that behaviour.