pdftoolkit/html-to-pdf · version 0.4.0 · source 2adb5be
Install with Composer · Packagist ↗
ConversionLimits
PDF\HtmlToPdfclassOptional · pdftoolkit/html-to-pdfConversionOptions
PDF\HtmlToPdfclassOptional · pdftoolkit/html-to-pdfConversionResult
PDF\HtmlToPdfConversion bytes and diagnostics belong to one completed document.
classOptional · pdftoolkit/html-to-pdfConverter
PDF\HtmlToPdfA fresh pipeline per conversion: no retained DOM, font embedding or layout state.
classOptional · pdftoolkit/html-to-pdfBorderComputer
PDF\HtmlToPdf\CssConverts resolved longhands; cascade/global keywords are handled by StyleComputer.
classOptional · pdftoolkit/html-to-pdfBorderDeclarations
PDF\HtmlToPdf\CssAtomic shorthand expansion: no longhand escapes when any component is invalid.
classOptional · pdftoolkit/html-to-pdfCascade
PDF\HtmlToPdf\CssAuthor cascade for a single DOM; no global selector cache or resource retrieval.
classOptional · pdftoolkit/html-to-pdfCascadedValue
PDF\HtmlToPdf\CssclassOptional · pdftoolkit/html-to-pdfColorFormatter
PDF\HtmlToPdf\CssSerialize computed color channels without locale dependence or CSS exponent syntax.
classOptional · pdftoolkit/html-to-pdfDeclarationSource
PDF\HtmlToPdf\CssRetrieves original values before a third-party AST normalizes numbers or colors.
classOptional · pdftoolkit/html-to-pdfDeclarations
PDF\HtmlToPdf\CssValidate and expand one complete declaration before it can participate in the cascade.
classOptional · pdftoolkit/html-to-pdfFontDeclarations
PDF\HtmlToPdf\CssExpand every component together; unsupported values invalidate the whole shorthand.
classOptional · pdftoolkit/html-to-pdfFontFamilyParser
PDF\HtmlToPdf\CssclassOptional · pdftoolkit/html-to-pdfFontValueToken
PDF\HtmlToPdf\CssclassOptional · pdftoolkit/html-to-pdfFontValueTokenizer
PDF\HtmlToPdf\CssSmall bounded lexer for font lists and the CSS1 font shorthand.
classOptional · pdftoolkit/html-to-pdfParserProjection
PDF\HtmlToPdf\CssAdapts parser limitations without changing the original declaration lexemes or offsets.
classOptional · pdftoolkit/html-to-pdfSelectorPolicy
PDF\HtmlToPdf\CssChecks parsed nodes, so escaped punctuation is never mistaken for a pseudo-class.
classOptional · pdftoolkit/html-to-pdfSpecifiedDeclarationValidator
PDF\HtmlToPdf\CssValidate the supported specified grammar without substituting a parent or layout context.
classOptional · pdftoolkit/html-to-pdfStyleComputer
PDF\HtmlToPdf\CssclassOptional · pdftoolkit/html-to-pdfStyleState
PDF\HtmlToPdf\CssPreserve a unitless line-height through inheritance until child font sizing.
classOptional · pdftoolkit/html-to-pdfTextValues
PDF\HtmlToPdf\CssText properties share signed lengths without changing non-negative box dimensions.
classOptional · pdftoolkit/html-to-pdfValues
PDF\HtmlToPdf\CssNarrow, explicit supported CSS value grammars.
classOptional · pdftoolkit/html-to-pdfDiagnostic
PDF\HtmlToPdfclassOptional · pdftoolkit/html-to-pdfDiagnostics
PDF\HtmlToPdfclassOptional · pdftoolkit/html-to-pdfBorderBox
PDF\HtmlToPdf\DrawingA slice of one border box. Patterns and joins use the unsliced geometry.
interfaceOptional · pdftoolkit/html-to-pdfCommand
PDF\HtmlToPdf\DrawingclassOptional · pdftoolkit/html-to-pdfImage
PDF\HtmlToPdf\DrawingclassOptional · pdftoolkit/html-to-pdfRadioButton
PDF\HtmlToPdf\DrawingExplicit static snapshot; this command never creates an interactive form field.
classOptional · pdftoolkit/html-to-pdfRectangle
PDF\HtmlToPdf\DrawingclassOptional · pdftoolkit/html-to-pdfText
PDF\HtmlToPdf\Drawingx and baseline y are in points from the page's top-left.
classOptional · pdftoolkit/html-to-pdfConversionException
PDF\HtmlToPdf\ExceptionclassOptional · pdftoolkit/html-to-pdfLimitExceeded
PDF\HtmlToPdf\ExceptionclassOptional · pdftoolkit/html-to-pdfUnsupportedFeature
PDF\HtmlToPdf\ExceptionclassOptional · pdftoolkit/html-to-pdfFontCatalog
PDF\HtmlToPdf\FontCaller-supplied family and generic bindings only; no filesystem or network lookup.
classOptional · pdftoolkit/html-to-pdfFontFace
PDF\HtmlToPdf\FontA caller-supplied, embeddable static TrueType face. No font discovery or file access.
classOptional · pdftoolkit/html-to-pdfFontLimits
PDF\HtmlToPdf\FontPer-font parsing and per-run shaping budgets; the converter also limits total work.
classOptional · pdftoolkit/html-to-pdfFontMetrics
PDF\HtmlToPdf\FontDistances in PDF points; descent is the positive distance below the baseline.
classOptional · pdftoolkit/html-to-pdfFontRun
PDF\HtmlToPdf\FontOne shaped source run, with the exact positions later consumed by the PDF painter.
classOptional · pdftoolkit/html-to-pdfFontSet
PDF\HtmlToPdf\FontExplicit variants, with no operating-system font lookup or synthetic bold/italic.
enumOptional · pdftoolkit/html-to-pdfFontStyle
PDF\HtmlToPdf\FontclassOptional · pdftoolkit/html-to-pdfGlyphSpacing
PDF\HtmlToPdf\FontAdd spacing to complete source graphemes, keeping attached marks in place.
classOptional · pdftoolkit/html-to-pdfLayoutPreparation
PDF\HtmlToPdf\FontFace-owned lazy preparation: unused variants never allocate layout tables.
classOptional · pdftoolkit/html-to-pdfPreparedLayout
PDF\HtmlToPdf\FontImmutable, face-scoped tables; shaping engines allocate fresh budgets per run.
enumOptional · pdftoolkit/html-to-pdfFormControls
PDF\HtmlToPdfForm rendering is opt-in and never creates submission actions or PDF fields.
classOptional · pdftoolkit/html-to-pdfHtmlSource
PDF\HtmlToPdfclassOptional · pdftoolkit/html-to-pdfCommandTranslation
PDF\HtmlToPdf\LayoutclassOptional · pdftoolkit/html-to-pdfFloatContext
PDF\HtmlToPdf\LayoutDocument-local exclusions; a floated box receives a fresh nested context.
classOptional · pdftoolkit/html-to-pdfFloatPlacement
PDF\HtmlToPdf\LayoutThe margin rectangle of one float in its formatting context.
classOptional · pdftoolkit/html-to-pdfFloatWorkBudget
PDF\HtmlToPdf\LayoutOne cumulative budget shared by every nested float context of a document.
classOptional · pdftoolkit/html-to-pdfFlowAssembly
PDF\HtmlToPdf\LayoutPreserve paint overflow while combining a bounded formatting context.
classOptional · pdftoolkit/html-to-pdfFlowBuilder
PDF\HtmlToPdf\LayoutBuilds bounded, page-independent flow slices. No shared caches or external resources.
classOptional · pdftoolkit/html-to-pdfFlowItem
PDF\HtmlToPdf\LayoutOne indivisible vertical slice, in document coordinates relative to its top.
classOptional · pdftoolkit/html-to-pdfInlineBlockSplitter
PDF\HtmlToPdf\LayoutSplit inline ancestors around block descendants without discarding text or inherited styles.
classOptional · pdftoolkit/html-to-pdfInlineFormatter
PDF\HtmlToPdf\LayoutHorizontal inline flow, measured with exactly the font shaper used by serialization.
classOptional · pdftoolkit/html-to-pdfInlinePiece
PDF\HtmlToPdf\LayoutclassOptional · pdftoolkit/html-to-pdfLayoutEngine
PDF\HtmlToPdf\LayoutStateless entry point. Every run receives fresh shaping, structure and pagination state.
classOptional · pdftoolkit/html-to-pdfLayoutPage
PDF\HtmlToPdf\LayoutclassOptional · pdftoolkit/html-to-pdfLineExclusions
PDF\HtmlToPdf\LayoutA block's horizontal bounds viewed through its shared float context.
classOptional · pdftoolkit/html-to-pdfLineSpace
PDF\HtmlToPdf\LayoutAvailable horizontal interval at a particular vertical position.
classOptional · pdftoolkit/html-to-pdfListCounter
PDF\HtmlToPdf\LayoutDocument-local integer numbering; an exhausted counter never becomes a float.
classOptional · pdftoolkit/html-to-pdfMarginCollapser
PDF\HtmlToPdf\LayoutPositive CSS adjoining margins form one maximum, including through empty blocks.
classOptional · pdftoolkit/html-to-pdfPageSettings
PDF\HtmlToPdf\LayoutclassOptional · pdftoolkit/html-to-pdfPagedDocument
PDF\HtmlToPdf\LayoutclassOptional · pdftoolkit/html-to-pdfPaginator
PDF\HtmlToPdf\LayoutPagination operates on indivisible lines/rows and always consumes a slice or fails.
classOptional · pdftoolkit/html-to-pdfSemanticTree
PDF\HtmlToPdf\LayoutA new tree is allocated for each document; source identifiers never become PDF names.
classOptional · pdftoolkit/html-to-pdfHtmlDocument
PDF\HtmlToPdf\ModelclassOptional · pdftoolkit/html-to-pdfNode
PDF\HtmlToPdf\ModelclassOptional · pdftoolkit/html-to-pdfSemanticNode
PDF\HtmlToPdf\ModelclassOptional · pdftoolkit/html-to-pdfBoundedTreeBuilder
PDF\HtmlToPdf\ParsingLimits are enforced as tokens arrive, before allocating the corresponding DOM nodes.
classOptional · pdftoolkit/html-to-pdfHtmlCompiler
PDF\HtmlToPdf\ParsingStateless facade: each invocation owns its DOM, cascade, budgets and node identities.
classOptional · pdftoolkit/html-to-pdfHtmlDoctypeProjection
PDF\HtmlToPdf\ParsingAdapt recognized standards-mode HTML4 metadata to the HTML5 parser's doctype grammar.
classOptional · pdftoolkit/html-to-pdfLinkTarget
PDF\HtmlToPdf\ParsingResolve an external annotation destination, without reading any referenced resource.
classOptional · pdftoolkit/html-to-pdfParseBudget
PDF\HtmlToPdf\ParsingCumulative work accounting owned by one conversion.
classOptional · pdftoolkit/html-to-pdfBorderPainter
PDF\HtmlToPdf\RenderingConstant operator work per side, independent of border length or dash count.
classOptional · pdftoolkit/html-to-pdfBounds
PDF\HtmlToPdf\RenderingAn enclosing rectangle in bottom-left PDF page coordinates.
classOptional · pdftoolkit/html-to-pdfEmbeddedFont
PDF\HtmlToPdf\RenderingCollect the document's exact glyph/text pairs before allocating PDF character codes.
classOptional · pdftoolkit/html-to-pdfFontResources
PDF\HtmlToPdf\RenderingclassOptional · pdftoolkit/html-to-pdfImageResources
PDF\HtmlToPdf\RenderingclassOptional · pdftoolkit/html-to-pdfPagePainter
PDF\HtmlToPdf\RenderingConverts one page's top-left layout coordinates into PDF operators and explicit associations.
classOptional · pdftoolkit/html-to-pdfRadioButtonPainter
PDF\HtmlToPdf\RenderingFixed vector appearance for the explicitly requested static form snapshot.
classOptional · pdftoolkit/html-to-pdfRenderBudget
PDF\HtmlToPdf\RenderingShared cumulative accounting for one render, never retained by the renderer.
classOptional · pdftoolkit/html-to-pdfRenderer
PDF\HtmlToPdf\RenderingStateless facade: each render owns its fonts, resources, parent keys and structure graph.
classOptional · pdftoolkit/html-to-pdfSemanticTree
PDF\HtmlToPdf\RenderingPreserves semantic order independently of page order and paint order.
classOptional · pdftoolkit/html-to-pdfTextBounds
PDF\HtmlToPdf\RenderingclassOptional · pdftoolkit/html-to-pdfCatalogUri
PDF\HtmlToPdf\ResourcePure reference resolution: the result is only a key into an explicit catalog.
classOptional · pdftoolkit/html-to-pdfImageAsset
PDF\HtmlToPdf\ResourceclassOptional · pdftoolkit/html-to-pdfResourceBudget
PDF\HtmlToPdf\ResourceCounts the whole explicitly supplied catalog, including unused resources.
classOptional · pdftoolkit/html-to-pdfResourceCatalog
PDF\HtmlToPdf\ResourceclassOptional · pdftoolkit/html-to-pdfBorderSide
PDF\HtmlToPdf\StyleWidth and style stay independent, including zero-width and transparent borders.
enumOptional · pdftoolkit/html-to-pdfBorderStyle
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfBorders
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfColor
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfComputedStyle
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfEdges
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfFontFamilyList
PDF\HtmlToPdf\StyleAn empty list selects the caller's original default FontSet.
classOptional · pdftoolkit/html-to-pdfFontFamilyName
PDF\HtmlToPdf\StyleQuoted family names remain distinct from the five generic CSS1 keywords.
classOptional · pdftoolkit/html-to-pdfLength
PDF\HtmlToPdf\StyleclassOptional · pdftoolkit/html-to-pdfRadioSnapshotStyle
PDF\HtmlToPdf\StyleA static radio glyph has an explicit, deliberately narrow CSS geometry profile.
classOptional · pdftoolkit/html-to-pdfTextIndent
PDF\HtmlToPdf\StyleSigned first-line offset, with percentages retained until the containing width is known.
classOptional · pdftoolkit/html-to-pdfTextSpacing
PDF\HtmlToPdf\StyleComputed text spacing in points; null preserves the CSS normal keyword.
enumOptional · pdftoolkit/html-to-pdfUnsupportedPolicy
PDF\HtmlToPdf