GetRichDocumentAsHtmlFragment (open)

Format a whfs instance rich document

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

BLOB FUNCTION GetRichDocumentAsHtmlFragment(RECORD indata, RECORD options)

Parameters

RECORD indata

Richdocument to format

RECORD options

Formatting options

BOOLEAN stripbodytags

Whether to strip <html> and <body> tags from the output (default: FALSE)

Return value

BLOB

HTML code for the document

Description

Get a richdocument from contenttype data and format it with embedded links. This function does not supported embedded objects