Altinn / app-lib-dotnet

Libraries used in Altinn Apps
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

Add an optional footer for the generated PDF #792

Closed Magnusrm closed 3 days ago

Magnusrm commented 1 week ago

Adds config for showing a footer at the bottom of the generated PDF pages.

image

Description

Adds a new property to "PdfGeneratorSettings" in appsettings.json: "DisplayFooter". The property is a boolean that, when true, adds a footer to each page of your generated PDF. The footer contains information about the title of the document, the date and time the pdf was generated, the altinn-reference-id, and the current and total page number.

Related Issue(s)

Verification

Documentation

sonarcloud[bot] commented 3 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
38.9% Coverage on New Code (required ≥ 65%)
50.0% Condition Coverage on New Code (required ≥ 65%)

See analysis details on SonarCloud