Examples of embedObject()


Examples of lotus.domino.RichTextItem.embedObject()

    try {
      if (doc instanceof lotus.domino.Document) {
        lotus.domino.Document lotusDoc = (lotus.domino.Document) doc;
        RichTextItem rti = lotusDoc.createRichTextItem("body");
        rti.appendText("This is autoexec.bat:");
        rti.embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", "c:\\autoexec.bat", null).recycle();
        rti.compact();
        rti.recycle();
      }
    } catch (NotesException ex) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.