Skip to main content

RenderDataSheetPdfNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for RenderDataSheetPdf@1. Renders a structured data sheet (title, subtitle, labelled sections and an optional footer note) into a single-page PDF using QuestPDF. Generic: the domain knowledge lives in the model built by the pipeline, not in the node.

The value at must be a JSON object of the shape:

{
"title": "Cover sheet",
"subtitle": "RE-2025-001",
"culture": "de-AT",
"numberDecimalSeparator": ",",
"numberGroupSeparator": ".",
"sections": [
{ "heading": "Document", "rows": [
{ "label": "Number", "value": "RE-2025-001" },
{ "label": "Gross", "value": 1186.96, "format": "N2", "suffix": "EUR" }
] }
],
"footerHeading": "Note to tax advisor",
"footerText": "Please book against travel expenses."
}

Keys are matched case-insensitively. A row's optional format is a .NET numeric format string applied when the row value is numeric — e.g. rendering 1186.96 as 1.186,96 so document-recognition software (BMD) parses it as an amount. The number format comes from the model's optional culture (default invariant), optionally overridden by explicit numberDecimalSeparator / numberGroupSeparator — pass the separators explicitly for deterministic output: containers without ICU fall back to invariant globalization where any culture name formats with "." decimals. An optional suffix (e.g. a currency code) is appended to non-empty values. The base64-encoded PDF is written to .

public record RenderDataSheetPdfNodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<RenderDataSheetPdfNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → RenderDataSheetPdfNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<RenderDataSheetPdfNodeConfiguration>

Properties

ContentLengthTargetPath

Optional path to write the rendered PDF's byte length to (as a long), for feeding a following CreateFileSystemUpdate@1.

public string ContentLengthTargetPath { get; set; }

Property Value

String

Path

public string Path { get; set; }

Property Value

String

TargetPath

public string TargetPath { get; set; }

Property Value

String

TargetValueWriteMode

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value

TargetValueWriteModes

TargetValueKind

public ValueKinds TargetValueKind { get; set; }

Property Value

ValueKinds

DocumentMode

public DocumentModes DocumentMode { get; set; }

Property Value

DocumentModes

Description

public string Description { get; set; }

Property Value

String

Constructors

RenderDataSheetPdfNodeConfiguration()

public RenderDataSheetPdfNodeConfiguration()