Zugriff auf Formatierung von Documents in Lotus Domino durch Java ???

  • Hallo,


    ich möchte mitHilfe von java auf Documents innerhalb von Lotus Domino zugreifen.


    Das klappt auch alles, jedoch kriege ich immer nur den Text ... völlig ohne die Formatierung, wie ich sie in meinem Notes Client sehe.


    mein Code sieht zur Zeit so aus :
    "
    notesExecute.connect(SERVER_NAME, DATABASE_NAME, USER, PWD);
    Iterator infos = notesExecute.getDocumentIterator();
    Document document = null;
    int i = 0;
    while (infos.hasNext())
    {
    try
    {
    document = (Document) infos.next();
    RichTextItem body = (RichTextItem) document.getFirstItem("text");



    ...
    "


    Obwohl ich RichTextItems habe, bekomme ich nur Text ... völlig ohne Formatierung.


    wer weiß, wie ich die Formatierung zusätzlich bekommen kann ??


    Servus,


    Breiti