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

interface XContentEnumerationAccess
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XContentEnumerationAccess
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
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
3.3.2 Professional UNO - UNO Concepts - Service Manager and Component Context - Service Manager - XContentEnumerationAccess Interface
7.3.1 Text Documents - Working with Text Documents - Word Processing - Iterating over 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.

::com::sun::star::container::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