Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: 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 coordinates. If Anchor is RIGHT the right middle corner of the object will be placed at the given coordinates.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.