klehmann / domino-jna

Java project to access the IBM/HCL Domino C API using Java Native Access (JNA)
Apache License 2.0
66 stars 17 forks source link

Sample of Get document fields #59

Closed sattam-datum closed 3 years ago

sattam-datum commented 3 years ago

I need sample code to get document fields and how to convert rich text fields to html along with thier attachment and note that rich text might have inline images

klehmann commented 3 years ago

Here is an example for document loading (NotesNote) and richtext conversion to HTML: https://github.com/klehmann/domino-jna/blob/master/domino-jna/src/test/java/com/mindoo/domino/jna/test/TestRichtextConversionToHTML.java

Regarding reading item values, there are several getItemValueXXX methods in the NotesNote class.

sattam-datum commented 3 years ago

It's working fine thanks