![]() ![]() private string ConvertDocumentToHml(Domino.NotesDocument doc, string sectionList = null) ![]() Here is the method I use that takes a NotesDocument and returns the HTML for the doc as a string. But be sure to include the charset parameter as well - Japanese documents were unreadable without specifying utf-8 as the charset. OpenDocument also allows you to expand sections (I am unsure if OpenField does) If you do not need to get the Richtext from the items specifically, you can use ?OpenDocument, which is documented (at least) here: How to convert text and rich text fields in a document to html using lotusscript? I put up some sample code in a similar SO post here:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |