The drawing of a custom shape is build from a sequence of points. That aspect is similar to the paths of Bézier curves and polygons. But there is no UI to access the points directly. So when you want something beyond the predefined shapes, you need to edit the markup in the file or you need to write macros. I have edited the markup.
In general all point coordinates in a custom shape are relative to the shape width and height, which means you say “the x-coordinate of the point is 17% of the width of the shape”, for example.
The path in a custom shape has enhanced possibilities compared to Bèzier curves and polygons. You can not only determine a point directly by numbers, but you can use formula results too. And one of the ‘functions’ possible in a formula is ‘logheight’. It returns the current total height of the shape - not relative but as absolute value in thousandth of millimeter. My formula uses this function.
You can copy the shape into an empty Draw document and save it to the flat file format .fodg. Then you can open the file in an editor and you will see the markup. The part for the custom shape will be near the end of the document.
Older articles about creating own custom shapes are
Eisenberg, David: Custom Shapes in OpenOffice.org. 2005
http://books.evc-cit.info/books/odbook/custom_shapes_article.pdf
or my first start in Create a New Custom Shape in Source in File - Apache OpenOffice Wiki
Do you have deeper interest in this topic? Then we need to find a different way then using Ask. As mikekaganski already mentioned, creating own custom shapes is not trivial. You need some knowledge in XML markup and in geometry.