**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 OdCustomShape extends OdStyledObject
```

La forme personnalisée du document ouvert.
## Constructeurs

| Constructeur | Description |
| --- | --- |
| [OdCustomShape(OdObject parent)](#OdCustomShape-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initialise une nouvelle instance de la classe `OdCustomShape`. |
## Méthodes

| Méthode | Description |
| --- | --- |
| [getStyleName()](#getStyleName--) | Obtient ou définit le nom du style. |
| [setStyleName(String value)](#setStyleName-java.lang.String-) | Obtient ou définit le nom du style. |
| [getTextStyleName()](#getTextStyleName--) | Obtient ou définit le nom du style de texte. |
| [setTextStyleName(String value)](#setTextStyleName-java.lang.String-) | Obtient ou définit le nom du style de texte. |
| [getLayer()](#getLayer--) | Obtient ou définit le calque. |
| [setLayer(String value)](#setLayer-java.lang.String-) | Obtient ou définit le calque. |
### OdCustomShape(OdObject parent) {#OdCustomShape-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdCustomShape(OdObject parent)
```


Initialise une nouvelle instance de la classe `OdCustomShape`.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | Le parent. |

### getStyleName() {#getStyleName--}
```
public String getStyleName()
```


Obtient ou définit le nom du style.

**Returns:**
java.lang.String - Le nom du style.
### setStyleName(String value) {#setStyleName-java.lang.String-}
```
public void setStyleName(String value)
```


Obtient ou définit le nom du style.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| valeur | java.lang.String | Le nom du style. |

### getTextStyleName() {#getTextStyleName--}
```
public String getTextStyleName()
```


Obtient ou définit le nom du style de texte.

**Returns:**
java.lang.String - Le nom du style de texte.
### setTextStyleName(String value) {#setTextStyleName-java.lang.String-}
```
public void setTextStyleName(String value)
```


Obtient ou définit le nom du style de texte.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| valeur | java.lang.String | Le nom du style de texte. |

### getLayer() {#getLayer--}
```
public String getLayer()
```


Obtient ou définit le calque.

**Returns:**
java.lang.String - Le calque.
### setLayer(String value) {#setLayer-java.lang.String-}
```
public void setLayer(String value)
```


Obtient ou définit le calque.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| valeur | java.lang.String | Le calque. |

