HPDFHeadlessRichTextValuesWithWorkspace
procedure HPDFHeadlessRichTextValuesWithWorkspace(const Runs: THPDFHeadlessRichTextRuns;
MaximumUnits: Integer; out PlainText,RichText: UnicodeString;
Workspace: THPDFWorkspaceAdmission);
Declared in HPDFHeadlessAppearance
Produces the same plain-text and XHTML values as HPDFHeadlessRichTextValues while admitting temporary strings and checking bounded copy work through the borrowed owner
Borrowed admission
Workspace is a borrowed THPDFWorkspaceAdmission; keep it alive for the entire call and do not reset its cumulative ledger during a failed attempt or retry
Pass nil to retain the original call behavior without a borrowed workspace; the original function signature remains available
Admission occurs before the implemented allocations or generated identities; bounded copy and operation checkpoints can also call Reserve(0)
An exception raised by the owner remains the operation failure; cleanup must remain possible after cancellation and must not replace that exception
See HPDFHeadlessRichTextValues for the unchanged input and output contract
See workspace admission and native runtimes for ledger categories and lifetime boundaries