Package io. fluidsonic. pdf
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PdfDocumentId(val initial: String, val revision: String = initial)
Content copied to clipboard
Link copied to clipboard
data class PdfGenerationInput(val source: PdfGenerationSource, val settings: PdfGenerationSettings = PdfGenerationSettings.default)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PdfGenerationSettings( val footerHtml: String?, val headerHtml: String?, val includeBackgrounds: Boolean, val metadata: PdfMetadata?, val pageMargins: PdfMargins, val pageOrientation: PdfOrientation, val pageSize: PdfSize, val preferCssPageSize: Boolean)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PdfMargins( val top: PdfLengthUnit, val right: PdfLengthUnit, val bottom: PdfLengthUnit, val left: PdfLengthUnit)
Content copied to clipboard
Link copied to clipboard
data class PdfMetadata( val author: String? = null, val creationDate: Instant? = null, val creator: String? = null, val documentId: PdfDocumentId? = null, val keywords: String? = null, val modificationDate: Instant? = null, val producer: String? = null, val subject: String? = null, val title: String? = null)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
suspend fun PdfGenerator.generate(source: PdfGenerationSource, settings: PdfGenerationSettings = PdfGenerationSettings.default): PdfGenerationOutput
Content copied to clipboard