Difference between revisions of "Documentation/DevGuide/Text/Working with Text Documents"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (FINAL VERSION FOR L10N)
(Word Processing)
Line 8: Line 8:
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}}  
 
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Text/{{SUBPAGENAME}}}}  
 
  {{DISPLAYTITLE:Working with Text Documents}}
 
  {{DISPLAYTITLE:Working with Text Documents}}
=== Word Processing ===
+
=== W
<!--<idltopic>com.sun.star.text.Text</idltopic>-->
+
The text model in the illustration below shows that working with text starts with the method <code>getText()</code> at the <code>XTextDocument</code> interface of the document model. It returns a <idl>com.sun.star.text.Text</idl> service that handles text in {{PRODUCTNAME}}.
+
 
+
The Text service has two mandatory interfaces and no properties:
+
 
+
[[Image:TextServiceSimple.png|none|thumb|400px|Service com.sun.star.text.Text (mandatory interfaces only)]]
+
 
+
The <code>XText</code> is used to edit a text, and <code>XEnumerationAccess</code> is used to iterate over text. The following sections discuss these aspects of the Text service.
+
 
+
{{PDL1}}
+
 
+
[[Category:Documentation/Developer's Guide/Text Documents]]
+

Revision as of 14:32, 4 August 2013



=== W

Personal tools
In other languages