:: com :: sun :: star :: text ::

service Paragraph
Description
is a piece of text which can take its own paragraph-specific attributes (technically, properties).
Developers Guide
7.3.1 Text Documents - Working with Text Documents - Word Processing - Iterating over Text
7.3.2 Text Documents - Working with Text Documents - Formatting

Included Services
::com::sun::star::style::ParagraphProperties
[ OPTIONAL ]
Description
This service is present when the paragraph object refers to a text range
::com::sun::star::style::CharacterProperties
[ OPTIONAL ]
Description
This service is present when the paragraph object refers to a text range
::com::sun::star::style::CharacterPropertiesAsian
[ OPTIONAL ]
Description
This service is present when the paragraph object refers to a text range
::com::sun::star::style::CharacterPropertiesComplex
[ OPTIONAL ]
Description
This service is present when the paragraph object refers to a text range
TextTable
[ OPTIONAL ]
Description
This service is present when the paragraph object refers to a text table
TextContent
is an object which can be anchored in a text, like instances of TextFrame or TextFields .
Exported Interfaces
::com::sun::star::beans::XPropertySet
Description
This interface gives access to the properties of the paragraph itself (or its style sheet). So this interface may show property values which are not valid for any of the text portions of the paragraph, if the text itself has its own style properties set.
::com::sun::star::beans::XPropertyState
Description
This interface gives access to the state of the property values in these properties. So, it is possible to determine if a specific properties value is defined in the paragraph or its style sheet.
::com::sun::star::container::XEnumerationAccess
Description
This interface enumerates the text portions of this paragraph.

A text portion is defined as the largest possible TextRange within a paragraph with the same property values and the same bound objects.

In general this interface is used for exporting into file formats.

See also
TextRange

 
Top of Page