Regira-Packages

Regira.Office.PDF.Gotenberg

HTML→PDF backend for Regira Office that renders through the Chromium route of a Gotenberg server. PdfService implements IHtmlToPdfService and applies every HtmlInput setting — page size, orientation, margins, header and footer — as PDF.MsPlaywright does; AddGotenbergPdf registers it on a named HttpClient. It is the route to HTML→PDF without a browser in the application: for an image that must stay slim or may download nothing at run time, or a deployment that already runs Gotenberg for Regira.Office.Word.Gotenberg.

Installation

<PackageReference Include="Regira.Office.PDF.Gotenberg" Version="6.*" />

A running Gotenberg server (a Docker image bundling Chromium and LibreOffice), reachable at GotenbergPdfConfig.BaseUrl. The HTML renders in the fonts installed in that image, and an absolute URL in it is fetched from the server’s network.

Documentation

License

Apache License 2.0 — this package contains no license validation and no runtime limits. See LICENSE. A few companion packages are commercially licensed with a free tier; see the licensing overview.