:: com :: sun :: star :: ucb ::

struct ContentEvent
Base Hierarchy
ContentEvent
 ┗ ::com::sun::star::lang::EventObject
Description
A structure for content events.

Elements' Summary
Action The action.  
Content The content to that the action is related (e.g., the content that was just physically destroyed, the content that was just inserted into a folder content).  
Id A content identifier, which must be filled according to the action notified (e.g., the id of the folder content into which another content was inserted).  
Elements' Details
Action
long Action;
Description
The action.

The value can be one of the ::com::sun::star::ucb::ContentAction constants.

Content
::com::sun::star::ucb::XContent Content;
Description
The content to that the action is related (e.g., the content that was just physically destroyed, the content that was just inserted into a folder content).

This member must be filled as follows:
::com::sun::star::ucb::ContentAction::INSERTED The content inserted into a folder
::com::sun::star::ucb::ContentAction::REMOVED The content removed from a folder
::com::sun::star::ucb::ContentAction::DELETED The deleted content
::com::sun::star::ucb::ContentAction::EXCHANGED The exchanged content (that already has the new content id)

Id
::com::sun::star::ucb::XContentIdentifier Id;
Description
A content identifier, which must be filled according to the action notified (e.g., the id of the folder content into which another content was inserted).

This member must be filled as follows:
::com::sun::star::ucb::ContentAction::INSERTED Id of the folder the content was inserted into
::com::sun::star::ucb::ContentAction::REMOVED Id of the folder the content was removed from
::com::sun::star::ucb::ContentAction::DELETED Id of the deleted content
::com::sun::star::ucb::ContentAction::EXCHANGED Previous(!) id of the exchanged content

Top of Page