(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

struct GluePoint2
Description
This struct defines the attributes of a glue point.

A glue point is a position inside a drawing shape where an edge of a connector shape can be connected.


Elements' Summary
Position This is the position of this glue point. Depending on the flag IsRelative, this is either in 1/100cm or in 1/100%.  
IsRelative if this flag is set to true, the position of this glue point is given in 1/100% values instead of 1/100cm.  
PositionAlignment if this glue points position is not relative, this enum specifies the vertical and horizontal alignment of this point. The alignment specifies how the glue point is moved if the shape is resized.  
Escape this member specifies the escape direction for a glue point. The escape direction is the direction the connecting line escapes the shape.  
IsUserDefined if this flag is set to false, this is a default glue point. Some shapes may have default glue points attached to them which cannot be altered or removed.  
Elements' Details
Position
::com::sun::star::awt::Point Position;
Description
This is the position of this glue point. Depending on the flag IsRelative, this is either in 1/100cm or in 1/100%.
IsRelative
boolean IsRelative;
Description
if this flag is set to true, the position of this glue point is given in 1/100% values instead of 1/100cm.
PositionAlignment
Alignment PositionAlignment;
Description
if this glue points position is not relative, this enum specifies the vertical and horizontal alignment of this point. The alignment specifies how the glue point is moved if the shape is resized.
Escape
EscapeDirection Escape;
Description
this member specifies the escape direction for a glue point. The escape direction is the direction the connecting line escapes the shape.
IsUserDefined
boolean IsUserDefined;
Description
if this flag is set to false, this is a default glue point. Some shapes may have default glue points attached to them which cannot be altered or removed.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.