LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
ContentEvent Struct Referencepublished

A structure for content events. More...

import"ContentEvent.idl";

Inheritance diagram for ContentEvent:
EventObject

Public Attributes

long Action
 The action. More...
 
XContent 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). More...
 
XContentIdentifier 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). More...
 
- Public Attributes inherited from EventObject
com::sun::star::uno::XInterface Source
 refers to the object that fired the event. More...
 

Detailed Description

A structure for content events.

Member Data Documentation

long Action

The action.

The value can be one of the ContentAction constants.

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:

ContentAction::INSERTED The content inserted into a folder
ContentAction::REMOVED The content removed from a folder
ContentAction::DELETED The deleted content
ContentAction::EXCHANGED The exchanged content (that already has the new 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).

This member must be filled as follows:

ContentAction::INSERTED Id of the folder the content was inserted into
ContentAction::REMOVED Id of the folder the content was removed from
ContentAction::DELETED Id of the deleted content
ContentAction::EXCHANGED Previous(!) id of the exchanged content

The documentation for this struct was generated from the following file: