rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library

Cookbook

Generate HTML

Start search Mail feedback Back to Description


appendText (rtContainer) appendText (rTextParagraph) getRichTextItem HTML (rtStyle) HTML (rTextParagraph)

Code fragment from sample "Generate HTML"; see full running samples in downloadable help.
Dim txt as String
call ctxDump.getRichTextItem(doc,"Body")

rtlibSession.URLFormat = URL_FORMAT_REPLICAID
rtLibSession.URLCommandMarker = "?"
txt = "1: " &ctxDump.html
rtLibSession.URLCommandMarker = "!"
txt = txt & CRLF & " 2: " & ctxDump.html

rtlibSession
.URLFormat = URL_FORMAT_REPLICAID_NSF
txt = txt & CRLF & " 3: " &ctxDump.html

rtlibSession
.URLFormat = URL_FORMAT_FILEPATH ' filepath format will have no effect as link point to locally non-existant DBs
txt = txt & CRLF & " 4: " &ctxDump.html
ctxDump.appendText txt