Closed ThijsSassen closed 8 months ago
What version of Polarion is that? Because 21r2 does not have repeatTableHeaders.
I was well aware at some point there would be something version specific added, but there is nothing ready for that. I'm willing to accept a PR on this, but this needs to be optionally enabled then. Perhaps a version string in the Polarion class constructor.
@jesper-raemaekers this is on 23.04 we always use the latest version. If there is an api call to request a version we can make it depending on that version.
I've not found a nice API supported way, so that leaves me with 2 options:
according to the latest Polarion api the exportDocumentToPDF function has 6 arguments:
String paperSize, String orientation, boolean fitToPageWidth, boolean generateBookmarks, boolean includeHeaderFooter, boolean repeatTableHeaders
the current implementation was missing the repeatTableHeaders argument. This PR fixes that.