Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XContentEnumerationAccess

Base Interface
com::sun::star::uno::XInterface

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.getNextElement().Name
 wend


Known Services which Export this Interface

com::sun::star::lang::ServiceManager provides a collection of implementations for services.
com::sun::star::lang::ServiceManager provides a collection of implementations for services.
com::sun::star::text::TextPortion A TextPortion is a piece of text within a paragraph that does not contain changes of its attributes inside.
com::sun::star::text::TextRange points to a sequence of characters within a Text .

Methods' Summary

createContentEnumeration
getAvailableServiceNames

Methods' Details

createContentEnumeration
 
com::sun::star::container::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 a non-empty enumeration for all the service names which are listed here. For all others it creates no enumeration.


Top of Page