onepdf-htmlDocs
onepdf-html docs
Getting started, the PDF to HTML and HTML to PDF guides, the command-line tool, diagnostics and limits. These docs are for OnePdf.Html 1.0.0, read at the v1.0.0 tag (166c117).
Start
Getting startedInstall OnePdf.Html for .NET 10, turn an HTML page into a tagged PDF/UA-1 file, turn that PDF back into reflowing HTML and into fixed-layout HTML, read a scanned page with OCR, and do the same from the command line.OverviewConvert between PDF and HTML in .NET: semantic or fixed-layout HTML from a PDF, a tagged PDF from HTML, OCR for scanned pages and the onepdf-html command.
Guides
PDF to HTMLRecursiveAI.OnePdf.Html converts a PDF to HTML in one of two modes. This guide covers every public option and type. Everything is in the namespace OnePdf.Html; OCR is in OnePdf.Html.Ocr (below).HTML to PDFRecursiveAI.OnePdf.Html.Render converts HTML to a tagged PDF: a string, file, stream or URL in, bytes, a stream or a file out. It is a thin layer over OneRender, which lays the HTML out for print and writes the PDF. This package decides what a document may load and adds what…Command lineonepdf-html converts in both directions. Install it as a .NET tool:
Reference
Diagnostics and limitsA conversion never fails silently and never stops at the first thing it cannot do. Whatever it repaired, dropped, approximated or reduced is reported as a diagnostic, and the rest of the document is converted.ArchitectureHow the converter is put together and where each kind of work belongs. HTML to PDF lives in OnePdf.Html.Render, a separate package; everything below is PDF to HTML.ChangelogAll notable changes are listed here. The format follows Keep a Changelog and the project follows Semantic Versioning.