---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/shapetypemapping
---

# ShapeTypeMapping — Aspose.Slides FOSS Java API Reference

## Overview

`ShapeTypeMapping` mapping between OOXML preset geometry names (ST_ShapeType) and ShapeType enum member names (as strings). Browse the properties and methods in the tables below to understand the complete public API surface of this type. All members listed here are part of the stable public API and may be used in production code targeting the FOSS edition.

**Package**: `org.aspose.slides.foss.internal.pptx`

---

## Methods

| Method | Returns | Description |
|---|---|---|
| `ooxmlPrstToShapeTypeName(String prst)` | `Optional<String>` | Converts an OOXML prstGeom prst attribute value to the corresponding ShapeType enum member name. |
| `shapeTypeNameToOoxmlPrst(String name)` | `Optional<String>` | Converts a ShapeType enum member name to its OOXML prstGeom prst attribute value. |

---

## See Also

- [Aspose.Slides FOSS Java API Reference home](/slides/java/)
- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)