Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

PasteOptions

Synopsis

struct PasteOptions {
    boolean reuseItemIds;
    boolean returnOriginalItemIds;
    boolean ignoreComposableGeometries;
}

The complex type PasteOptions defines two optional attributes:

reuseItemIds

Default: true

If false, newly inserted items will have new unique item IDs. If true, newly inserted items will have the item ID found in the OBX stream unless there is already another item using this item ID (in which case a new unique item ID will be used).

returnOriginalItemIds

Default: false

If false, the sequence returned by the paste operation contains the item IDs of all newly inserted items. If true, the sequence contains twice as many entries. Entries at even indices (zero-based) contain IDs of newly inserted items, whereas entries at odd indices contain the corresponding item ID of the item as found in the OBX stream.

IgnoreComposableGeometries

Default: false

  • If set to true, operations paste (§paste) and pasteContainer ignore <composableGeometry/> elements.

The default values are used if no options argument has been passed to paste, or if the attribute has not been specified.