(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: container ::

interface XContentEnumerationAccess
Description
allows access to the collections of all content types within the object.
Example

This example prints the names of all tables:

 xTextTableEnum = xTextDoc.createContentEnumeration( "com::sun::star::text::TextTable" )
 while xTextTableEnum.hasMoreElements() do
 print xTextTableEnum.nextElement().Name
 wend
 
Developers Guide
Text - Iterating over Text
ProUNO - Service Manager - XContentEnumerationAccess Interface

Methods' Summary
createContentEnumeration  
getAvailableServiceNames  
Methods' Details
createContentEnumeration
XEnumeration
createContentEnumeration( [in] string  aServiceName );

Returns
a new enumeration object for the contents of the specified service type.
getAvailableServiceNames
sequence< string >
getAvailableServiceNames();

Returns
all names of services of which instances exist in this object.

XContentEnumerationAccess::createContentEnumeration creates an enumeration for all the service names which are listed here. For all others it creates no enumeration.

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.