**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odstyledobject)
```
public class OdTextParagraph extends OdStyledObject
```

Textstycket
## Konstruktörer

| Konstruktor | Beskrivning |
| --- | --- |
| [OdTextParagraph(OdObject parent)](#OdTextParagraph-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initierar en ny instans av klassen `OdTextParagraph`. |
## Metoder

| Metod | Beskrivning |
| --- | --- |
| [getText()](#getText--) | Hämtar texten. |
| [setText(String value)](#setText-java.lang.String-) | Ställer in texten. |
### OdTextParagraph(OdObject parent) {#OdTextParagraph-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdTextParagraph(OdObject parent)
```


Initierar en ny instans av klassen `OdTextParagraph`.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | Föräldern. |

### getText() {#getText--}
```
public final String getText()
```


Hämtar texten.

**Returns:**
java.lang.String - texten.
### setText(String value) {#setText-java.lang.String-}
```
public final void setText(String value)
```


Ställer in texten.

**Parameters:**
| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| värde | java.lang.String | texten. |

