PeachPDF

PeachPDF.Layout Namespace

Classes  
SlotContext Identifies one <slot> element encountered while splicing an HTML fragment (Html(string, PeachPdfCssContent, Action<SlotContext,IContainer>)) into a declarative container, passed to the caller’s slot callback alongside an IContainer positioned to replace it.
Interfaces  
IColumnDescriptor Describes a vertical stack of items (Column(Action<IColumnDescriptor>)), each its own IContainer.
IContainer One composable content box in a declarative document - reused everywhere content is placed (a page’s content area, a column/row item, a table cell). Every decorator method wraps the current box in one more layer and returns the new, innermost IContainer; every terminal method places real content and may be called at most once per container.
IDocumentBuilder Builds a declarative document page by page, for CreateDocument(Action<IDocumentBuilder>, PdfGenerateConfig)/ AddPages(PeachPdfDocument, Action<IDocumentBuilder>, PdfGenerateConfig). This builder constructs PeachPDF’s own internal box tree directly - it never generates or parses HTML/CSS text from caller content, except for an optional Stylesheet(PeachPdfCssContent) a caller attaches explicitly.
IFileLayerDescriptor Configures a PDF file whose pages are stamped over (OverlayFile(Action<IFileLayerDescriptor>)) or under (UnderlayFile(Action<IFileLayerDescriptor>)) the document’s pages: a letterhead, a watermark, a form background.
IListDescriptor Builds an ordered/unordered list’s items (OrderedList(Action<IListDescriptor>, PdfListMarkerType)/ UnorderedList(Action<IListDescriptor>, PdfListMarkerType)) - backed by PeachPDF’s existing display: list-item/ list-style-* support, not a from-scratch marker implementation. Call Position(PdfListMarkerPosition)/MarkerImage(byte[])/MarkerText(string) before adding any items - like any other CSS inherited property, a marker option only affects items added after it.
IPageDescriptor Configures one page-section of a declarative document (Page(Action<IPageDescriptor>)): its page geometry and the content that flows and paginates within it.
IRowDescriptor Describes a horizontal row of items (Row(Action<IRowDescriptor>)), each its own IContainer.
ITableColumnsDescriptor Defines one ITableDescriptor’s columns, in left-to-right order.
ITableDescriptor Builds a table’s column definitions and rows (Table(Action<ITableDescriptor>)) - backed by PeachPDF’s existing CSS table layout engine (display: table/table-row/table-cell, already fully supporting colspan/rowspan and repeating header/footer row groups), not a from-scratch table model.
ITableRowDescriptor Builds one ITableDescriptor row’s cells, in left-to-right order.
ITextSpan One run of text within a ITextSpanContainer, styleable via ITextStyle.
ITextSpanContainer Builds a paragraph out of individually-styled runs of text (Text(Action<ITextSpanContainer>)).
ITextStyle Text styling shared by a page/container’s DefaultTextStyle and an individual ITextSpan. Every member maps directly onto an existing, already-fully-supported CSS property.
Enums  
PdfListMarkerPosition A list’s marker position, mapping directly onto list-style-position.
PdfListMarkerType A list’s marker numbering/bullet style, mapping directly onto list-style-type’s full supported keyword set (CSS Lists Level 3 / CSS Counter Styles Level 3) - every value here already renders correctly, not a curated subset.
PdfTextDecorationStyle A decoration line’s stroke style (CSS text-decoration-style).
PdfTextDirection A paragraph’s base text direction (CSS direction), for bidi/RTL content.
TextAlignment A paragraph’s horizontal text alignment (CSS text-align).