Uses of Record Class
com.nsdev.lettergenerator.model.DocumentSettings
Packages that use DocumentSettings
Package
Description
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 DocumentSettings in com.nsdev.lettergenerator.builder
Methods in com.nsdev.lettergenerator.builder with parameters of type DocumentSettingsModifier and TypeMethodDescriptionHtmlLetterBuilder.settings(DocumentSettings value) Sets immutable language, metadata and text configuration.LetterBuilder.settings(DocumentSettings value) Replaces optional language, font and PDF metadata settings. -
Uses of DocumentSettings in com.nsdev.lettergenerator.model
Methods in com.nsdev.lettergenerator.model that return DocumentSettingsModifier and TypeMethodDescriptionstatic DocumentSettingsDocumentSettings.defaults()LetterDocument.settings()Returns the value of thesettingsrecord component.DocumentSettings.withLocale(LocaleSettings value) Returns a copy with country-aware formatting replaced.Methods in com.nsdev.lettergenerator.model with parameters of type DocumentSettingsModifier and TypeMethodDescriptionLetterDocument.withSettings(DocumentSettings value) Replaces document settings while preserving all content and attachments.Constructors in com.nsdev.lettergenerator.model with parameters of type DocumentSettingsModifierConstructorDescriptionLetterDocument(int schemaVersion, PageSpec page, Style defaultStyle, List<Section> sections, List<FixedElement> fixedElements, Signature signature, Watermark watermark, LetterTheme theme, Map<String, LetterComponent> components, DocumentSettings settings, List<PdfAttachment> attachments) Substitutes the default page and snapshots both lists without validating their contents. -
Uses of DocumentSettings in com.nsdev.lettergenerator.template
Constructors in com.nsdev.lettergenerator.template with parameters of type DocumentSettingsModifierConstructorDescriptionPreparedLetterTemplate(String source, Map<String, ?> values, Map<String, byte[]> assets, boolean substitute, LetterTheme theme, Map<String, LetterComponent> components, DocumentSettings settings) Captures source and configuration from a builder, parsing once.