Difference between revisions of "Documentation/DevGuide/Text/Working with Text Documents"
From Apache OpenOffice Wiki
< Documentation | DevGuide
(→Word Processing: "XTestDocument" -> "XTextDocument") |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
Line 6: | Line 6: | ||
|NextPage=Documentation/DevGuide/Text/Editing Text | |NextPage=Documentation/DevGuide/Text/Editing Text | ||
}} | }} | ||
− | {{DISPLAYTITLE:Working with Text Documents}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Working with Text Documents}} | ||
=== Word Processing === | === Word Processing === | ||
<!--<idltopic>com.sun.star.text.Text</idltopic>--> | <!--<idltopic>com.sun.star.text.Text</idltopic>--> |
Revision as of 10:07, 14 May 2009
- Working with Text Documents
Word Processing
The text model in the illustration below shows that working with text starts with the method getText()
at the XTextDocument
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:
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). |