copyItemToDocument (Item - Java™)
Copies an item to a specified document.
Defined in
Syntax
public Item copyItemToDocument(Document doc)
throws NotesException
public Item copyItemToDocument(Document doc, String newname)
throws NotesException
Parameters
Document doc
The document on which to create the item. Cannot be null.
String newname
The name of the new item. Specify an empty string ("") if you want to keep the name of the original item.
Return value
Item
The new item.
Usage
When you call this method using a RichTextItem object, file attachments, embedded objects, and object links that are contained within the rich-text item are not copied to the destination document.