Uses of Record Class
com.nsdev.lettergenerator.model.LetterDocument
Packages that use LetterDocument
Package
Description
Public entry points for letter construction and PDF generation.
Mutable convenience builders that produce independent immutable model snapshots.
Immutable input model for PDF letters.
Immutable prepared authoring templates and source requirement manifests.
-
Uses of LetterDocument in com.nsdev.lettergenerator
Methods in com.nsdev.lettergenerator that return LetterDocumentModifier and TypeMethodDescriptionstatic LetterDocumentParses strict schema-version-one JSON into the shared immutable model.Methods in com.nsdev.lettergenerator with parameters of type LetterDocumentModifier and TypeMethodDescriptionbyte[]LetterPdfGenerator.generate(LetterDocument document) Validates an immutable document and renders it using this generator's font snapshot.LetterPdfGenerator.render(LetterDocument document) Renders a validated model and returns its actual pagination and processing diagnostics.LetterPdfGenerator.render(LetterDocument document, RenderOptions options) Renders with optional authoring overlays.LetterPdfGenerator.validate(LetterDocument document) Validates composition references, declared geometry, fonts and content without running PDF layout. -
Uses of LetterDocument in com.nsdev.lettergenerator.builder
Methods in com.nsdev.lettergenerator.builder that return LetterDocument -
Uses of LetterDocument in com.nsdev.lettergenerator.model
Methods in com.nsdev.lettergenerator.model that return LetterDocumentModifier and TypeMethodDescriptionLetterDocument.withAttachments(List<PdfAttachment> value) Replaces appended PDF registrations while retaining the letter.LetterDocument.withComponents(Map<String, LetterComponent> value) Replaces component registrations with a defensive snapshot.LetterDocument.withSettings(DocumentSettings value) Replaces document settings while preserving all content and attachments.LetterDocument.withTheme(LetterTheme value) Replaces the theme while retaining content and component registrations. -
Uses of LetterDocument in com.nsdev.lettergenerator.template
Methods in com.nsdev.lettergenerator.template that return LetterDocumentModifier and TypeMethodDescriptionReplaces all captured bindings for this call without changing the prepared template.PreparedLetterTemplate.build()