Uses of Record Class
com.nsdev.lettergenerator.model.style.Style
Packages that use Style
Package
Description
Mutable convenience builders that produce independent immutable model snapshots.
Immutable input model for PDF letters.
Content blocks shared by body sections, fixed elements, and visual signatures.
Physical-page geometry and placement rules.
Property-by-property typography and spacing inheritance.
Immutable cell content, appearance and body-row page policies for native tables.
Literal styled text, hierarchical list items, current/total page fields and optional external
hyperlinks.
Immutable convenience parts for letter signatures.
Immutable per-document semantic roles, named typography, table appearance and reusable
stationery.
-
Uses of Style in com.nsdev.lettergenerator.builder
Methods in com.nsdev.lettergenerator.builder with parameters of type StyleModifier and TypeMethodDescriptionDefers a locally styled date until final locale is known.LetterBuilder.footerStyle(PageSelector pages, Style value) Applies appearance overrides to one footer selection after the shared footer defaults.LetterBuilder.footerStyle(Style value) Replaces footer overrides on top of the default 9 pt gray text and zero before/after spacing.StationeryBuilder.footerStyle(Style value) Sets common footer typography.LetterBuilder.headerStyle(PageSelector pages, Style value) Applies appearance overrides to one header selection after the shared header defaults.LetterBuilder.headerStyle(Style value) Replaces header style overrides on top of zero before/after spacing and the currently selected header alignment.StationeryBuilder.headerStyle(Style value) Sets common header typography.TableBuilder.headerStyle(Style value) Replaces the header style overrides, overlaid on the default bold white text.LetterBuilder.part(LetterElement element, List<Block> blocks, Style localStyle) Replaces one semantic role with explicit local wrapper styling.Sets optional inherited canvas typography and outer spacing/pagination.Replaces body style overrides, overlaid on the default 3 mm paragraph gap.Replaces the table's inherited text and spacing style. -
Uses of Style in com.nsdev.lettergenerator.model
Methods in com.nsdev.lettergenerator.model that return StyleModifier and TypeMethodDescriptionLetterDocument.defaultStyle()Returns the value of thedefaultStylerecord component.Section.style()Returns the value of thestylerecord component.Constructors in com.nsdev.lettergenerator.model with parameters of type StyleModifierConstructorDescriptionLetterDocument(int schemaVersion, PageSpec page, Style defaultStyle, List<Section> sections, List<FixedElement> fixedElements, Signature signature, Watermark watermark) Preserves the original constructor with no theme or reusable-content registrations.LetterDocument(int schemaVersion, PageSpec page, Style defaultStyle, List<Section> sections, List<FixedElement> fixedElements, Signature signature, Watermark watermark, LetterTheme theme, Map<String, LetterComponent> components) Preserves composition-aware construction without additional settings or attachments.LetterDocument(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.Snapshots the block list without validating the section or its content. -
Uses of Style in com.nsdev.lettergenerator.model.block
Methods in com.nsdev.lettergenerator.model.block that return StyleModifier and TypeMethodDescriptionGroupBlock.defaultStyle()Returns the value of thedefaultStylerecord component.Heading.semanticStyle()Returns the value of thesemanticStylerecord component.Block.style()Returns overrides layered on the inherited document and optional section style.BoxBlock.style()Returns the value of thestylerecord component.CanvasBlock.style()Returns the value of thestylerecord component.ColumnsBlock.style()Returns the value of thestylerecord component.ComponentBlock.style()Returns the value of thestylerecord component.GroupBlock.style()Returns the value of thestylerecord component.Heading.style()Returns the value of thestylerecord component.ImageBlock.style()Returns the value of thestylerecord component.LetterPartBlock.style()Returns the value of thestylerecord component.ListBlock.style()Returns the value of thestylerecord component.PageBreakBlock.style()Returns no style because a page boundary has no rendered content.Paragraph.style()Returns the value of thestylerecord component.TableBlock.style()Returns the value of thestylerecord component.Methods in com.nsdev.lettergenerator.model.block with parameters of type StyleModifier and TypeMethodDescriptionstatic ListBlockCreates hierarchical items whose child lists follow their inline content.Replaces local style overrides while preserving the description.Replaces typography while preserving spans, content, appearance and row metadata.Constructors in com.nsdev.lettergenerator.model.block with parameters of type StyleModifierConstructorDescriptionBoxBlock(List<Block> blocks, BoxAppearance appearance, Style style) Snapshots content without validating nullable authoring values.CanvasBlock(double widthMm, double heightMm, List<PositionedContent> elements, Style style) Snapshots elements while deferring geometry and content validation until generation.ColumnsBlock(List<Column> columns, double gapMm, Style style) Snapshots columns without prematurely validating document geometry.ComponentBlock(String name, Style style) Creates an instance of aComponentBlockrecord class.GroupBlock(List<Block> blocks, Style style) Creates an ordinary group without fallback typography.GroupBlock(List<Block> blocks, Style style, Style defaultStyle) Snapshots the child list without checking its content or renderability.Creates an ordinary heading without additional markup-tag defaults.Snapshots the run list without validating text or style.ImageBlock(byte[] data, String mimeType, Double widthMm, Double heightMm, Style style) Preserves construction without an image description.ImageBlock(byte[] data, String mimeType, Double widthMm, Double heightMm, Style style, String altText) Defensively copies image bytes without decoding or validating the supplied properties.LetterPartBlock(LetterElement element, List<Block> blocks, Style style) Snapshots content for shared semantic preparation.Preserves the original flat-list constructor and its unchanged inline-item semantics.Snapshots the outer list and every nonnull item list into unmodifiable lists.Snapshots the run list without validating text or style.TableBlock(List<Double> columnWeights, List<TableCell> header, List<List<TableCell>> rows, Style style) Preserves the original constructor with legacy cell appearance and row keeps.TableBlock(List<Double> columnWeights, List<TableCell> header, List<List<TableCell>> rows, Style style, TableOptions options) Snapshots all supplied collections, retaining null rows and entries for field-path errors. -
Uses of Style in com.nsdev.lettergenerator.model.layout
Methods in com.nsdev.lettergenerator.model.layout that return StyleModifier and TypeMethodDescriptionColumn.style()Returns the value of thestylerecord component.PositionedContent.style()Returns the value of thestylerecord component.Constructors in com.nsdev.lettergenerator.model.layout with parameters of type StyleModifierConstructorDescriptionSnapshots content without replacing null values needed by path-aware validation.Snapshots content while retaining invalid nulls for path-aware generation validation. -
Uses of Style in com.nsdev.lettergenerator.model.style
Methods in com.nsdev.lettergenerator.model.style that return StyleModifier and TypeMethodDescriptionStyle.baseStyle()Returns the value of thebaseStylerecord component.Style.Builder.build()Snapshots the accumulated overrides without validating them or replacing nulls.Combines these overrides with another style property by property.static StyleStyle.plain()Creates an empty set of overrides.Methods in com.nsdev.lettergenerator.model.style with parameters of type StyleModifier and TypeMethodDescriptionCombines these overrides with another style property by property.Constructors in com.nsdev.lettergenerator.model.style with parameters of type StyleModifierConstructorDescriptionStyle(String fontFamily, Double fontSizePt, String color, Boolean bold, Boolean italic, Boolean underline, TextAlign textAlign, Double lineHeight, Double spaceBeforeMm, Double spaceAfterMm, Keep keepTogether, Keep keepWithNext, Integer widows, Integer orphans, String styleName, Style baseStyle) Creates an instance of aStylerecord class. -
Uses of Style in com.nsdev.lettergenerator.model.table
Methods in com.nsdev.lettergenerator.model.table that return StyleModifier and TypeMethodDescriptionTableCell.semanticStyle()Returns the value of thesemanticStylerecord component.TableCell.style()Returns the value of thestylerecord component.Methods in com.nsdev.lettergenerator.model.table with parameters of type StyleModifier and TypeMethodDescriptionReturns a copy with replacement typography and all geometry/content retained.Constructors in com.nsdev.lettergenerator.model.table with parameters of type StyleModifierConstructorDescriptionCreates a legacy text-only cell with one-column/one-row spans and default appearance.TableCell(List<TextRun> runs, Style style, String backgroundColor, List<Block> blocks, Integer columnSpan, Integer rowSpan, CellAppearance appearance) Creates a rich cell without tag-specific semantic defaults.TableCell(List<TextRun> runs, Style style, String backgroundColor, List<Block> blocks, Integer columnSpan, Integer rowSpan, CellAppearance appearance, Style semanticStyle) Preserves cells with tag-specific typography and no appearance fallback.TableCell(List<TextRun> runs, Style style, String backgroundColor, List<Block> blocks, Integer columnSpan, Integer rowSpan, CellAppearance appearance, Style semanticStyle, CellAppearance defaultAppearance) Copies both content lists without validating their entries or exclusive content forms. -
Uses of Style in com.nsdev.lettergenerator.model.text
Methods in com.nsdev.lettergenerator.model.text that return StyleModifier and TypeMethodDescriptionTextRun.style()Returns the value of thestylerecord component.Constructors in com.nsdev.lettergenerator.model.text with parameters of type Style -
Uses of Style in com.nsdev.lettergenerator.signature
Methods in com.nsdev.lettergenerator.signature with parameters of type StyleModifier and TypeMethodDescriptionCreates a copy with replacement style overrides for all signature paragraphs. -
Uses of Style in com.nsdev.lettergenerator.theme
Methods in com.nsdev.lettergenerator.theme that return types with arguments of type StyleModifier and TypeMethodDescriptionLetterTheme.namedStyles()Returns the value of thenamedStylesrecord component.LetterTheme.roles()Returns the value of therolesrecord component.Methods in com.nsdev.lettergenerator.theme with parameters of type StyleModifier and TypeMethodDescriptionSets ordinary-content defaults.Sets reserved bottom-region defaults.Sets reserved top-region defaults.Sets heading defaults.Registers or replaces a named style.Registers or replaces a semantic role default.Sets visual-signature defaults.Sets table defaults.Sets table-body cell defaults.LetterTheme.Builder.tableHeader(Style style) Sets repeating table-header cell defaults.Constructor parameters in com.nsdev.lettergenerator.theme with type arguments of type StyleModifierConstructorDescriptionPreserves themes that configure only typography.LetterTheme(Map<StyleRole, Style> roles, Map<String, Style> namedStyles, TableAppearance tableAppearance, Stationery stationery) Snapshots both maps, preserving registration order and invalid entries for validation.