Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: 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 ContentAction constants.
Content
  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:
  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)
Id
  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:
  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

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.