davinder101
asked on
extract rich text item into a html file
Hi All
I want to extract rich text item into a html file.
code is attached below, but it gives error.
so how can i export the rich text item into html file ?
Thanks in Advance
I want to extract rich text item into a html file.
code is attached below, but it gives error.
so how can i export the rich text item into html file ?
Thanks in Advance
try
{
LNNoteSession.Init();
...GetDatabase("","","");
//Open database,Get a notes document notesDoc
notesDoc.GetItem("Body",&rt);//LNRichText rt;
rt.GetCursor(&startCursor);
rt.GetEndCursor(&endCursor);
...
rt.export("test.html",startCursor,endCursor,"HTML");
}
catch(){}
ASKER
i am using C++ and export method is the member function of LNRichText Class in C Api of Lotus Notes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There are many examples available of how to interface with Notes. Can you start there? There's no such thing as an Export-method of a RichTextItem in Java, the GetItem seems wrong, and more.
Maybe it's easier if you open the database using a browser object, if that is possible?