Namespace SimpleSign.HtmlToPdf.Parsing
Classes
- BorderStyle
Border style for one or all sides of a box.
- ComputedStyle
Computed style properties for an HTML node after CSS cascade resolution. All values are resolved to concrete types (no "inherit" or "auto" strings). Lengths are in points (1pt = 1/72 inch).
- CssParser
Parses CSS from <style> blocks and inline style attributes. Supports tag, .class, #id selectors, shorthand properties, and common length units.
- CssRule
A CSS rule: selector + dictionary of property/value pairs.
- HtmlNode
Lightweight HTML DOM node. Represents either an element (div, p, table...) or a text node. This is not a full DOM -- just enough structure for layout and rendering.
- HtmlTokenizer
Tolerant HTML parser that produces a lightweight DOM tree. Handles well-formed document HTML (headings, paragraphs, tables, lists, images). Not a full HTML5 parser -- designed for structured documents, not arbitrary web pages.
- StyleResolver
Resolves CSS cascade: applies browser defaults, stylesheet rules, and inline styles to produce a ComputedStyle for each DOM node.
Structs
- PdfColor
RGB color in 0-1 range for direct use in PDF operators.
- Thickness
Box model thickness (top, right, bottom, left) in points.
Enums
- DisplayType
CSS display type.
- FontPosition
Vertical font position for subscript/superscript rendering.
- HtmlNodeType
Type of HTML node.
- PageBreak
Page break behavior.
- TextAlign
Text alignment options.
- VerticalAlign
Vertical alignment for table cells.