Working with Text Documents

From OpenOffice.org Wiki

Jump to: navigation, search
PAGE_TITLE: V29ya2luZyB3aXRoIFRleHQgRG9jdW1lbnRz

Word Processing

The text model in the illustration below shows that working with text starts with the method getText() at the XTestDocument interface of the document model. It returns a com.sun.star.text.Text service that handles text in OpenOffice.org.

The Text service has two mandatory interfaces and no properties:

Service com.sun.star.text.Text (mandatory interfaces only)
Service com.sun.star.text.Text (mandatory interfaces only)

The XText is used to edit a text, and XEnumerationAccess is used to iterate over text. The following sections discuss these aspects of the Text service.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools