Shape Types
The following table lists all shapes supported in Draw and Impress documents. They come from the com.sun.star.drawing. Each shape is based on com.sun.star.drawing.Shape. Additionally, there are five services in the module com.sun.star.drawing that most of the shapes have in common:
com.sun.star.drawing.Text, com.sun.star.drawing.LineProperties, com.sun.star.drawing.FillProperties and com.sun.star.drawing.ShadowProperties handle shape formatting, whereas com.sun.star.drawing.RotationDescriptor controls rotation and shearing. The section General Drawing Properties below discusses shape formatting in more detail. Refer to the section Shape Operations for information on rotation and shearing.
An x denotes which of these services are supported by each shape. The rightmost column shows the services, interfaces and properties that are specific for the various shapes.
ShapeType | Text | Line Properties | Fill Properties | Shadow Properties | Rotation Descriptor | Supported services, Exported interfaces, Properties |
---|---|---|---|---|---|---|
ClosedBezierShape | included service: | |||||
ConnectorShape | included service: com.sun.star.drawing.ConnectorProperties properties: | |||||
ControlShape | exported interface:com.sun.star.drawing.XControlShape | |||||
EllipseShape | properties:com.sun.star.drawing.CircleKind CircleKind long CircleStartAngle | |||||
GraphicObjectShape | properties: string GraphicURL optional properties: | |||||
GroupShape | exported interfaces: com.sun.star.drawing.XShapeGroup | |||||
LineShape | included service: | |||||
MeasureShape | included service: com.sun.star.drawing.MeasureProperties properties: | |||||
OLE2Shape | properties: string CLSID readonly properties: | |||||
OpenBezierShape | included service: | |||||
PageShape | ||||||
PolyLineShape | included service: | |||||
PolyPolygonBezierShape | included service: | |||||
PolyPolygonShape | included service: | |||||
RectangleShape | properties: long CornerRadius | |||||
TextShape | properties: long CornerRadius | |||||
PluginShape | properties: string PluginMimeType |
Content on this page is licensed under the Public Documentation License (PDL). |