Bodoconsult.Text 1.0.11

dotnet add package Bodoconsult.Text --version 1.0.11
                    
NuGet\Install-Package Bodoconsult.Text -Version 1.0.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bodoconsult.Text" Version="1.0.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bodoconsult.Text" Version="1.0.11" />
                    
Directory.Packages.props
<PackageReference Include="Bodoconsult.Text" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bodoconsult.Text --version 1.0.11
                    
#r "nuget: Bodoconsult.Text, 1.0.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bodoconsult.Text@1.0.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bodoconsult.Text&version=1.0.11
                    
Install as a Cake Addin
#tool nuget:?package=Bodoconsult.Text&version=1.0.11
                    
Install as a Cake Tool

Bodoconsult.Text

What does the library

Bodoconsult.Text provides tools to generate structured text documents like reports in a C# project and export it finally to a HTML, ASCII plain text file or a PDF file.

We use Bodoconsult.Text for creating unit test logfiles intended for presentation to auditors. Another usage at Bodoconsult is creating an automated documentation for an app based on unit tests.

Bodoconsult.Text provides the following main classes;

DocumentBuilder class: easy setup of a LDML document and rendering it to HTML, PDF etc.

StructuredText class

How to use the library

The source code contains NUnit test classes, the following source code is extracted from. The samples below show the most helpful use cases for the library.

DocumentBuilder class

LDML is a markup language to define the content of structured text documents with paragraphs, headings, images, figures etc.. With the help of renderers the LDML markup can be translated into file formats like HTML, TXT, RTF, DOCX and PDF.

Central class for using LDML in C# is the DocumentBuilder class.

For more details see LDML based document creation.

StructuredText class

Structured text is a simplified version of handling structured text documents compared to DocumentBuilder class. It is kept mainly for compatibilty reasons.

Define your StructuredText instance as required and then let a ITextFormatter instance do its work and produce the requsted output like plain text, HTML or PDF.

For more details see StructuredText class based document creation.

About us

Bodoconsult (http://www.bodoconsult.de) is a Munich based software company.

Robert Leisner is senior software developer at Bodoconsult. See his profile on http://www.bodoconsult.de/Curriculum_vitae_Robert_Leisner.pdf.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Bodoconsult.Text:

Package Downloads
Bodoconsult.App.Wpf.Documents

Tools to create reports based on WPF FlowDocument class

Bodoconsult.Text.Pdf

Enhances Bodoconsult.Text, a simple class for collecting structured text in an app, with an export of the text to PDF. Use library to create simple reports from apps or from unit testing i.e. for auditors or as documentation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.11 118 11/2/2026
1.0.10 98 11/2/2026
1.0.9 153 8/21/2026
1.0.8 179 1/11/2026
1.0.1 282 1/3/2025
1.0.0 251 1/3/2025

Enhancements, new features and bugfixes