HtmlReportPdfRenderer class

namespace: Serenity.Reporting   assemblySerenity.Extensions

Default implementation for IHtmlReportPdfRenderer

public class HtmlReportPdfRenderer : IHtmlReportPdfRenderer

Public Members

name description
HtmlReportPdfRenderer(…) Default implementation for IHtmlReportPdfRenderer
virtual Render(…)

Protected Members

name description
readonly environmentSettings- The environment settings used to resolve the internal URL of the web site.
readonly htmlToPdfConverter- The HTML to PDF converter used to render the report.
readonly httpContextAccessor- The HTTP context accessor used to access the current request.
readonly renderUrlBuilder- The render URL builder used to build the report callback URL.
readonly wkHtmlToPdfConverter- The optional WKHtmlToPdf converter used when a report requests it.
virtual ForwardCookies(…) Forwards the cookies from the render URL to the converter options.
virtual GetConverterFor(…) Gets the converter to use for the specified report, preferring the WKHtmlToPdf converter when the report is marked with UseWKHtmlToPdfAttribute.
virtual GetConverterOptions(…) Gets the converter options for the specified report, building the render URL and forwarding cookies.

See Also