Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: ucb ::
interface XContent
Description specifies a content with a type and an identifier, which is able to manage listeners for events that are related to contents. See also XContentIdentifier, XContentEventListener Developers Guide UCB - Services and Interfaces

Methods' Summary
getIdentifier | returns the identifier of the content.
getContentType | returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder").
addContentEventListener | adds a listener for content events.
removeContentEventListener | removes a listener for content events.

Methods' Details
getIdentifier
XContentIdentifier
getIdentifier();
Description returns the identifier of the content. Returns the identifier.
getContentType
string
getContentType();
Description returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder"). Returns the content type string.
addContentEventListener
void
addContentEventListener( | [in] XContentEventListener | Listener );
Description adds a listener for content events. Parameter Listener the listener to add. See also ContentEvent
removeContentEventListener
void
removeContentEventListener( | [in] XContentEventListener | Listener );
Description removes a listener for content events. Parameter Listener the listener to remove. See also ContentEvent

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.