THPDFHeadlessRichTextStyleSheet

THPDFHeadlessRichTextStyleSheet = record
  URI, CSS, ContentType: UnicodeString;
end;

One caller-supplied stylesheet resource in HPDFHeadlessRichTextCodec

URI is a nonempty resource identifier resolved against the decoder's DocumentURI; CSS contains decoded Unicode stylesheet text, and ContentType may be empty or text/css, with optional MIME parameters

Other content types are retained in the supplied collection but their styles are not applied; a leading Unicode BOM is removed before parsing CSS

The decoder resolves references against this resource's own URI when processing its imports

Resource collection · External stylesheet behavior