Difference between revisions of "Documentation/DevGuide/Drawings/Shape Types"
OOoWikiBot (Talk | contribs) m (Robot: Changing Category:Drawing Documents and Presentation Documents) |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
|NextPage=Documentation/DevGuide/Drawings/Bezier Shapes | |NextPage=Documentation/DevGuide/Drawings/Bezier Shapes | ||
}} | }} | ||
− | {{DISPLAYTITLE:Shape Types}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Drawings/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Shape Types}} | ||
[[Image:ShapeTypes1.png|none|thumb|400px|ShapeTypes]] | [[Image:ShapeTypes1.png|none|thumb|400px|ShapeTypes]] | ||
[[Image:ShapeTypes2.png|none|thumb|400px|ShapeTypes]] | [[Image:ShapeTypes2.png|none|thumb|400px|ShapeTypes]] | ||
Line 15: | Line 16: | ||
<idl>com.sun.star.drawing.Text</idl>, <idl>com.sun.star.drawing.LineProperties</idl>, <idl>com.sun.star.drawing.FillProperties</idl> and <idl>com.sun.star.drawing.ShadowProperties</idl> handle shape formatting, whereas <idl>com.sun.star.drawing.RotationDescriptor</idl> controls rotation and shearing. The section [[Documentation/DevGuide/Drawings/General Drawing Properties|General Drawing Properties]] below discusses shape formatting in more detail. Refer to the section [[Documentation/DevGuide/Drawings/Shape Operations|Shape Operations]] for information on rotation and shearing. | <idl>com.sun.star.drawing.Text</idl>, <idl>com.sun.star.drawing.LineProperties</idl>, <idl>com.sun.star.drawing.FillProperties</idl> and <idl>com.sun.star.drawing.ShadowProperties</idl> handle shape formatting, whereas <idl>com.sun.star.drawing.RotationDescriptor</idl> controls rotation and shearing. The section [[Documentation/DevGuide/Drawings/General Drawing Properties|General Drawing Properties]] below discusses shape formatting in more detail. Refer to the section [[Documentation/DevGuide/Drawings/Shape Operations|Shape Operations]] for information on rotation and shearing. | ||
− | {{ | + | {{Note|The service <idl>com.sun.star.drawing.Text</idl> is different from other Text services. It consists of the service <idl>com.sun.star.drawing.TextProperties</idl> and the interface <idl>com.sun.star.text.XText</idl> that was introduced in the chapter [[Documentation/DevGuide/FirstSteps/First Steps|First Steps]]. Drawing text does not supports text contents other than paragraphs consisting of character strings.}} |
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. | 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. |
Latest revision as of 14:22, 20 December 2020
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.
The service com.sun.star.drawing.Text is different from other Text services. It consists of the service com.sun.star.drawing.TextProperties and the interface com.sun.star.text.XText that was introduced in the chapter First Steps. Drawing text does not supports text contents other than paragraphs consisting of character strings. |
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). |