Oxygen XML Editor 12.2 Author API

ro.sync.ecss.extensions.api.content
Interface ClipboardFragmentInformation


public interface ClipboardFragmentInformation

Provides information about a fragment in the clipboard.

Since:
12.2

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.


Method Summary
 java.lang.String getClipboardObjectID()
          Get an unique ID of this object taken from the clipboard.
 AuthorDocumentFragment getFragment()
          Get the fragment which will be pasted/dropped.
 java.lang.String getFragmentOriginalLocation()
          Get the URL of the file from which the fragment was copied.
 int getPurposeID()
          Get the purpose for which this fragment is used.
 

Method Detail

getPurposeID

int getPurposeID()
Get the purpose for which this fragment is used. One of the constants:

Returns:
The purpose for which this fragment is used.

getClipboardObjectID

java.lang.String getClipboardObjectID()
Get an unique ID of this object taken from the clipboard. For example if multiple pastes are made with same content, the same object ID is returned.

Returns:
An unique ID of this object taken from the clipboard.

getFragmentOriginalLocation

java.lang.String getFragmentOriginalLocation()
Get the URL of the file from which the fragment was copied.

Returns:
The URL of the file from which the fragment was copied.

getFragment

AuthorDocumentFragment getFragment()
Get the fragment which will be pasted/dropped.

Returns:
The fragment which will be pasted/dropped.

Oxygen XML Editor 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.