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

service Shape
Description
This abstract service specifies the general characteristics of all ::com::sun::star::drawing::Shape s.
See also
::com::sun::star::drawing::XShape
See also
::com::sun::star::lang::XComponent
See also
::com::sun::star::text::XText
See also
ShapeDescriptor
Developers Guide
9.3.2 Drawing Documents and Presentation Documents - Working with Drawing Documents - Shapes

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 ::com::sun::star::drawing::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 ::com::sun::star::drawing::Shape .
::com::sun::star::drawing::XShapeDescriptor
Description
The ::com::sun::star::drawing::XShapeDescriptor tells you what kind of ::com::sun::star::drawing::Shape this instance is.
::com::sun::star::drawing::XGluePointsSupplier
Usage Restrictions
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 .
::com::sun::star::beans::XTolerantMultiPropertySet
Usage Restrictions
optional
Properties' Summary
long
ZOrder
[ OPTIONAL ]
is used to query or change the ZOrder of this ::com::sun::star::drawing::Shape .  
short
LayerID
[ OPTIONAL ]
This is the ID of the ::com::sun::star::drawing::Layer to which this ::com::sun::star::drawing::Shape is attached.  
string
LayerName
[ OPTIONAL ]
This is the name of the ::com::sun::star::drawing::Layer to which this ::com::sun::star::drawing::Shape is attached.  
boolean
Printable
[ OPTIONAL ]
If this is false , the ::com::sun::star::drawing::Shape is not visible on printer outputs.  
boolean
MoveProtect
[ OPTIONAL ]
With this set to true , this ::com::sun::star::drawing::Shape cannot be moved interactively in the user interface.  
string
Name
[ OPTIONAL ]
This is the name of this ::com::sun::star::drawing::Shape .  
boolean
SizeProtect
[ OPTIONAL ]
With this set to true , this ::com::sun::star::drawing::Shape may not be sized interactively in the user interface.  
::com::sun::star::style::XStyle
Style
[ OPTIONAL ]
this property lets you get and set a style for this shape.  
::com::sun::star::drawing::HomogenMatrix3
Transformation
[ OPTIONAL ]
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.  
::com::sun::star::container::XNameContainer
ShapeUserDefinedAttributes
[ OPTIONAL ]
this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.  
Properties' Details
ZOrder
long ZOrder;
Usage Restrictions
optional
Description
is used to query or change the ZOrder of this ::com::sun::star::drawing::Shape .
LayerID
short LayerID;
Usage Restrictions
optional
Description
This is the ID of the ::com::sun::star::drawing::Layer to which this ::com::sun::star::drawing::Shape is attached.
LayerName
string LayerName;
Usage Restrictions
optional
Description
This is the name of the ::com::sun::star::drawing::Layer to which this ::com::sun::star::drawing::Shape is attached.
Printable
boolean Printable;
Usage Restrictions
optional
Description
If this is false , the ::com::sun::star::drawing::Shape is not visible on printer outputs.
MoveProtect
boolean MoveProtect;
Usage Restrictions
optional
Description
With this set to true , this ::com::sun::star::drawing::Shape cannot be moved interactively in the user interface.
Name
string Name;
Usage Restrictions
optional
Description
This is the name of this ::com::sun::star::drawing::Shape .
SizeProtect
boolean SizeProtect;
Usage Restrictions
optional
Description
With this set to true , this ::com::sun::star::drawing::Shape may not be sized interactively in the user interface.
Style
::com::sun::star::style::XStyle Style;
Usage Restrictions
optional
Description
this property lets you get and set a style for this shape.
Transformation
::com::sun::star::drawing::HomogenMatrix3 Transformation;
Usage Restrictions
optional
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
::com::sun::star::container::XNameContainer ShapeUserDefinedAttributes;
Usage Restrictions
optional
Description
this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.
See also
::com::sun::star::xml::AttributeContainer

 
Top of Page