Bodoconsult.Text
1.0.11
dotnet add package Bodoconsult.Text --version 1.0.11
NuGet\Install-Package Bodoconsult.Text -Version 1.0.11
<PackageReference Include="Bodoconsult.Text" Version="1.0.11" />
<PackageVersion Include="Bodoconsult.Text" Version="1.0.11" />
<PackageReference Include="Bodoconsult.Text" />
paket add Bodoconsult.Text --version 1.0.11
#r "nuget: Bodoconsult.Text, 1.0.11"
#:package Bodoconsult.Text@1.0.11
#addin nuget:?package=Bodoconsult.Text&version=1.0.11
#tool nuget:?package=Bodoconsult.Text&version=1.0.11
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.
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 | Versions 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. |
-
net10.0
- Bodoconsult.App (>= 1.0.11)
- Bodoconsult.App.Abstractions (>= 1.0.11)
- Bodoconsult.Office (>= 1.0.11)
- Bodoconsult.Pdf (>= 1.0.11)
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.
Enhancements, new features and bugfixes