OmitOLEObjects (DxlExporter - Java)

Read-write. Specifies whether to omit OLE objects that occur within documents.

Note: This property is new with Release 8.

Defined in


Data type



public boolean getOmitOLEObjects()
    throws NotesException
public void setOmitOLEObjects(boolean flag)
    throws NotesException

Legal values

  • True indicates the Exporter should omit any OLE objects that occur within documents. Use this option to save space and improve Exporter performance when exporting documents whose OLE objects are not needed.
  • False (default) indicates all OLE objects will be included in the DXL output.


Omitting an OLE object from a document affects both the <objectref> within <richtext> that refers to the OLE object, and the corresponding set of <item>s with name='$FILE' that contains the OLE object's data. Use OLEObjectOmittedText to specify replacement text (if desired) for where the <objectref> is omitted.