service Shape in module com::sun::star::drawing::

(Global Index)

Syntax

service Shape;

Description

This abstract service specifies the general characteristics of all Shape s.

See also

XShape

See also

XComponent

See also

XText

See also

ShapeDescriptor

Exported Interfaces

com::sun::star::beans::XPropertySet

Description

handles all the properties of this instance.


com::sun::star::drawing::XShape

Description

This gives you the size and position of this Shape and lets you change it. You can use getShapeType to determine what kind of shape this is.


com::sun::star::lang::XComponent

Description

is used for lifetime control of this Shape .


com::sun::star::drawing::XShapeDescriptor

Description

The XShapeDescriptor tells you what kind of Shape this instance is.


com::sun::star::drawing::XGluePointsSupplier [ OPTIONAL ]

Description

This interfaces gives access to an optional container of glue points. To have unique ids you should query the returned interface for com::sun::star::container::XIdentifierContainer .


Property Summary

ZOrder is used to query or change the ZOrder of this Shape .

LayerID This is the ID of the Layer to which this Shape is attached.

LayerName This is the name of the Layer to which this Shape is attached.

Printable If this is false , the Shape is not visible on printer outputs.

MoveProtect With this set to true , this Shape cannot be moved interactively in the user interface.

Name This is the name of this Shape .

SizeProtect With this set to true , this Shape may not be sized interactively in the user interface.

Style this property lets you get and set a style for this shape.

Transformation this property lets you get and set the transformation matrix for this shape. The transformation is a 3x3 homogen matrix and can contain translation, rotation, shearing and scaling.

ShapeUserDefinedAttributes this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.

Property Details



ZOrder [ O P T I O N A L ]

Syntax

long ZOrder;

Description

is used to query or change the ZOrder of this Shape .


LayerID [ O P T I O N A L ]

Syntax

short LayerID;

Description

This is the ID of the Layer to which this Shape is attached.


LayerName [ O P T I O N A L ]

Syntax

string LayerName;

Description

This is the name of the Layer to which this Shape is attached.


Printable [ O P T I O N A L ]

Syntax

boolean Printable;

Description

If this is false , the Shape is not visible on printer outputs.


MoveProtect [ O P T I O N A L ]

Syntax

boolean MoveProtect;

Description

With this set to true , this Shape cannot be moved interactively in the user interface.


Name [ O P T I O N A L ]

Syntax

string Name;

Description

This is the name of this Shape .


SizeProtect [ O P T I O N A L ]

Syntax

boolean SizeProtect;

Description

With this set to true , this Shape may not be sized interactively in the user interface.


Style [ O P T I O N A L ]

Syntax

com::sun::star::style::XStyle Style;

Description

this property lets you get and set a style for this shape.


Transformation [ O P T I O N A L ]

Syntax

com::sun::star::drawing::HomogenMatrix3 Transformation;

Description

this property lets you get and set the transformation matrix for this shape. The transformation is a 3x3 homogen matrix and can contain translation, rotation, shearing and scaling.


ShapeUserDefinedAttributes [ O P T I O N A L ]

Syntax

com::sun::star::container::XNameContainer ShapeUserDefinedAttributes;

Description

this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.

See also

AttributeContainer
Top of Page