:: com :: sun :: star :: chart2 ::
|
unpublished |
struct RelativePosition |
|
|
|
- Usage Restrictions
- not published
- Description
- Determines a position of an object relative to a size defined by other means.
Values from 0 to 1 cover the entire reference rectangle. Values
may also be outside this range, especially negative.
|
Elements' Summary |
Primary |
The position in the primary direction.
The direction is defined by the object using this point.
|
Secondary |
The position in the secondary direction.
The direction is defined by the object using this point.
|
Anchor |
This indicates how the object is placed at the relative position.
|
Elements' Details |
Primary
double Primary;
- Description
- The position in the primary direction.
The direction is defined by the object using this point.
For example for western languages the primary direction may be
the horizontal distance measured from left to right.
The values are relative to a reference size (for example the page size).
Values between 0 and 1 span the complete bounding rectangle.
|
|
Secondary
double Secondary;
- Description
- The position in the secondary direction.
The direction is defined by the object using this point.
For example for western languages the secondary direction may be
the vertical distance measured from top to bottom.
The values are relative to a reference size (for example the page size).
Values between 0 and 1 span the complete bounding rectangle.
|
|
Anchor
::com::sun::star::drawing::Alignment Anchor;
- Description
- This indicates how the object is placed at the relative position.
The Anchor indicates which point of the placed object
will be placed at the coordinates given within Primary and Secondary.
For example if Anchor is TOP_LEFT the top left corner of an object will
be placed at the given coorediantes. If Anchor is RIGHT the right middle corner of the object will
be placed at the given coorediantes.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.