Render Options
data class RenderOptions(val convertTo: OutputFormat? = null, val converter: PdfConverter? = null, val timezone: String? = null, val lang: String? = null, val complement: JsonElement? = null, val variableStr: String? = null, val reportName: String? = null, val enum: JsonObject? = null, val translations: JsonObject? = null, val currency: CurrencyConversion? = null, val hardRefresh: Boolean = false, val batch: BatchOptions? = null, val preReleaseFeatureIn: Int? = null, val headers: Map<String, String> = emptyMap())
Everything in a render body except data and template, plus extra request headers.
Constructors
Link copied to clipboard
constructor(convertTo: OutputFormat? = null, converter: PdfConverter? = null, timezone: String? = null, lang: String? = null, complement: JsonElement? = null, variableStr: String? = null, reportName: String? = null, enum: JsonObject? = null, translations: JsonObject? = null, currency: CurrencyConversion? = null, hardRefresh: Boolean = false, batch: BatchOptions? = null, preReleaseFeatureIn: Int? = null, headers: Map<String, String> = emptyMap())
Types
Link copied to clipboard
class Builder
Builder for RenderOptions.
Link copied to clipboard
object Companion
Ready-made RenderOptions and a builder entry point.
Properties
Link copied to clipboard
Multi-report generation. Requires an async render (webhook).
Link copied to clipboard
Extra data reachable through {c.} tags.
Link copied to clipboard
PDF engine. Only meaningful when convertTo is OutputFormat.Pdf.
Link copied to clipboard
Output format; null renders in the template's own format.
Link copied to clipboard
currencySource / currencyTarget / currencyRates.
Link copied to clipboard
Recompute pagination and TOC at the end of rendering. Requires convertTo.
Link copied to clipboard
Opts into a pre-release Carbone feature, by its numeric id.
Link copied to clipboard
File name in Content-Disposition; may contain Carbone tags.
Link copied to clipboard
Translations keyed by locale, used with {t()} and lang.
Link copied to clipboard
variableStr: extra data available to the template as free-form text.