LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
ContentEvent Struct Referencepublished

A structure for content events. More...

import "ContentEvent.idl";

Inheritance diagram for ContentEvent:
EventObject

Public Attributes

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

Detailed Description

A structure for content events.

Member Data Documentation

◆ Action

long Action

The action.

The value can be one of the ContentAction constants.

◆ 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).

This member must be filled as follows:

ContentAction::INSERTEDThe content inserted into a folder
ContentAction::REMOVEDThe content removed from a folder
ContentAction::DELETEDThe deleted content
ContentAction::EXCHANGEDThe exchanged content (that already has the new content id)

◆ 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::INSERTEDId of the folder the content was inserted into
ContentAction::REMOVEDId of the folder the content was removed from
ContentAction::DELETEDId of the deleted content
ContentAction::EXCHANGEDPrevious(!) id of the exchanged content

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